forked from Archive/PX4-Autopilot
px4/fmu-v5: update nuttx config
px4_fmuv5:Needed PROGMEM fmu-v5:Kconfig - add knob to ensure ARCH_MATH_H is kept Upstream changes added ARCH_HAVE_MATH_H to protect from archs without math.h from causing isses for users setting CONFIG_ARCH_MATH_H and getting errors. PX4 provides a math.h and we need CONFIG_ARCH_MATH_H set. So this Selects ARCH_HAVE_MATH_H perserving CONFIG_ARCH_MATH_H a defconfig
This commit is contained in:
parent
694ae56afe
commit
58799dc7d1
|
@ -15,3 +15,9 @@ config BOARD_USE_PROBES
|
|||
|
||||
---help---
|
||||
Select to use GPIO FMU-CH1-8, CAP1-3 to provide timing signals from selected drivers.
|
||||
|
||||
# Hack to ensure ARCH_MATH_H is kept
|
||||
config BOARD_HAVE_MATH_H
|
||||
bool "Provide ARCH math.h (selects ARCH_HAVE_MATH_H)"
|
||||
default y
|
||||
select ARCH_HAVE_MATH_H
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
|
|
@ -22,8 +22,11 @@
|
|||
# CONFIG_NSH_DISABLE_SEMICOLON is not set
|
||||
# CONFIG_NSH_DISABLE_TIME is not set
|
||||
CONFIG_ARCH="arm"
|
||||
CONFIG_ARCH_BOARD_CUSTOM=y
|
||||
CONFIG_ARCH_BOARD_CUSTOM_DIR="../nuttx-config"
|
||||
CONFIG_ARCH_BOARD_CUSTOM_DIR_RELPATH=y
|
||||
CONFIG_ARCH_BOARD_CUSTOM_NAME="px4"
|
||||
CONFIG_ARCH_CHIP="stm32f7"
|
||||
CONFIG_ARCH_CHIP_STM32F765II=y
|
||||
CONFIG_ARCH_CHIP_STM32F7=y
|
||||
CONFIG_ARCH_INTERRUPTSTACK=512
|
||||
|
@ -176,6 +179,7 @@ CONFIG_STM32F7_I2C4=y
|
|||
CONFIG_STM32F7_I2C_DYNTIMEO=y
|
||||
CONFIG_STM32F7_I2C_DYNTIMEO_STARTSTOP=10
|
||||
CONFIG_STM32F7_OTGFS=y
|
||||
CONFIG_STM32F7_PROGMEM=y
|
||||
CONFIG_STM32F7_PWR=y
|
||||
CONFIG_STM32F7_RTC=y
|
||||
CONFIG_STM32F7_RTC_HSECLOCK=y
|
||||
|
|
Loading…
Reference in New Issue