fix(pa01): not booting properly (#6707)

This commit is contained in:
richardclli
2025-10-24 11:44:15 +10:00
committed by GitHub
parent ee947f9852
commit aa646a1eae
4 changed files with 63 additions and 67 deletions
+2 -1
View File
@@ -132,7 +132,6 @@ set(BOARD_COMMON_SRC
# Bootloader board library
add_library(board_bl OBJECT EXCLUDE_FROM_ALL
${BOARD_COMMON_SRC}
${TARGET_SRC_DIR}/system_clock.c
${TARGET_SRC_DIR}/sdram_driver.cpp
${RADIO_SRC_DIR}/gui/colorlcd/boot_menu.cpp
targets/common/arm/stm32/stm32_qspi.cpp
@@ -141,6 +140,8 @@ add_library(board_bl OBJECT EXCLUDE_FROM_ALL
add_dependencies(board_bl minimal_board_lib)
set(BOOTLOADER_SRC ${BOOTLOADER_SRC} $<TARGET_OBJECTS:board_bl>)
set(CMSIS_SRC ${TARGET_SRC_DIR}/system_clock.c)
# Firmware board library
add_library(board OBJECT EXCLUDE_FROM_ALL
${BOARD_COMMON_SRC}
+7 -7
View File
@@ -49,8 +49,8 @@
#define KEYS_GPIO_PIN_PAGEUP
#define KEYS_GPIO_REG_PAGEDN
#define KEYS_GPIO_PIN_PAGEDN
#define KEYS_GPIO_REG_SYS
#define KEYS_GPIO_PIN_SYS
#define KEYS_GPIO_REG_MDL
#define KEYS_GPIO_PIN_MDL
#define KEYS_GPIO_REG_EXIT
#define KEYS_GPIO_PIN_EXIT
@@ -360,11 +360,11 @@
// LED Strip
#define LED_STRIP_LENGTH 14
#define BLING_LED_STRIP_START 0
#define BLING_LED_STRIP_LENGTH 10
#define CFS_LED_STRIP_START 10
#define CFS_LED_STRIP_LENGTH 4
#define CFS_LEDS_PER_SWITCH 1
#define BLING_LED_STRIP_START 10
#define BLING_LED_STRIP_LENGTH 4
#define CFS_LED_STRIP_START 0
#define CFS_LED_STRIP_LENGTH 8
#define CFS_LEDS_PER_SWITCH 2
#define LED_STRIP_GPIO GPIO_PIN(GPIOF, 06) // PF.06 / TIM16_CH1
#define LED_STRIP_GPIO_AF LL_GPIO_AF_1 // TIM1/2/16/17
#define LED_STRIP_TIMER TIM16