ardupilot/libraries/AP_HAL_ChibiOS/hwdef/f103-Trigger/hwdef.dat
Andrew Tridgell ea51aea2e5 hwdef: removed most CAN_APP_NODE_NAME defines
both bootloader and AP_Periph now default to
"org.ardupilot.BOARD_NAME". This makes it much easier to find the
right firmware for update
2023-09-06 11:21:51 +10:00

26 lines
513 B
Plaintext

# PWM input to Hardpoint output trigger firmware
include ../f103-periph/hwdef.inc
# setup build for a peripheral firmware
env AP_PERIPH 1
# PWM input to hardpoint out
define HAL_PERIPH_ENABLE_PWM_HARDPOINT
define HAL_PWM_HARDPOINT_ID_DEFAULT 101
# we need 10us resolution for PWM capture
undef CH_CFG_ST_FREQUENCY
define CH_CFG_ST_FREQUENCY 100000
# use USART1_RX as input for PWM trigger
undef PA10
PA10 PWM_TRIGGER INPUT PULLDOWN GPIO(77)
define PWM_HARDPOINT_PIN 77
# no I2C
undef I2C_ORDER
undef I2C1