HAL_ChibiOS: fixed configure of cube-red
This commit is contained in:
parent
357a57f68a
commit
bf6906819d
@ -2,7 +2,7 @@
|
||||
# for ProfiCNC/Hex CUBE RED hardware
|
||||
|
||||
# MCU class and specific type
|
||||
MCU STM32F7xx STM32F769xx
|
||||
MCU STM32F7xx STM32F767xx
|
||||
|
||||
# board ID for firmware load
|
||||
APJ_BOARD_ID 9
|
||||
@ -48,7 +48,7 @@ PA7 SPI1_MOSI SPI1
|
||||
|
||||
PA8 CAN3_RX CAN3
|
||||
PA9 VBUS INPUT OPENDRAIN
|
||||
PA10 IO-debug-console
|
||||
#PA10 IO-debug-console
|
||||
PA11 OTG_FS_DM OTG1
|
||||
PA12 OTG_FS_DP OTG1
|
||||
PA13 JTMS-SWDIO SWD
|
||||
@ -85,19 +85,19 @@ PC1 HW_REV_SENSE INPUT
|
||||
PC6 USART6_TX USART6
|
||||
PC7 USART6_RX USART6
|
||||
|
||||
PC8 SDIO_D0 SDIO
|
||||
PC9 SDIO_D1 SDIO
|
||||
PC10 SDIO_D2 SDIO
|
||||
PC11 SDIO_D3 SDIO
|
||||
PC12 SDIO_CK SDIO
|
||||
PC8 SDMMC_D0 SDMMC1
|
||||
PC9 SDMMC_D1 SDMMC1
|
||||
PC10 SDMMC_D2 SDMMC1
|
||||
PC11 SDMMC_D3 SDMMC1
|
||||
PC12 SDMMC_CK SDMMC1
|
||||
PD2 SDMMC_CMD SDMMC1
|
||||
|
||||
PC13 GYRO_EXT_CS CS
|
||||
PC14 32KHz_IN
|
||||
PC15 32KHz_OUT
|
||||
|
||||
|
||||
PD0 CAN1_RX CAN1
|
||||
PD1 CAN1_TX CAN1
|
||||
PD2 SDIO_CMD SDIO
|
||||
|
||||
# USART2 serial2 telem1
|
||||
PD3 USART2_CTS USART2
|
||||
PD4 USART2_RTS USART2
|
||||
@ -139,18 +139,18 @@ PE15 VDD_5V_PERIPH_OC INPUT
|
||||
#PF0
|
||||
#PF1
|
||||
PF2 ICM20649_CS CS
|
||||
PF3 FMU_AUX_POWER ADC1 SCALE(1)
|
||||
PF4 FMU_AUX_ADC2 ADC1 SCALE(1)
|
||||
PF5 PRESSURE_SENS ADC1 SCALE(1)
|
||||
#PF3 FMU_AUX_POWER ADC1 SCALE(1)
|
||||
#PF4 FMU_AUX_ADC2 ADC1 SCALE(1)
|
||||
#PF5 PRESSURE_SENS ADC1 SCALE(1)
|
||||
#PF6
|
||||
#PF7
|
||||
|
||||
#PF8
|
||||
#PF9
|
||||
PF10 SPI4_MS5611_CS CS
|
||||
PF11 SPI4_SPARE_CS CS
|
||||
PF10 MS5611_CS CS
|
||||
PF11 SPARE_CS CS
|
||||
#PF12
|
||||
PF13 VDD_5V_HIPOWER_OC
|
||||
PF13 VDD_5V_HIPOWER_OC INPUT
|
||||
#PF14
|
||||
#PF15
|
||||
|
||||
@ -163,10 +163,10 @@ PG4 VDD_5V_PERIPH_EN OUTPUT LOW
|
||||
#PG6
|
||||
#PG7
|
||||
|
||||
PG8 SPI6_CS CS
|
||||
#PG8 SPI6_CS CS
|
||||
#PG9
|
||||
#PG10
|
||||
PG11 SPI6_CS2 CS
|
||||
#PG11 SPI6_CS2 CS
|
||||
PG12 SPI6_MISO SPI6
|
||||
PG13 SPI6_SCK SPI6
|
||||
#PG14
|
||||
@ -182,7 +182,7 @@ PH3 HW_REV_DRIVE OUTPUT HIGH
|
||||
#PH7
|
||||
|
||||
#PH8
|
||||
PH9 ALARM
|
||||
PH9 ALARM OUTPUT
|
||||
#PH10
|
||||
#PH11
|
||||
#PH12
|
||||
@ -195,7 +195,7 @@ PH9 ALARM
|
||||
#PI2
|
||||
#PI3
|
||||
#PI4
|
||||
PI5 PPM_IN
|
||||
#PI5 PPM_IN
|
||||
#PI6
|
||||
#PI7
|
||||
|
||||
@ -210,20 +210,20 @@ PI5 PPM_IN
|
||||
# when moving to ChibiOS
|
||||
|
||||
#sensors on Main FMU board
|
||||
SPIDEV ms5611 SPI1 DEVID3 SPI1_MS5611_CS MODE3 20*MHZ 20*MHZ
|
||||
SPIDEV ICM20649 SPI1 DEVID ICM20649_CS MODE3 1*MHZ 8*MHZ
|
||||
SPIDEV ms5611 SPI1 DEVID3 MS5611_CS MODE3 20*MHZ 20*MHZ
|
||||
SPIDEV ICM20649 SPI1 DEVID2 ICM20649_CS MODE3 1*MHZ 8*MHZ
|
||||
|
||||
#Sensors on the isolated IMU Board
|
||||
SPIDEV ICM20602 SPI4 DEVID ICM20602_CS MODE3 1*MHZ 8*MHZ
|
||||
SPIDEV ms5611_ext SPI4 DEVID2 SPI4_MS5611_CS MODE3 20*MHZ 20*MHZ
|
||||
SPIDEV ICM20948 SPI4 DEVID ICM20948_CS MODE3 1*MHZ 8*MHZ
|
||||
#SPIDEV ICM20602 SPI4 DEVID1 ICM20602_CS MODE3 1*MHZ 8*MHZ
|
||||
SPIDEV ms5611_ext SPI4 DEVID2 MS5611_CS MODE3 20*MHZ 20*MHZ
|
||||
SPIDEV ICM20948 SPI4 DEVID3 ICM20948_CS MODE3 1*MHZ 8*MHZ
|
||||
|
||||
#FRAM
|
||||
SPIDEV ramtron SPI2 DEVID10 FRAM_CS MODE3 8*MHZ 8*MHZ
|
||||
|
||||
#Spare CS Pins for external SPI devices (SPI6)
|
||||
SPIDEV EXTERNAL_DEV1 SPI6 DEVID SPI6_CS MODE0 2*MHZ 2*MHZ
|
||||
SPIDEV EXTERNAL_DEV2 SPI6 DEVID SPI6_CS2 MODE1 2*MHZ 2*MHZ
|
||||
#SPIDEV EXTERNAL_DEV1 SPI6 DEVID1 SPI6_CS MODE0 2*MHZ 2*MHZ
|
||||
#SPIDEV EXTERNAL_DEV2 SPI6 DEVID2 SPI6_CS2 MODE1 2*MHZ 2*MHZ
|
||||
|
||||
define HAL_CHIBIOS_ARCH_CUBE_RED 1
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user