6 changed files with 41 additions and 26 deletions
-
4.settings/language.settings.xml
-
8README.md
-
2sdk
-
0usrc/board.h
-
24usrc/main.cpp
-
29usrc/project_configs.h
@ -1,2 +1,10 @@ |
|||
开发板资料 |
|||
http://47.111.11.73/docs/boards/stm32/zdyz_stm32f407_explorer.html |
|||
|
|||
|
|||
``` |
|||
注意事项: |
|||
1.注意将CAN/USB选择跳帽,接到CAN接口那一端(否则代码会卡死在CAN初始化处) |
|||
|
|||
|
|||
``` |
@ -1 +1 @@ |
|||
Subproject commit 4e20aacf97b379a8c1ca3b00b3b530ef8f941fc7 |
|||
Subproject commit 37c29b865e6b5d2002dd78cde735681d034ba3c4 |
@ -1,21 +1,20 @@ |
|||
#pragma once |
|||
|
|||
#define VERSION "v1.0.0" |
|||
#define MANUFACTURER "http://www.iflytop.com/" |
|||
#define PROJECT_NAME "zcancmder_debug_board" |
|||
#define DEBUG_UART huart1 |
|||
#define DEBUG_UART_DMA hdma_usart1_rx |
|||
#define DEBUG_LIGHT_GPIO PF9 |
|||
#define PC_VERSION "v1.0.0" |
|||
#define PC_MANUFACTURER "http://www.iflytop.com/" |
|||
#define PC_PROJECT_NAME "zcancmder_debug_board" |
|||
#define PC_IFLYTOP_ENABLE_OS 1 |
|||
|
|||
#define DELAY_US_TIMER htim6 // US延时定时器 |
|||
#define TIM_IRQ_SCHEDULER_TIMER htim7 // 中断定时器中断调度器 |
|||
#define IFLTYOP_ZTICKET_TIMER TIM11 // 系统ticket定时器 |
|||
#define PC_DEBUG_UART huart1 |
|||
#define PC_DEBUG_UART_DMA_HANDLER hdma_usart1_rx |
|||
#define PC_DEBUG_UART_RX_BUF_SIZE 1024 |
|||
#define PC_DEBUG_LIGHT_GPIO PF9 |
|||
|
|||
#define IFLYTOP_ENABLE_OS 1 |
|||
#define IFLYTOP_PREEMPTPRIORITY_DEFAULT 5 |
|||
#define PC_SYS_DELAY_US_TIMER htim6 // US延时定时器 |
|||
#define PC_SYS_ZTICKET_TIMER TIM11 // 系统ticket定时器 |
|||
#define PC_SYS_TIM_IRQ_SCHEDULER_TIMER htim7 // 中断定时器中断调度器 |
|||
|
|||
/****************************************FLASH***************************************/ |
|||
#define IFLYTOP_NVS_CONFIG_FLASH_SECTOR 9 |
|||
/*********************************************************************************/ |
|||
#define BOARD_ID 0 |
|||
#define PC_IRQ_PREEMPTPRIORITY_DEFAULT 5 |
|||
|
|||
#define PC_NVS_ENABLE 1 |
|||
#define PC_NVS_CONFIG_FLASH_SECTOR 8 |
Write
Preview
Loading…
Cancel
Save
Reference in new issue