AP_HAL_ChibiOS: Update luminousbee5 hwdefs, Add new bootloaders
This modification allows to have imu 42605 and 42688 defined in the same hwdef
Tools: luminousbee5 add new bootloaders
AP_HAL_ChibiOS: luminousbee5 , change PC7 from FLOAT to PULLDOWN
AP_HAL_ChibiOS: luminousbee5 , change version 5.32/5.4
Tools: Update luminousbee5 hwdefs, Add new bootloaders
AP_HAL_ChibiOS: luminousbee5 hwdefs Rev 2 , luminousbee5 default.parm
Tools: Update luminousbee5 hwdefs, Add new bootloaders
This modification allows to have imu 42605 and 42688 defined in the same hwdef
Tools: luminousbee5 add new bootloaders
AP_HAL_ChibiOS: luminousbee5 , change PC7 from FLOAT to PULLDOWN
AP_HAL_ChibiOS: luminousbee5 , change version 5.32/5.4
Tools: Update luminousbee5 hwdefs, Add new bootloaders
AP_HAL_ChibiOS: luminousbee5 hwdefs Rev 2 , luminousbee5 default.parm
AP_HAL_ChibiOS: Removed BETA in comment
2023-05-24 09:03:44 -03:00
|
|
|
# LUMINOUS BEE 5.32/5.4
|
2021-10-17 20:25:55 -03:00
|
|
|
# hw definition file for processing by chibios_hwdef.py
|
AP_HAL_ChibiOS: Update luminousbee5 hwdefs, Add new bootloaders
This modification allows to have imu 42605 and 42688 defined in the same hwdef
Tools: luminousbee5 add new bootloaders
AP_HAL_ChibiOS: luminousbee5 , change PC7 from FLOAT to PULLDOWN
AP_HAL_ChibiOS: luminousbee5 , change version 5.32/5.4
Tools: Update luminousbee5 hwdefs, Add new bootloaders
AP_HAL_ChibiOS: luminousbee5 hwdefs Rev 2 , luminousbee5 default.parm
Tools: Update luminousbee5 hwdefs, Add new bootloaders
This modification allows to have imu 42605 and 42688 defined in the same hwdef
Tools: luminousbee5 add new bootloaders
AP_HAL_ChibiOS: luminousbee5 , change PC7 from FLOAT to PULLDOWN
AP_HAL_ChibiOS: luminousbee5 , change version 5.32/5.4
Tools: Update luminousbee5 hwdefs, Add new bootloaders
AP_HAL_ChibiOS: luminousbee5 hwdefs Rev 2 , luminousbee5 default.parm
AP_HAL_ChibiOS: Removed BETA in comment
2023-05-24 09:03:44 -03:00
|
|
|
#define new bootloader baudrate
|
|
|
|
|
|
|
|
define BOOTLOADER_BAUDRATE 921600
|
2021-10-17 20:25:55 -03:00
|
|
|
|
|
|
|
# MCU class and specific type
|
|
|
|
MCU STM32H7xx STM32H743xx
|
|
|
|
|
|
|
|
# board ID for firmware load
|
|
|
|
APJ_BOARD_ID 1029
|
|
|
|
|
|
|
|
# crystal frequency
|
|
|
|
OSCILLATOR_HZ 24000000
|
|
|
|
|
|
|
|
# flash size
|
|
|
|
FLASH_SIZE_KB 2048
|
|
|
|
|
|
|
|
# bootloader is installed at zero offset
|
|
|
|
FLASH_RESERVE_START_KB 0
|
|
|
|
|
|
|
|
# the location where the bootloader will put the firmware
|
|
|
|
# the H743 has 128k sectors
|
|
|
|
FLASH_BOOTLOADER_LOAD_KB 128
|
|
|
|
|
|
|
|
# only one I2C bus
|
|
|
|
I2C_ORDER I2C1
|
|
|
|
|
|
|
|
define HAL_I2C_INTERNAL_MASK 0
|
|
|
|
|
|
|
|
# order of UARTs (and USB) for bootloading
|
AP_HAL_ChibiOS: Update luminousbee5 hwdefs, Add new bootloaders
This modification allows to have imu 42605 and 42688 defined in the same hwdef
Tools: luminousbee5 add new bootloaders
AP_HAL_ChibiOS: luminousbee5 , change PC7 from FLOAT to PULLDOWN
AP_HAL_ChibiOS: luminousbee5 , change version 5.32/5.4
Tools: Update luminousbee5 hwdefs, Add new bootloaders
AP_HAL_ChibiOS: luminousbee5 hwdefs Rev 2 , luminousbee5 default.parm
Tools: Update luminousbee5 hwdefs, Add new bootloaders
This modification allows to have imu 42605 and 42688 defined in the same hwdef
Tools: luminousbee5 add new bootloaders
AP_HAL_ChibiOS: luminousbee5 , change PC7 from FLOAT to PULLDOWN
AP_HAL_ChibiOS: luminousbee5 , change version 5.32/5.4
Tools: Update luminousbee5 hwdefs, Add new bootloaders
AP_HAL_ChibiOS: luminousbee5 hwdefs Rev 2 , luminousbee5 default.parm
AP_HAL_ChibiOS: Removed BETA in comment
2023-05-24 09:03:44 -03:00
|
|
|
SERIAL_ORDER USART2 OTG1
|
|
|
|
|
|
|
|
# USART2 serial2 telem1
|
|
|
|
|
|
|
|
|
|
|
|
PD5 USART2_TX USART2
|
|
|
|
PD6 USART2_RX USART2
|
2021-10-17 20:25:55 -03:00
|
|
|
|
|
|
|
# UART7 is debug
|
|
|
|
PE7 UART7_RX UART7 NODMA
|
|
|
|
PE8 UART7_TX UART7 NODMA
|
|
|
|
|
|
|
|
# pins that USB is connected on.
|
|
|
|
PA11 OTG_FS_DM OTG1
|
|
|
|
PA12 OTG_FS_DP OTG1
|
|
|
|
|
|
|
|
# These are the pins for SWD debugging with a STlinkv2 or black-magic probe.
|
|
|
|
PA13 JTMS-SWDIO SWD
|
|
|
|
PA14 JTCK-SWCLK SWD
|
|
|
|
|
|
|
|
# CS lines
|
AP_HAL_ChibiOS: Update luminousbee5 hwdefs, Add new bootloaders
This modification allows to have imu 42605 and 42688 defined in the same hwdef
Tools: luminousbee5 add new bootloaders
AP_HAL_ChibiOS: luminousbee5 , change PC7 from FLOAT to PULLDOWN
AP_HAL_ChibiOS: luminousbee5 , change version 5.32/5.4
Tools: Update luminousbee5 hwdefs, Add new bootloaders
AP_HAL_ChibiOS: luminousbee5 hwdefs Rev 2 , luminousbee5 default.parm
Tools: Update luminousbee5 hwdefs, Add new bootloaders
This modification allows to have imu 42605 and 42688 defined in the same hwdef
Tools: luminousbee5 add new bootloaders
AP_HAL_ChibiOS: luminousbee5 , change PC7 from FLOAT to PULLDOWN
AP_HAL_ChibiOS: luminousbee5 , change version 5.32/5.4
Tools: Update luminousbee5 hwdefs, Add new bootloaders
AP_HAL_ChibiOS: luminousbee5 hwdefs Rev 2 , luminousbee5 default.parm
AP_HAL_ChibiOS: Removed BETA in comment
2023-05-24 09:03:44 -03:00
|
|
|
#PB4 UWB_CS CS
|
2021-10-17 20:25:55 -03:00
|
|
|
PC2 BMI088_ACCEL_CS CS
|
|
|
|
PC15 BMI088_GYRO_CS CS
|
|
|
|
PD7 BARO_CS CS
|
|
|
|
PE15 MAG_CS CS
|
|
|
|
|
|
|
|
PB11 LED_BOOTLOADER OUTPUT
|
AP_HAL_ChibiOS: Update luminousbee5 hwdefs, Add new bootloaders
This modification allows to have imu 42605 and 42688 defined in the same hwdef
Tools: luminousbee5 add new bootloaders
AP_HAL_ChibiOS: luminousbee5 , change PC7 from FLOAT to PULLDOWN
AP_HAL_ChibiOS: luminousbee5 , change version 5.32/5.4
Tools: Update luminousbee5 hwdefs, Add new bootloaders
AP_HAL_ChibiOS: luminousbee5 hwdefs Rev 2 , luminousbee5 default.parm
Tools: Update luminousbee5 hwdefs, Add new bootloaders
This modification allows to have imu 42605 and 42688 defined in the same hwdef
Tools: luminousbee5 add new bootloaders
AP_HAL_ChibiOS: luminousbee5 , change PC7 from FLOAT to PULLDOWN
AP_HAL_ChibiOS: luminousbee5 , change version 5.32/5.4
Tools: Update luminousbee5 hwdefs, Add new bootloaders
AP_HAL_ChibiOS: luminousbee5 hwdefs Rev 2 , luminousbee5 default.parm
AP_HAL_ChibiOS: Removed BETA in comment
2023-05-24 09:03:44 -03:00
|
|
|
define HAL_LED_ON 0
|