HAL_ChibiOS: fixed build of f103-trigger fw

This commit is contained in:
Andrew Tridgell 2021-03-10 12:13:35 +11:00
parent e0a8baccfd
commit 8a8db85b9c
1 changed files with 3 additions and 1 deletions

View File

@ -2,6 +2,9 @@
include ../f103-periph/hwdef.dat include ../f103-periph/hwdef.dat
# setup build for a peripheral firmware
env AP_PERIPH 1
# use DNA # use DNA
define HAL_CAN_DEFAULT_NODE_ID 0 define HAL_CAN_DEFAULT_NODE_ID 0
@ -15,7 +18,6 @@ define HAL_PWM_HARDPOINT_ID_DEFAULT 101
# we need 10us resolution for PWM capture # we need 10us resolution for PWM capture
undef CH_CFG_ST_FREQUENCY undef CH_CFG_ST_FREQUENCY
define CH_CFG_ST_FREQUENCY 100000 define CH_CFG_ST_FREQUENCY 100000
define CH_CFG_ST_RESOLUTION 16
# use USART1_RX as input for PWM trigger # use USART1_RX as input for PWM trigger
undef PA10 undef PA10