Commit Graph

1101 Commits

Author SHA1 Message Date
Abdelatif Guettouche
15fb70cb00 libs/libxx: Download C++ libraries during context.
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-08-19 03:05:54 -07:00
YAMAMOTO Takashi
c073b36741 tools/esp32/backtrace.gdbscript: Add a few convenient functions 2021-08-16 11:01:13 +02:00
Abdelatif Guettouche
6b412c873b tools/esp32/Config.mk: Bring back the old behaviour where ESPTOOL_BINDIR
can be omitted from the command line when flashing.

Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-08-13 20:46:51 -03:00
Abdelatif Guettouche
11fe075e5e tools/esp32/Config.mk: Remove an unused option.
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-08-13 20:46:51 -03:00
Gustavo Henrique Nihei
1dfcc6ab49 xtensa/esp32: Enable boot from Espressif's port of MCUboot
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2021-08-13 08:44:20 -03:00
jsun
bb63afde1e Documentation/bl602: Update some imformation; Add partition.toml in tool/bl602 2021-07-27 21:01:15 -07:00
Masayuki Ishikawa
757c0cbf81 tools: Add armv7-a support to nuttx-gdbinit
Summary:
- This commit adds armv7-a support to nuttx-gdbinit

Impact:
- None

Testing:
- Tested sabre-6quad:smp with QEMU

Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2021-07-21 20:42:48 -07:00
Abdelatif Guettouche
e85b119363 arch/: Clean what was made during context in distclean.
Cleaning during `clean_context` had the issue of remaking everything
when `menuconfig` was issued.  That's because `menuconfig` has a
`clean_context` on its way.

Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-07-21 16:52:36 -03:00
Masayuki Ishikawa
8660572a3c tools: Fix nuttx-gdbinit
Summary:
- I noticed that nuttx-gdbinit does not work.
- Finally, I found that the g_pidhash had been changed recently.
- This commit fixes this issue.

Impact:
- None

Testing:
- Tested with lm3s6965-ek:discover (QEMU)

Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2021-07-21 03:49:35 -07:00
baggio63446333
383b2b7af2 tools/version.sh: Fix version number to get on master branch
Fix an issue that the nuttx version is not '10.1.0' but '10.1.0-RC1'
on the master branch. Add a pattern match of "nuttx-" to tags obtained
from git describe.
2021-07-19 08:40:23 -03:00
YAMAMOTO Takashi
0e76a16545 tools/esp32/backtrace.gdbscript: don't modify registers
* it wasn't intended.

* it doesn't always work:

    (gdb) source tools/esp32/backtrace.gdbscript
    (gdb) esp32_bt 0x40139706 0x80139811 0x3ffafd40
    Attempt to assign to an unmodifiable value.
    (gdb)
2021-06-28 01:11:34 -05:00
Gustavo Henrique Nihei
817d81d38f tools/ci: Revert workaround for issue with avr-binutils
avr-binutils homebrew recipe has been fixed upstream:
https://github.com/osx-cross/homebrew-avr/issues/243

This reverts commit 37e30ccc54.
2021-06-12 07:16:23 +09:00
Alexander Lunev
1bb23a7a33 boards: lm3s6965-ek: added config to run NuttX with enabled NXFLAT binary loader mode on QEMU;
Conditionally turn off -mpic-data-is-text-relative flag to access bss via the GOT
(https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=139630111).

This is related to issue #3737.
2021-06-09 12:03:35 -05:00
Gustavo Henrique Nihei
37e30ccc54 tools/ci: Workaround conflict with x86_64-elf-binutils after avr-gcc
version bump
2021-06-04 21:04:32 -07:00
Abdelatif Guettouche
2004acdeb1 boards/esp32s2: Remove anything that has to do with QEMU since it's not
supported.

Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-06-01 12:43:15 -05:00
Abdelatif Guettouche
9f4a5e67da docker/linux: Add ESP32-S2 toolchain and binaries.
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-06-01 09:08:52 -05:00
Abdelatif Guettouche
8347a56bc0 Improve and remove not necessary board configuration 2021-06-01 07:49:54 +02:00
Nakamura, Yuuichi
72d2fc547e tools/mksyscall: Fix build break of syscall instrumentation wrapper 2021-05-31 22:36:50 -05:00
Alin Jerpelea
cde107f96b tools: update licenses to Apache
Gregory Nutt is the copyright holder for those files and he has submitted the
SGA as a result we can migrate the licenses to Apache.

Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-05-27 08:07:25 +09:00
Xiang Xiao
b3e1d1c3df tools/ci: Remove sim01.dat and sim02.dat
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-05-16 21:03:22 -07:00
Xiang Xiao
09a0ed111c tools/ci: Rename sim0x.dat to sim-0x.dat to align with arm-xx.dat
To avoid the build break sim0x.dat will remove in the upcoming patch

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-05-16 10:39:16 -07:00
Gustavo Henrique Nihei
b5ee9b673c tools: Add a bash completion script for the configure tool 2021-05-15 08:37:39 -03:00
Xiang Xiao
2f65c3dd74 boards/sim: Remove the hardcode platorm config
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-05-13 10:44:16 -05:00
Matias N
4befbdfa4b docker: add ninja-build 2021-05-12 11:30:53 -07:00
Gustavo Henrique Nihei
f547883747 tools/nxstyle: Extend check to any URI scheme 2021-05-07 19:38:10 -07:00
Gustavo Henrique Nihei
886009f15f tools/nxstyle: Add _Atomic keyword to whitelisted words 2021-05-06 06:48:59 -07:00
Abdelatif Guettouche
1ea25a83fe tools/esp32/mk_qemu_img.sh: Group the offsets in variables. 2021-05-03 11:11:32 -03:00
Abdelatif Guettouche
f08aa47927 tools/esp32/mk_qemu_img.sh: Refactor the dd commands and suppress all the
status output.

Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-05-03 11:11:32 -03:00
Matias N
3fef111509 docker: add cmake 2021-04-22 14:31:17 -07:00
chao.an
692856a626 tools/nxstyle: rename exception _Unwind_Ptr to _Unwind to support fuzzy match
Signed-off-by: chao.an <anchao@xiaomi.com>
2021-04-19 04:45:04 -07:00
jturnsek
61b0e530b0 Default config without flexspi and mtd 2021-04-14 14:57:26 -07:00
Jukka Laitinen
8334843bad Make noreturn proxies and stubs actually not return
Signed-off-by: Jukka Laitinen <jukkax@ssrc.tii.ae>
2021-04-12 03:57:35 -05:00
Jukka Laitinen
82a75122b0 Revert "mksyscall: Suppress "'noreturn' function does return" warnings"
This reverts commit f01953d364.
2021-04-12 03:57:35 -05:00
Christian Clauss
15932fa9ea Lint Python code with flake8 and isort 2021-04-10 08:36:29 -07:00
raiden00pl
56abcb2b97 tools/ci/testlist/sim01.dat: ignore FOC example (CONFIG_SIM_M32=y) 2021-04-10 06:43:53 -05:00
Christian Clauss
55026e87af Undefined name: true --> True
% `flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics`
```
./incubator-nuttx/tools/flash_writer.py:360:46: F821 undefined name 'true'
                    print("#", end="", flush=true)
                                             ^
1     F821 undefined name 'true'
1
```
2021-04-09 08:05:02 -05:00
Alin Jerpelea
7c8c6785ca NuttX: NX Engineering, S.A: update licenses to Apache
NX Engineering, S.A has submitted the SGA and we can migrate the licenses
 to Apache.

Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-04-05 06:07:48 -05:00
Brennan Ashton
15b99d1f4b CI: Migrate ci tooling from testing repository to main os repo 2021-04-05 01:22:48 -05:00
Xiang Xiao
9097244cb8 build: Makefile should reference CONFIG_HOST_xxx
instead to detect the host through uname

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-04-04 23:20:35 -07:00
Brennan Ashton
dac6a8421b lint tools/lwl/ocdconsole.py 2021-04-04 23:29:27 -05:00
Brennan Ashton
3a97f0e5bd lint licensing 2021-04-04 23:29:27 -05:00
Brennan Ashton
6b4e7d0fe7 lint tools/parsecallstack.py 2021-04-04 23:29:27 -05:00
Brennan Ashton
38cb837838 lint tools/ide_exporter.py 2021-04-04 23:29:27 -05:00
Brennan Ashton
d71e0d75b1 Lint tools/flash_writer.py 2021-04-04 23:29:27 -05:00
Brennan Ashton
7386cc3665 Port tools/discover.py to py3 and lint 2021-04-04 23:29:27 -05:00
Brennan Ashton
d2f922dc4d xmlrpc_test.py port to py3 and format 2021-04-04 23:29:27 -05:00
Brennan Ashton
97676a3c06 Remove fork of python xmodem that is an active project 2021-04-04 23:29:27 -05:00
Xiang Xiao
33d5f923b6 tools/testbuild.sh: Quote the parameter expansion pattern by "
to enable the exact match(disable glob match)

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-04-03 20:38:45 -03:00
Alin Jerpelea
f878390c6d tools: nxstyle: add exception for X11 keysymdef
Add exception for XK_* Mixed Case defined by X11 keysymdef.h

Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-04-03 11:56:35 -05:00
Alin Jerpelea
c7c3683845 tools: nxstyle: add Mixed case exceptions for nfs
add exceptions for nfs to avoid future false warnings

Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-04-03 09:37:06 -05:00