You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by ag...@apache.org on 2020/03/23 18:24:45 UTC

[incubator-nuttx] branch pr612 updated (e1385b1 -> 3795009)

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

aguettouche pushed a change to branch pr612
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git.


    from e1385b1  tools/Config.mk: CATFILE clear the existing file
     new aec1b7d  Move CXD56_BINARY to boards/arm/cxd56xx/spresense/Kconfig
     new 3795009  esp32: Guard the binary generation with CONFIG_ESP32CORE_BINARY

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 Kconfig                                              | 7 -------
 boards/arm/cxd56xx/spresense/Kconfig                 | 7 +++++++
 boards/arm/cxd56xx/{ => spresense}/scripts/Config.mk | 2 +-
 boards/arm/cxd56xx/spresense/scripts/Make.defs       | 2 +-
 boards/xtensa/esp32/esp32-core/Kconfig               | 6 ++++++
 boards/xtensa/esp32/esp32-core/scripts/Config.mk     | 2 ++
 6 files changed, 17 insertions(+), 9 deletions(-)
 rename boards/arm/cxd56xx/{ => spresense}/scripts/Config.mk (97%)


[incubator-nuttx] 02/02: esp32: Guard the binary generation with CONFIG_ESP32CORE_BINARY

Posted by ag...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit 37950091d337817c5735f7092e9854dcc79bb321
Author: Xiang Xiao <xi...@xiaomi.com>
AuthorDate: Mon Mar 23 14:04:40 2020 +0800

    esp32: Guard the binary generation with CONFIG_ESP32CORE_BINARY
    
    Signed-off-by: Xiang Xiao <xi...@xiaomi.com>
---
 boards/xtensa/esp32/esp32-core/Kconfig           | 6 ++++++
 boards/xtensa/esp32/esp32-core/scripts/Config.mk | 2 ++
 2 files changed, 8 insertions(+)

diff --git a/boards/xtensa/esp32/esp32-core/Kconfig b/boards/xtensa/esp32/esp32-core/Kconfig
index 4b4a9ce..aaaa657 100644
--- a/boards/xtensa/esp32/esp32-core/Kconfig
+++ b/boards/xtensa/esp32/esp32-core/Kconfig
@@ -38,4 +38,10 @@ config ESP32CORE_RUN_IRAM
 		allows interoperability with the esp-idf system but makes you
 		reliant on the esp-idf design for these parts. Both are possible.
 
+config ESP32CORE_FLASH_IMAGE
+	bool "esp32 flash image"
+	default n
+	---help---
+		Create flash_image.bin mainly used for QEMU.
+
 endif # ARCH_BOARD_ESP32CORE
diff --git a/boards/xtensa/esp32/esp32-core/scripts/Config.mk b/boards/xtensa/esp32/esp32-core/scripts/Config.mk
index ee7710c..4e60251 100644
--- a/boards/xtensa/esp32/esp32-core/scripts/Config.mk
+++ b/boards/xtensa/esp32/esp32-core/scripts/Config.mk
@@ -24,6 +24,7 @@
 
 # POSTBUILD -- Perform post build operations
 
+ifeq ($(CONFIG_ESP32CORE_FLASH_IMAGE),y)
 define POSTBUILD
 	@echo "MKIMAGE: ESP32 binary"
         $(Q) if ! esptool.py version ; then \
@@ -47,3 +48,4 @@ define POSTBUILD
 		echo "Generated: flash_image.bin (it can be run with 'qemu-system-xtensa -nographic -machine esp32 -drive file=flash_image.bin,if=mtd,format=raw')"; \
 	fi
 endef
+endif


[incubator-nuttx] 01/02: Move CXD56_BINARY to boards/arm/cxd56xx/spresense/Kconfig

Posted by ag...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit aec1b7d6434e3d4a8c1e8ca51f28ae4f298d6ece
Author: Xiang Xiao <xi...@xiaomi.com>
AuthorDate: Mon Mar 23 14:10:09 2020 +0800

    Move CXD56_BINARY to boards/arm/cxd56xx/spresense/Kconfig
    
    Signed-off-by: Xiang Xiao <xi...@xiaomi.com>
---
 Kconfig                                              | 7 -------
 boards/arm/cxd56xx/spresense/Kconfig                 | 7 +++++++
 boards/arm/cxd56xx/{ => spresense}/scripts/Config.mk | 2 +-
 boards/arm/cxd56xx/spresense/scripts/Make.defs       | 2 +-
 4 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/Kconfig b/Kconfig
index 069d8ed..29cd711 100644
--- a/Kconfig
+++ b/Kconfig
@@ -279,13 +279,6 @@ endmenu # Build Setup
 
 menu "Binary Output Formats"
 
-config CXD56_BINARY
-	bool "spk binary format"
-	default n
-	---help---
-		Create nuttx.spk binary format used on spresense board and boards
-		based on cxd56xx arch.
-
 config INTELHEX_BINARY
 	bool "Intel HEX binary format"
 	default n
diff --git a/boards/arm/cxd56xx/spresense/Kconfig b/boards/arm/cxd56xx/spresense/Kconfig
index ed0fe31..2f4486a 100644
--- a/boards/arm/cxd56xx/spresense/Kconfig
+++ b/boards/arm/cxd56xx/spresense/Kconfig
@@ -125,4 +125,11 @@ endif # CXD56_LTE_SPI4
 
 endif # CXD56_LTE
 
+config CXD56_BINARY
+	bool "spk binary format"
+	default n
+	---help---
+		Create nuttx.spk binary format used on spresense board and boards
+		based on cxd56xx arch.
+
 endif
diff --git a/boards/arm/cxd56xx/scripts/Config.mk b/boards/arm/cxd56xx/spresense/scripts/Config.mk
similarity index 97%
rename from boards/arm/cxd56xx/scripts/Config.mk
rename to boards/arm/cxd56xx/spresense/scripts/Config.mk
index 5af6267..8c9bd3b 100644
--- a/boards/arm/cxd56xx/scripts/Config.mk
+++ b/boards/arm/cxd56xx/spresense/scripts/Config.mk
@@ -1,5 +1,5 @@
 ############################################################################
-# board/arm/cxd56xx/script/Config.mk
+# board/arm/cxd56xx/spresense/script/Config.mk
 #
 # Licensed to the Apache Software Foundation (ASF) under one or more
 # contributor license agreements.  See the NOTICE file distributed with
diff --git a/boards/arm/cxd56xx/spresense/scripts/Make.defs b/boards/arm/cxd56xx/spresense/scripts/Make.defs
index c7df6e0..f4e33ce 100644
--- a/boards/arm/cxd56xx/spresense/scripts/Make.defs
+++ b/boards/arm/cxd56xx/spresense/scripts/Make.defs
@@ -35,7 +35,7 @@
 
 include ${TOPDIR}/.config
 include ${TOPDIR}/tools/Config.mk
-include ${TOPDIR}/boards/arm/cxd56xx/scripts/Config.mk
+include ${TOPDIR}/boards/arm/cxd56xx/spresense/scripts/Config.mk
 include ${TOPDIR}/arch/arm/src/armv7-m/Toolchain.defs
 
 # Setup for the kind of memory that we are executing from