Posted by Anonymous on Sat 12 Dec 13:44 (modification of post by Anonymous view diff)
download | new post
- # hw definition file for processing by chibios_hwdef.py
- # for Pixracer bootloader
- # MCU class and specific type
- MCU STM32F4xx STM32F427xx
- # crystal frequency
- OSCILLATOR_HZ 24000000
- # board ID for firmware load
- APJ_BOARD_ID 1101
- FLASH_SIZE_KB 2048
- # ChibiOS system timer
- STM32_ST_USE_TIMER 5
- # setup build for a peripheral firmware
- # bootloader is installed at zero offset
- FLASH_RESERVE_START_KB 0
- # the location where the bootloader will put the firmware
- # we use first 32k
- FLASH_BOOTLOADER_LOAD_KB 32
- # order of UARTs (and USB)
- # make bl baudrate match debug baudrate for easier debugging
- define BOOTLOADER_BAUDRATE 57600
- # USART2 serial2 telem1
- PD3 USART2_CTS USART2
- PD4 USART2_RTS USART2
- PD5 USART2_TX USART2
- PD6 USART2_RX USART2
- # OTG1
- PA11 OTG_FS_DM OTG1
- PA12 OTG_FS_DP OTG1
- PA13 JTMS-SWDIO SWD
- PA14 JTCK-SWCLK SWD
- define HAL_STORAGE_SIZE 16384
- # Add CS pins to ensure they are high in bootloader
- PC2 MPU9250_CS CS
- PC15 20608_CS CS
- PD7 BARO_CS CS
- #PD10 FRAM_CS CS
- PE15 MAG_CS CS
- # the first CAN bus
- # reserve 256 bytes for comms between app and bootloader
- RAM_RESERVE_START 256
- # use DNA
- "org.ardupilot.Pixracer-periph"
- # make bl baudrate match debug baudrate for easier debugging
- define BOOTLOADER_BAUDRATE 57600
- # disable
- # avoid timer and RCIN threads to save memory
- # ChibiOS system timer
- STM32_ST_USE_TIMER 5
Submit a correction or amendment below (click here to make a fresh posting)
After submitting an amendment, you'll be able to view the differences between the old and new posts easily.