Skip to content

Commit

Permalink
AP_HAL_ChibiOS: added new board MFT-SEMA100
Browse files Browse the repository at this point in the history
hwdef: fixed issues causing problem to compile
  • Loading branch information
EternAlmox authored Apr 28, 2024
1 parent e59d123 commit 6bedd3a
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions libraries/AP_HAL_ChibiOS/hwdef/MFT-SEMA100/hwdef.dat
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ USB_STRING_PRODUCT "MFT-SEMA100"
FLASH_RESERVE_START_KB 128

# order of UARTs (and USB)
SERIAL_ORDER OTG1 USART1 USART3 UART5 UART7 UART8
SERIAL_ORDER OTG1 USART1 USART3 UART5 UART7 UART8 OTG2

# now we define the pins that USB is connected on
PA11 OTG_FS_DM OTG1
Expand Down Expand Up @@ -65,6 +65,11 @@ PE4 BMI088_G_CS CS

# I2C buses


#I2C1 is External
PB8 I2C1_SCL I2C1
PB7 I2C1_SDA I2C1

# I2C2 Both for onboard mag & External
PB10 I2C2_SCL I2C2
PB11 I2C2_SDA I2C2
Expand Down Expand Up @@ -212,7 +217,7 @@ define HAL_STORAGE_SIZE 32768
define HAL_OS_FATFS_IO 1

DMA_PRIORITY ADC* SPI4* TIM*UP*
DMA_NOSHARE SPI4* TIM*UP*
DMA_NOSHARE SPI1* SPI2* SPI4* TIM*UP*

define DEFAULT_NTF_LED_TYPES 743
define DEFAULT_SERIAL4_BAUD 38

0 comments on commit 6bedd3a

Please sign in to comment.