You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by xi...@apache.org on 2023/09/20 09:26:41 UTC
[nuttx] branch master updated: Use standard arm-none-eabi toolchain by default.
This is an automated email from the ASF dual-hosted git repository.
xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git
The following commit(s) were added to refs/heads/master by this push:
new b47f240b5f Use standard arm-none-eabi toolchain by default.
b47f240b5f is described below
commit b47f240b5f53e60d0e1147a2bc69455e0719e5c7
Author: Philippe Leduc <ph...@wandercraft.eu>
AuthorDate: Tue Sep 19 17:37:43 2023 +0200
Use standard arm-none-eabi toolchain by default.
---
boards/arm/sam34/arduino-due/README.txt | 11 +++++++++--
boards/arm/sam34/arduino-due/configs/nsh/defconfig | 1 -
2 files changed, 9 insertions(+), 3 deletions(-)
diff --git a/boards/arm/sam34/arduino-due/README.txt b/boards/arm/sam34/arduino-due/README.txt
index 6d07cc46e3..ee44b81ccb 100644
--- a/boards/arm/sam34/arduino-due/README.txt
+++ b/boards/arm/sam34/arduino-due/README.txt
@@ -391,6 +391,9 @@ Loading Code
C:\Program Files (x86)\Arduino\arduino-1.5.2\hardware\tools\bossac.exe
+ On Debian like distribution, BOSSA can be install through repository:
+ sudo apt install bossa-cli
+
General Procedure
1) Erase the FLASH and put the Due in bootloader mode
@@ -480,6 +483,10 @@ Loading Code
Set boot flash true
CPU reset.
+ In Linux shell:
+
+ bossac -i --port=ttyACM0 -U false -e -w -v -b nuttx.bin -R
+
Other useful bossac operations.
a) Write code to FLASH don't change boot mode and don't reset. This lets
@@ -865,5 +872,5 @@ Configuration sub-directories
nsh-leds:
This configuration directory will build the NuttX Shell and enable the user
LEDS (/dev/userleds). It will also enable the LED example program (leds).
- Running the leds command will start up an LED daemon which will light up the
- L (user), TX, and RX LEDs in a binary sequence.
\ No newline at end of file
+ Running the leds command will start up an LED daemon which will light up the
+ L (user), TX, and RX LEDs in a binary sequence.
diff --git a/boards/arm/sam34/arduino-due/configs/nsh/defconfig b/boards/arm/sam34/arduino-due/configs/nsh/defconfig
index 8d83c64e9f..2431622b62 100644
--- a/boards/arm/sam34/arduino-due/configs/nsh/defconfig
+++ b/boards/arm/sam34/arduino-due/configs/nsh/defconfig
@@ -14,7 +14,6 @@ CONFIG_ARCH_CHIP_ATSAM3X8E=y
CONFIG_ARCH_CHIP_SAM34=y
CONFIG_ARCH_CHIP_SAM3X=y
CONFIG_ARCH_STACKDUMP=y
-CONFIG_ARM_TOOLCHAIN_BUILDROOT_OABI=y
CONFIG_BOARD_LOOPSPERMSEC=6965
CONFIG_BUILTIN=y
CONFIG_FS_PROCFS=y