You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by ac...@apache.org on 2020/01/22 15:55:57 UTC

[incubator-nuttx] branch master updated: clicker2-stm32/mrf24j40-mac: enable SCHED_LPWORK config to fix build break

This is an automated email from the ASF dual-hosted git repository.

acassis pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git


The following commit(s) were added to refs/heads/master by this push:
     new ac1b59f  clicker2-stm32/mrf24j40-mac: enable SCHED_LPWORK config to fix build break
ac1b59f is described below

commit ac1b59fb015d5a9c31d4936836410d1a8f7ce17d
Author: liuhaitao <li...@xiaomi.com>
AuthorDate: Wed Jan 22 12:54:33 2020 -0300

    clicker2-stm32/mrf24j40-mac: enable SCHED_LPWORK config to fix build break
    
    Author: liuhaitao <li...@xiaomi.com>
    
        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 <li...@xiaomi.com>
---
 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 63cc7e5..3036ec3 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 4ae1350..1c74b2c 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 4cebef0..b6a0af6 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 1a27b78..fe8b751 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 19fa855..0a3ac24 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