mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-06-01 11:06:04 +08:00
boards: CUAV Nora support cuav_neo_v2_pro and disable CONFIG_STM32H7_BDMA
This commit is contained in:
@@ -156,7 +156,6 @@ CONFIG_STDIO_BUFFER_SIZE=256
|
|||||||
CONFIG_STM32H7_ADC1=y
|
CONFIG_STM32H7_ADC1=y
|
||||||
CONFIG_STM32H7_BBSRAM=y
|
CONFIG_STM32H7_BBSRAM=y
|
||||||
CONFIG_STM32H7_BBSRAM_FILES=5
|
CONFIG_STM32H7_BBSRAM_FILES=5
|
||||||
CONFIG_STM32H7_BDMA=y
|
|
||||||
CONFIG_STM32H7_BKPSRAM=y
|
CONFIG_STM32H7_BKPSRAM=y
|
||||||
CONFIG_STM32H7_DMA1=y
|
CONFIG_STM32H7_DMA1=y
|
||||||
CONFIG_STM32H7_DMA2=y
|
CONFIG_STM32H7_DMA2=y
|
||||||
|
|||||||
@@ -129,7 +129,7 @@
|
|||||||
#define GPIO_nVDD_5V_PERIPH_OC /* PJ4 */ (GPIO_INPUT|GPIO_FLOAT|GPIO_PORTJ|GPIO_PIN4)
|
#define GPIO_nVDD_5V_PERIPH_OC /* PJ4 */ (GPIO_INPUT|GPIO_FLOAT|GPIO_PORTJ|GPIO_PIN4)
|
||||||
|
|
||||||
/* Power switch controls ******************************************************/
|
/* Power switch controls ******************************************************/
|
||||||
#define VDD_5V_PERIPH_EN(on_true) px4_arch_gpiowrite(GPIO_nVDD_5V_PERIPH_EN, !(on_true))
|
#define VDD_5V_PERIPH_EN(on_true) px4_arch_gpiowrite(GPIO_nVDD_5V_PERIPH_EN, (on_true))
|
||||||
#define VDD_5V_HIPOWER_EN(on_true) px4_arch_gpiowrite(GPIO_VDD_5V_HIPOWER_EN, (on_true))
|
#define VDD_5V_HIPOWER_EN(on_true) px4_arch_gpiowrite(GPIO_VDD_5V_HIPOWER_EN, (on_true))
|
||||||
#define VDD_3V3_SD_CARD_EN(on_true) px4_arch_gpiowrite(GPIO_VDD_3V3_SD_CARD_EN, (on_true))
|
#define VDD_3V3_SD_CARD_EN(on_true) px4_arch_gpiowrite(GPIO_VDD_3V3_SD_CARD_EN, (on_true))
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user