From 5bb272387a8f0a8d2cc66d641b61862a1aca47aa Mon Sep 17 00:00:00 2001 From: David Sidrane Date: Wed, 6 Nov 2019 13:13:43 -0800 Subject: [PATCH] thiemar:s2740vc-v1 BSP Updated to NuttX 8.1+ --- boards/thiemar/s2740vc-v1/nuttx-config/Kconfig | 6 ++++++ .../thiemar/s2740vc-v1/nuttx-config/drivers/Kconfig | 0 boards/thiemar/s2740vc-v1/nuttx-config/nsh/defconfig | 11 ++++++++++- 3 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 boards/thiemar/s2740vc-v1/nuttx-config/drivers/Kconfig diff --git a/boards/thiemar/s2740vc-v1/nuttx-config/Kconfig b/boards/thiemar/s2740vc-v1/nuttx-config/Kconfig index b29c11cb7c..5f7dc9cd85 100644 --- a/boards/thiemar/s2740vc-v1/nuttx-config/Kconfig +++ b/boards/thiemar/s2740vc-v1/nuttx-config/Kconfig @@ -6,3 +6,9 @@ if CONFIG_ARCH_BOARD_THIEMAR_S2740VC_V1 endif + +# 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 diff --git a/boards/thiemar/s2740vc-v1/nuttx-config/drivers/Kconfig b/boards/thiemar/s2740vc-v1/nuttx-config/drivers/Kconfig new file mode 100644 index 0000000000..e69de29bb2 diff --git a/boards/thiemar/s2740vc-v1/nuttx-config/nsh/defconfig b/boards/thiemar/s2740vc-v1/nuttx-config/nsh/defconfig index a99759a063..585c832ebd 100644 --- a/boards/thiemar/s2740vc-v1/nuttx-config/nsh/defconfig +++ b/boards/thiemar/s2740vc-v1/nuttx-config/nsh/defconfig @@ -1,10 +1,20 @@ +# +# This file is autogenerated: PLEASE DO NOT EDIT IT. +# +# You can use "make menuconfig" to make any modifications to the installed .config file. +# You can then do "make savedefconfig" to generate a new defconfig file that includes your +# modifications. +# # CONFIG_ARCH_FPU is not set # CONFIG_DEV_NULL is not set # CONFIG_DISABLE_OS_API is not set # CONFIG_DISABLE_PSEUDOFS_OPERATIONS 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="stm32" CONFIG_ARCH_CHIP_STM32=y CONFIG_ARCH_CHIP_STM32F302K8=y CONFIG_ARCH_INTERRUPTSTACK=1024 @@ -13,7 +23,6 @@ CONFIG_ARCH_STACKDUMP=y CONFIG_ARMV7M_MEMCPY=y CONFIG_ARMV7M_USEBASEPRI=y CONFIG_BOARDCTL_RESET=y -CONFIG_BOARD_INITIALIZE=y CONFIG_BOARD_LOOPSPERMSEC=5483 CONFIG_BUILTIN=y CONFIG_BUILTIN_PROXY_STACKSIZE=392