From ac1b59fb015d5a9c31d4936836410d1a8f7ce17d Mon Sep 17 00:00:00 2001 From: liuhaitao Date: Wed, 22 Jan 2020 12:54:33 -0300 Subject: [PATCH] clicker2-stm32/mrf24j40-mac: enable SCHED_LPWORK config to fix build break Author: liuhaitao clicker2-stm32/mrf24j40-mac: enable SCHED_LPWORK config to fix build break ieee802154/mac802154_internal.h:75:4: error: #error Both Low and High priority work queues are required for this driver 75 | # error Both Low and High priority work queues are required for this driver | ^~~~~ ERROR: arm-none-eabi-gcc failed: 1 nucleo-f303re/nxlines: enable NXSTART_EXTERNINIT config to fix build break arm-none-eabi-ld: /var/lib/jenkins/workspace/NuttX-Nightly-Build/nuttx/staging/libgraphics.a(nxmu_start.o): in function `nx_server': nxmu_start.c:(.text+0x2): undefined reference to `board_lcd_initialize' arm-none-eabi-ld: nxmu_start.c:(.text+0xc): undefined reference to `board_lcd_getdev' make[1]: *** [nuttx] Error 1 Disable cxx new long to fix build break for some sam34 boards configs Build fail log as below: CXX: libxx_new.cxx libxx_new.cxx:66:7: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter [-fpermissive] 66 | void *operator new(unsigned long nbytes) | ^~~~~~~~ Makefile:102: recipe for target 'libxx_new.o' failed Signed-off-by: liuhaitao --- boards/arm/sam34/arduino-due/configs/nsh/defconfig | 1 - boards/arm/sam34/sam4l-xplained/configs/nsh/defconfig | 1 - boards/arm/sam34/sam4s-xplained/configs/nsh/defconfig | 1 - boards/arm/stm32/clicker2-stm32/configs/mrf24j40-mac/defconfig | 1 + boards/arm/stm32/nucleo-f303re/configs/nxlines/defconfig | 1 + 5 files changed, 2 insertions(+), 3 deletions(-) diff --git a/boards/arm/sam34/arduino-due/configs/nsh/defconfig b/boards/arm/sam34/arduino-due/configs/nsh/defconfig index 63cc7e5703..3036ec3bdf 100644 --- a/boards/arm/sam34/arduino-due/configs/nsh/defconfig +++ b/boards/arm/sam34/arduino-due/configs/nsh/defconfig @@ -18,7 +18,6 @@ CONFIG_ARMV7M_OABI_TOOLCHAIN=y CONFIG_ARMV7M_TOOLCHAIN_BUILDROOT=y CONFIG_BOARD_LOOPSPERMSEC=6965 CONFIG_BUILTIN=y -CONFIG_CXX_NEWLONG=y CONFIG_FS_PROCFS=y CONFIG_HAVE_CXX=y CONFIG_HAVE_CXXINITIALIZE=y diff --git a/boards/arm/sam34/sam4l-xplained/configs/nsh/defconfig b/boards/arm/sam34/sam4l-xplained/configs/nsh/defconfig index 4ae135083e..1c74b2c3a1 100644 --- a/boards/arm/sam34/sam4l-xplained/configs/nsh/defconfig +++ b/boards/arm/sam34/sam4l-xplained/configs/nsh/defconfig @@ -20,7 +20,6 @@ CONFIG_ARMV7M_OABI_TOOLCHAIN=y CONFIG_ARMV7M_TOOLCHAIN_BUILDROOT=y CONFIG_BOARD_LOOPSPERMSEC=3410 CONFIG_BUILTIN=y -CONFIG_CXX_NEWLONG=y CONFIG_DISABLE_ENVIRON=y CONFIG_HAVE_CXX=y CONFIG_HAVE_CXXINITIALIZE=y diff --git a/boards/arm/sam34/sam4s-xplained/configs/nsh/defconfig b/boards/arm/sam34/sam4s-xplained/configs/nsh/defconfig index 4cebef0ce1..b6a0af6939 100644 --- a/boards/arm/sam34/sam4s-xplained/configs/nsh/defconfig +++ b/boards/arm/sam34/sam4s-xplained/configs/nsh/defconfig @@ -21,7 +21,6 @@ CONFIG_ARMV7M_OABI_TOOLCHAIN=y CONFIG_ARMV7M_TOOLCHAIN_BUILDROOT=y CONFIG_BOARD_LOOPSPERMSEC=9186 CONFIG_BUILTIN=y -CONFIG_CXX_NEWLONG=y CONFIG_DISABLE_ENVIRON=y CONFIG_DISABLE_MOUNTPOINT=y CONFIG_HAVE_CXX=y diff --git a/boards/arm/stm32/clicker2-stm32/configs/mrf24j40-mac/defconfig b/boards/arm/stm32/clicker2-stm32/configs/mrf24j40-mac/defconfig index 1a27b7805a..fe8b75106b 100644 --- a/boards/arm/stm32/clicker2-stm32/configs/mrf24j40-mac/defconfig +++ b/boards/arm/stm32/clicker2-stm32/configs/mrf24j40-mac/defconfig @@ -55,6 +55,7 @@ CONFIG_RAW_BINARY=y CONFIG_RR_INTERVAL=200 CONFIG_SCHED_HPWORK=y CONFIG_SCHED_HPWORKPRIORITY=192 +CONFIG_SCHED_LPWORK=y CONFIG_SCHED_WAITPID=y CONFIG_SDCLONE_DISABLE=y CONFIG_START_YEAR=2013 diff --git a/boards/arm/stm32/nucleo-f303re/configs/nxlines/defconfig b/boards/arm/stm32/nucleo-f303re/configs/nxlines/defconfig index 19fa855ee6..0a3ac24307 100644 --- a/boards/arm/stm32/nucleo-f303re/configs/nxlines/defconfig +++ b/boards/arm/stm32/nucleo-f303re/configs/nxlines/defconfig @@ -33,6 +33,7 @@ CONFIG_NFILE_DESCRIPTORS=8 CONFIG_NFILE_STREAMS=8 CONFIG_NX=y CONFIG_NXFONT_MONO5X8=y +CONFIG_NXSTART_EXTERNINIT=y CONFIG_NX_BLOCKING=y CONFIG_PREALLOC_MQ_MSGS=4 CONFIG_PREALLOC_TIMERS=4