Commit Graph

2589 Commits

Author SHA1 Message Date
Michal Lenc
34afef5cfb Documentation: add open_memstream test entry
Test tool for open_memstream() function added to documentation.

Signed-off-by: Michal Lenc <michallenc@seznam.cz>
2023-11-27 03:24:53 -08:00
Rodrigo Sim
89ddb2f709 stm32f401rc-rs485: Add sdcard support 2023-11-25 23:16:44 -08:00
Rodrigo Sim
01c5ec1622 Documentation: Fix errors on linum-stm32h753bi 2023-11-25 17:59:42 -08:00
Nathan Hartman
26e4dd5638 Documentation: Fix various typos 2023-11-23 16:38:19 -08:00
Nathan Hartman
9b77b2ba0b Documentation: Remove executable bit from reStructuredText file. 2023-11-23 16:37:28 -08:00
guotong ma
8d72edf72f fix f401rc flash size in documentation. 2023-11-23 08:15:06 -08:00
raiden00pl
014029c649 boards: add support for ODrive V3.6 board 2023-11-18 17:07:20 -08:00
raiden00pl
4bad6048f0 drivers/foc: add support for FOC power-stage driver
There are ICs available on the market that integrate various power inverter
features. The driver for such a device must be tightly coupled to a FOC device
as using it as a separate device doesn't make sense.
2023-11-18 17:07:20 -08:00
Jorge Guzman
ce654a6148 stm32h7/linum-stm32h753bi: Added documentation of linum-stm32h753bi board.
Signed-off-by: Jorge Guzman <jorge.gzm@gmail.com>
2023-11-17 17:46:33 -08:00
Michal Lenc
d7c53a6939 docs: add description about local CI tests
This page adds description how to run CI tests locally.

Signed-off-by: Michal Lenc <michallenc@seznam.cz>
2023-11-17 19:36:53 +01:00
Stuart Ianna
90cf37a179 Documentation: Fix sd_bench command help description.
The help prompt usage output for sd_bench was inconsistent with that of
the actual application. Amend this error.
2023-11-16 22:52:30 -08:00
raiden00pl
23de8cefb9 Documentation: update nRF91 doc 2023-11-16 20:32:41 -08:00
Eren Terzioglu
4033018a72 xtensa/esp32s3: Add XTWDT support 2023-11-14 19:42:33 -03:00
Masayuki Ishikawa
5f15c73219 Documentation, tools: Bump xpack-riscv-none-elf-gcc to 12.3.0-2
Summary:
- Upgraded to xpack-riscv-none-elf-gcc-12.3.0-2 to resolve symbol recognition
  issues in riscv-none-elf-gdb, as reported in
  https://github.com/xpack-dev-tools/riscv-none-elf-gcc-xpack/issues/22.

Impact:
- Expected to enhance toolchain stability with no negative side effects.

Testing:
- Verified with rv-virt:netnsh and rv-virt:netnsh64 configurations

Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2023-11-14 12:33:36 +01:00
Eren Terzioglu
d92a7011fd xtensa/esp32s3: Add RWDT support 2023-11-13 21:04:30 -03:00
Takumi Ando
4e89313913 Documentation: flipperzero: Fix typo
Signed-off-by: Takumi Ando <t-ando@advaly.co.jp>
2023-11-13 11:39:56 +01:00
raiden00pl
16691f29a9 Documentation: migrate "Bottom-Half Interrupt Handlers" from wiki
link: https://cwiki.apache.org/confluence/display/NUTTX/Bottom-Half+Interrupt+Handlers

Co-authored-by: hartmannathan <59230071+hartmannathan@users.noreply.github.com>
2023-11-08 15:54:54 +08:00
raiden00pl
56cb0450cc Documentation: fix warning 2023-11-08 15:54:54 +08:00
raiden00pl
c347343e09 Documentation: migrate "STM32 CCM Allocator" from wiki
link: https://cwiki.apache.org/confluence/display/NUTTX/STM32+CCM+Allocator

Co-authored-by: hartmannathan <59230071+hartmannathan@users.noreply.github.com>
2023-11-08 15:54:54 +08:00
raiden00pl
3e0d1e9b52 Documentation: migrate "STM32 Null Pointer Detection" from wiki
link: https://cwiki.apache.org/confluence/display/NUTTX/STM32+Null+Pointer+Detection

Co-authored-by: hartmannathan <59230071+hartmannathan@users.noreply.github.com>
2023-11-08 15:54:54 +08:00
Zhe Weng
6403965075 Documentation: Add netdev description with multiple IPv6 addresses
Signed-off-by: Zhe Weng <wengzhe@xiaomi.com>
2023-11-07 19:30:36 +08:00
raiden00pl
4d65d9908b Documentation: migrate "Auto-Mounter" from wiki
link: https://cwiki.apache.org/confluence/display/NUTTX/Auto-Mounter
2023-11-06 18:42:17 -03:00
raiden00pl
1c6e5cc0c4 Documentation: migrate "Work Queue Deadlocks" from wiki
link: https://cwiki.apache.org/confluence/display/NUTTX/Work+Queue+Deadlocks
2023-11-06 18:42:17 -03:00
raiden00pl
2d8c4e6645 Documentation: migrate "SLIP Configuration" from wiki
link: https://cwiki.apache.org/confluence/display/NUTTX/SLIP+Configuration
2023-11-06 18:42:17 -03:00
raiden00pl
8a8111c2fc Documentation: migrate "CONFIG_NET_GUARDSIZE" from wiki
link: https://cwiki.apache.org/confluence/display/NUTTX/CONFIG_NET_GUARDSIZE
2023-11-06 18:42:17 -03:00
raiden00pl
1f9e17f5c7 Documentation: add SystemView configuration instructions 2023-11-06 18:42:17 -03:00
raiden00pl
caef223268 Documentation: migrate "CNxConsole Keyboard Input" from wiki
link: https://cwiki.apache.org/confluence/display/NUTTX/CNxConsole+Keyboard+Input
2023-11-06 18:42:17 -03:00
raiden00pl
200f709092 Documentation: migrate "NxTerm Example" from wiki
link: https://cwiki.apache.org/confluence/display/NUTTX/NxTerm+Example
2023-11-06 18:42:17 -03:00
Michal Lenc
784aa526b1 documentation/contributing: remove copyright notice in file header
Copyright notice and author contact/information should not be included
in file header anymore. Only standard Apache 2.0 licensing information
should be used.

Signed-off-by: Michal Lenc <michallenc@seznam.cz>
2023-11-07 01:01:18 +08:00
raiden00pl
2214eecddc Documentation: migrate "Testing TCP/IP Network Stacks" from wiki
link: https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=139629530
2023-11-06 09:03:07 +08:00
raiden00pl
afa9e29272 Documentation: migrate "Effects of Disabling Interrupts or Pre-Emption on Response Latency" from wiki
link: https://cwiki.apache.org/confluence/display/NUTTX/Effects+of+Disabling+Interrupts+or+Pre-Emption+on+Response+Latency
2023-11-06 09:03:07 +08:00
raiden00pl
0b17238714 Documentation: migrate "Per-Thread Interrupt Controls" from wiki
link: https://cwiki.apache.org/confluence/display/NUTTX/Per-Thread+Interrupt+Controls
2023-11-06 09:03:07 +08:00
raiden00pl
fdc671fa3e Documentation: migrate "Critical Section Monitor" from wiki
links: https://cwiki.apache.org/confluence/display/NUTTX/Critical+Section+Monitor
2023-11-05 12:11:14 +08:00
raiden00pl
f96064db75 Documentation: migrate "SMP Critical Sections" from wiki
links: https://cwiki.apache.org/confluence/display/NUTTX/SMP+Critical+Sections
2023-11-05 12:11:14 +08:00
raiden00pl
20fd7f588f Documentation: CONFIG_USER_ENTRYPOINT was changed to CONFIG_INIT_ENTRYPOINT 2023-11-05 12:11:14 +08:00
raiden00pl
adc557f545 Documentation: migrate "apps/tools/mkromfsimg.sh" from wiki
link https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=139629538
2023-11-05 12:11:14 +08:00
raiden00pl
3b23a693ac Documentation: migrate "Linux Processes vs NuttX Tasks" from wiki
link: https://cwiki.apache.org/confluence/display/NUTTX/Linux+Processes+vs+NuttX+Tasks
2023-11-05 12:11:14 +08:00
raiden00pl
03b4ec60a5 Documentation: migrate "Running Applications from NSH" from wiki
link: https://cwiki.apache.org/confluence/display/NUTTX/Running+Applications+from+NSH
2023-11-05 12:11:14 +08:00
raiden00pl
de564d38e9 Documentation: migrate "Wide Font Support" from wiki
link: https://cwiki.apache.org/confluence/display/NUTTX/Wide+Font+Support
2023-11-05 12:11:14 +08:00
raiden00pl
63558cf72f Documentation: migrate "NuttX Graphics Subsystem (NX)" from wiki
link to wiki: https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=139629474
2023-11-05 12:11:14 +08:00
raiden00pl
bfd342b4eb Documentation: fix warning 2023-11-05 12:11:14 +08:00
raiden00pl
43be20d67e Documentation: fix warning
Documentation/legacy_README.md:675: WARNING: duplicate label introduction/resources:installation, other instance in Documentation/introduction/resources.rst
2023-10-30 20:29:54 +08:00
raiden00pl
649cd00c8b Documentation: review quickstart/install.rst 2023-10-30 20:29:54 +08:00
raiden00pl
afa2be4a1e Documentation: fix warning 2023-10-30 20:29:54 +08:00
raiden00pl
b7f94fbf22 Documentation: various cosmetic changes 2023-10-30 20:29:54 +08:00
raiden00pl
64be5c6958 Documentation: update organization.rst 2023-10-30 20:29:54 +08:00
raiden00pl
93f1d62f34 Documentation: fix warning
Documentation/legacy_README.md: WARNING: document isn't included in any toctree
2023-10-30 20:29:54 +08:00
raiden00pl
ce97fccf9a Documentation: split some long lines 2023-10-30 20:29:54 +08:00
raiden00pl
82bcc3f7d4 Documentation: fix warnings 2023-10-30 20:29:42 +08:00
raiden00pl
041308f950 Documentation: review applications/nsh 2023-10-30 20:29:42 +08:00
Rodrigo Sim
54a16e8f74 Documentation: add documentation for STM32F401RC-RS485 board 2023-10-29 20:50:00 -03:00
Alan Carvalho de Assis
468e9fcde5 Documentation: Fix typos
I used codespell to find typos in the documentation.

Signed-off-by: Alan C. Assis <acassis@gmail.com>
2023-10-29 10:35:51 +08:00
Filipe Cavalcanti
b7288c4db9 Gathering community recommendations
testing badges

Converted legacy readme from .md to .rst

Revert "Converted legacy readme from .md to .rst"

This reverts commit e33fef7a5aaa5dd377f87b90a667a2704b9fb834.
2023-10-28 13:55:56 +08:00
raiden00pl
f9d088590a Documentation: migrate boards/{z16|z80}/xxx/configs/README.txt 2023-10-28 13:55:22 +08:00
raiden00pl
8f7be6ce27 Documentation: move nxwidgets to applications as it is apps-side lib 2023-10-27 13:21:40 -03:00
raiden00pl
579a35dc68 Documentation: fix ugly formating around some inline literals 2023-10-27 13:21:40 -03:00
raiden00pl
770df6d820 Documentation: remove readme references 2023-10-27 13:21:40 -03:00
raiden00pl
d72c6802c1 Documentation: add dummy pages for missing filesystems and drivers 2023-10-27 13:21:40 -03:00
raiden00pl
870139e45f Documentation: move socketcan.rst to net/ 2023-10-27 13:21:40 -03:00
raiden00pl
8090fb9d5c Documentation: add dummy pages for missing top directories
crypto, openamp, video and wireless
2023-10-27 13:21:40 -03:00
raiden00pl
9c4f042c57 Documentation: add missing directories in net 2023-10-27 13:21:40 -03:00
raiden00pl
408441bf15 Documentation: initialize cmake doc 2023-10-27 13:21:40 -03:00
raiden00pl
a2bb55d8b7 Documentation: update copyright year 2023-10-27 13:21:40 -03:00
raiden00pl
82e260740a Documentation: cosmetics for unionfs.rst 2023-10-27 13:21:40 -03:00
raiden00pl
01500f8b20 Documentation: fix latexpdf build 2023-10-26 18:13:34 -03:00
raiden00pl
56529d2944 Documentation: migrate the rest boards
- migrated /README are removed from /boards

- there are a lot of READMEs that should be further converted to rst.
  At the moment they are moved to Documentation/platforms and included in rst files
2023-10-26 18:13:34 -03:00
raiden00pl
443e900188 Documentation: migrate the rest of drivers readmes 2023-10-26 20:02:03 +08:00
raiden00pl
d98ae9d3e4 Documentation: cosmetics changes
- various style fixes
- limit the line length to about 80 characters to improve readability in terminal-based IDEs
2023-10-26 20:01:21 +08:00
Stuart Ianna
fe468b276e Documentation: Add entry for sd_bench tool. 2023-10-26 09:00:29 +08:00
crafcat7
3d78859737 applications:Move the test tools in the system directory to the testing directory.
by pr#2161

The following four tools were moved:
1.memstress
2.ramtest
3.ramspeed
4.cachespeed

Signed-off-by: crafcat7 <crafcat7@outlook.com>
2023-10-26 00:09:28 +08:00
raiden00pl
afef047c6f Documentation: fix warning introduced by sd_stress
nuttx/Documentation/applications/testing/sd_stress/index.rst:1: WARNING: Title overline too short.
2023-10-26 00:08:54 +08:00
raiden00pl
9bef53bbdd Documentation: migrate /drivers 2023-10-26 00:08:54 +08:00
raiden00pl
8e40cfd1b6 Documentation: migrate /arch 2023-10-26 00:08:54 +08:00
raiden00pl
8a330ca0bc Documentation: migrate /tools 2023-10-26 00:08:54 +08:00
raiden00pl
64b924d18c Documentation: migrate /syscall 2023-10-26 00:08:54 +08:00
raiden00pl
00d14665d1 Documentation: migrate /mm 2023-10-26 00:08:54 +08:00
raiden00pl
ebcf8f0d16 Documentation: migrate /net 2023-10-26 00:08:54 +08:00
raiden00pl
61cdd105ef Documentation: migrate /libs 2023-10-26 00:08:54 +08:00
raiden00pl
6448135f65 Documentation: migrate /fs 2023-10-26 00:08:54 +08:00
raiden00pl
1822b1c37f Documentation: migrate /audio 2023-10-26 00:08:54 +08:00
Stuart Ianna
c19c943835 Documentation: Add entry for sd_stress tool. 2023-10-25 09:16:50 +08:00
raiden00pl
962d46186d Documentation/netutils: ignore header for TOC 2023-10-25 00:25:58 +08:00
raiden00pl
d1ebe6cd24 Documentation: add dummy apps descriptions
The apps description is empty for now but allows to generate nice tables of content with all nuttx-apps functionalities.
2023-10-25 00:25:58 +08:00
raiden00pl
6e9cd74e81 Documentaion: migrate tools/readme 2023-10-24 10:29:01 -03:00
raiden00pl
abdcc8d17c Documentation: unify applications/xxx/index.rst 2023-10-24 10:29:01 -03:00
raiden00pl
931096f3f6 Documentation: various cosmetic changes 2023-10-24 10:29:01 -03:00
raiden00pl
e229528d5a Documentation: fix warnings from games 2023-10-24 10:29:01 -03:00
raiden00pl
4520d8676a Documentaion: migrate wireless/readme 2023-10-24 10:29:01 -03:00
raiden00pl
a008eb8669 Documentaion: migrate examples/bastest/readme without test cases 2023-10-24 10:29:01 -03:00
raiden00pl
cffc74c664 Documentaion: migrate system/readme 2023-10-24 10:29:01 -03:00
raiden00pl
a9a1d719da Documentaion: migrate netutils/readme 2023-10-24 10:29:01 -03:00
raiden00pl
7e2a5f6f3f Documentaion: migrate modbus/readme 2023-10-24 10:29:01 -03:00
raiden00pl
0979fd0ab7 Documentaion: migrate interpreters/readme 2023-10-24 10:29:01 -03:00
raiden00pl
05b0b7c9f3 Documentaion: migrate graphics/readme 2023-10-24 10:29:01 -03:00
raiden00pl
454e3a210b Documentaion: migrate crypto/readme 2023-10-24 10:29:01 -03:00
raiden00pl
203f6cd4a9 Documentaion: migrate audioutils/readme 2023-10-24 10:29:01 -03:00
Michal Lenc
8f042f527e Documentation: add fmemopen test entry
Test tool for fmemopen() function added to documentation.

Signed-off-by: Michal Lenc <michallenc@seznam.cz>
2023-10-24 10:28:01 -03:00
raiden00pl
24bc270d82 Documentation/examples: format the first header as in other files 2023-10-24 13:56:34 +08:00
raiden00pl
731eaefba2 Documentation/examples: add missing titles 2023-10-24 13:56:34 +08:00
raiden00pl
a342d2a7ac Documentaion: migrate testing readmes 2023-10-24 13:56:34 +08:00
raiden00pl
3d7a395f52 Documentaion: migrate examples/mcuboot readme 2023-10-24 13:56:34 +08:00
raiden00pl
e8c135ba0c Documentaion: migrate fsutils/inifile readme 2023-10-24 13:56:34 +08:00
raiden00pl
c4b2c65078 Documentaion: migrate graphics/lvgl readme 2023-10-24 13:56:34 +08:00
Alan Carvalho de Assis
10e1540b53 games: Add documentation
This commit add support to Games documentation on NuttX.

Signed-off-by: Alan Carvalho de Assis <acassis@gmail.com>
2023-10-24 13:54:32 +08:00
raiden00pl
c87a967806 Documentation: format the NSH command list
command names will be more visible and look nicer
2023-10-23 14:53:59 +03:00
raiden00pl
bca2a7925c Documentation: migrate industry/abnt_codi readme 2023-10-23 19:52:53 +08:00
raiden00pl
af8548097f Documentation: migrate system/i2c readme 2023-10-23 19:52:53 +08:00
raiden00pl
ecbc8aa62c Documentation: migrate nimble readme 2023-10-23 19:52:53 +08:00
raiden00pl
e93eb76017 Documentation: list all supported libs tools and apps 2023-10-23 19:52:53 +08:00
raiden00pl
f84cb54515 Documentation: move nxdiag to applications/system 2023-10-23 19:52:53 +08:00
raiden00pl
f486c59f6f Documentation: move wapi to applications/wireless 2023-10-23 19:52:53 +08:00
raiden00pl
a03b41291b Documentation: migrate apps/logging doc 2023-10-23 19:52:53 +08:00
raiden00pl
61359f7fcc Documentation: migrate apps/boot doc 2023-10-23 19:52:53 +08:00
raiden00pl
131f4151b7 Documentation: reflects the structure of nuttx-apps 2023-10-23 19:52:53 +08:00
raiden00pl
88b7ce80a0 Documentation: add missing platforms to platforms/ and remove introduction/platforms 2023-10-22 19:06:44 +08:00
raiden00pl
52ec2326b3 Documentation: fix esp32-devkitc errors 2023-10-22 19:06:44 +08:00
raiden00pl
97fa781de7 Documentation: move a64 from arm to arm64 2023-10-22 19:06:44 +08:00
halyssonJr
48a878fd06 Adding initial support to board esp32-2432S028, is a board with SD Card, RGB LED, output for speak and display LCD
Signed-off-by: halyssonJr <halysson1007@gmail.com>
2023-10-22 00:57:36 +08:00
raiden00pl
3cccb0dd17 Documentation: migrate apps/example/README.md 2023-10-21 22:13:55 +08:00
raiden00pl
449c6028ba Documentation: fix nxdiag Usage header level 2023-10-21 22:13:55 +08:00
raiden00pl
ce84c5db55 Documentation: split long lines 2023-10-21 22:13:55 +08:00
Alan Carvalho de Assis
b95fd6a573 esp32: Add wifishare board config and documentation
Signed-off-by: Alan C. Assis <acassis@gmail.com>
2023-10-20 09:46:21 +08:00
Christian Catchpole
495253385f improve macOS install docs 2023-10-17 17:53:42 +08:00
Alin Jerpelea
643b9c1abf Documentation: add NuttX-12.3.0 release notes
Add release notes for 12.3.0 release

Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2023-10-06 23:12:03 +08:00
Tiago Medicci Serrano
57bf9d44d2 Documentation: Fix search path for defconfig include list
Add `*` to make it being understood as a list.
2023-10-05 19:18:05 -04:00
Tiago Medicci Serrano
997b3422a3 Documentation: Update the recommended toolchain for ESP32-C3/C6/H2
Currently, this toolchain is being used for NuttX CI testing and
provide features that weren't available in the old toolchain based
on GCC 10.2.
2023-10-05 19:18:05 -04:00
Alin Jerpelea
244293ce5f Documentation: update gcc download location
Update GCC 10.3 download link to match the curent location

Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2023-10-02 17:17:05 +08:00
Alin Jerpelea
4e93f93f30 Documentation: update gcc compiler to 10.3
Update the gcc compiler to 10.3-2021.10 to be able to compile the latest NuttX version

Fix for error:
arm-none-eabi-g++: error: unrecognized command line option '-std=gnu++20';
did you mean '-std=gnu++2a'?

Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2023-09-28 16:14:50 +08:00
Eren Terzioglu
ded321a515 xtensa/esp32s2: Add support to TWAI/CANBus controller 2023-09-28 09:35:08 +08:00
anjiahao
ae9d9054af zipfs:Add Documentation for zipfs
Signed-off-by: anjiahao <anjiahao@xiaomi.com>
2023-09-27 01:06:04 +08:00
Alin Jerpelea
e09aa5b7f9 Documentation: split the ReleaseNotes
Our releases contain links to github PR and lots of text so we
are splitting the release notes to individual files
This change should
- improve readability
- reduce the ReleaseNotes file for each release.

Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2023-09-26 20:41:00 +08:00
Alin Jerpelea
4137fb5fdf Documentation: move ReleaseNotes
Move the release notes under Documentation folder for future cleanup

Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2023-09-26 20:41:00 +08:00
raiden00pl
3f1417ef8d boards: add nrf9160-dk board support (nrf52840 chip) 2023-09-25 23:06:39 +08:00
raiden00pl
11a3484e86 boards: add initial support for thingy91 board (nrf9160 and nrf52840 chips) 2023-09-24 19:38:47 +08:00
raiden00pl
3ad3b66e11 boards/thingy52: use RTT console as default
External JLink is required to program the board, so the console via RTT
is available anyway. It is much more convenient to use than soldering the
P4 connector and working with an external UART converter.
2023-09-22 19:46:43 +08:00
raiden00pl
59cf80cf90 boards/nucleo-h745zi: access CM4 core NSH over uart rpmsg
Command on the CM7 core:

  nsh-cm7> cu -l /dev/ttyproxy
  NuttShell (NSH) NuttX-10.4.0
  nsh-cm4>
2023-09-22 19:46:26 +08:00
Michal Lenc
0a2c79034f documentation: add information about SAMv7 1 wire support
Signed-off-by: Michal Lenc <michallenc@seznam.cz>
2023-09-20 17:27:26 +08:00
raiden00pl
f2f9e6ad87 Documentation/stm32h7: add supported chips and a brief description of dual-core 2023-09-17 01:21:39 +08:00
simbit18
b1bbbfa084 Documentation/applications/nsh/commands.rst: Update date command
Updated the documentation for the date command.
add Example.
2023-09-15 22:43:26 +03:00
yinshengkai
a0cc455922 tools: add support for merge_config
Usage example:
./tools/merge_config.py -o defconfig .config1 .config2

Signed-off-by: yinshengkai <yinshengkai@xiaomi.com>
2023-09-14 14:33:30 +08:00
yinshengkai
d0ca0d422e tools: defconfig supports the include command
We support search directory structure as follows:
Current directory
stm32/configs/common
stm32/common/configs

Signed-off-by: yinshengkai <yinshengkai@xiaomi.com>
2023-09-14 14:33:30 +08:00
chao an
9f10ddc9b0 nuttx/build: Restore ARLOCK to improve compile speed in incremental case
To solve the issue of carrying object files from previous builds,
Matias changed the archiving process to re-archive libapps.a on every compilation,
if libapps.a carries more object files, incremental compilation will waste too
many time in re-archiving, compared with the previous implement, this is a degradation
of the build system.  Referring to mature engineering projects such as cmake, if there
is configuration or source file changed, the best solution should be to reconfigure
the environment.

Revert this PR to ensure the compilation speed during incremental compilation.

|  commit 34b34e2d45 (tag: nuttx-20200914-172150)
|  Author: Matias N <matias@protobits.dev>
|  Date:   Fri Sep 11 22:31:38 2020 -0300
|
|      Fix: ensure archive files do not carry object files from prior builds
|
|      In some cases, when NuttX configuration changes and this makes the
|      object list used to build one of the .a libraries change as well,
|      since the command used to build it is "ar crs" and this simply appends
|      the list of object files, the library could still include object
|      files from prior builds. This commit modifies the ARCHIVE macro to
|      erase the .a file if it already exists.
|
|      Since in some cases this behavior was actually expected (object
|      files from a subdirectory were appended to a library created one
|      level above) I added a ARCHIVE_ADD which works as ARCHIVE did.
|
|      This change should greatly improve behavior of building after
|      configuration changes.

Testing:

sim:nsh
-------------------------------
|   Patched    |  Current
-------------------------------
|$ time make   |  $ time make
|real 0m1.270s |  real 0m1.728s
|user 0m0.971s |  user 0m1.276s
|sys  0m0.363s |  sys  0m0.530s
-------------------------------

Private project (20+ 3rd library needs archive to libapps.a)
-------------------------------
|   Patched     |  Current
-------------------------------
|$ time make    |  $ time make
|real 0m21.181s |  real 0m39.721s
|user 0m14.638s |  user 0m24.837s
|sys  0m6.919s  |  sys  0m14.394s
-------------------------------

Signed-off-by: chao an <anchao@xiaomi.com>
2023-09-12 21:55:23 +08:00
dlstjq7685
74885b1d48 fix correct spell Cirectory -> directory 2023-09-12 21:54:54 +08:00
Tomáš Pilný
80ac78e782 Documentation/esp32: Describe RTM support
Added RMT to perihperal support overview
2023-09-12 17:44:42 +08:00
Tiago Medicci Serrano
1f1c793fd5 boards/esp32s3-devkit: Add board GPIO support
The board-level GPIO support is different from the already existing
button and LEDC support because it enable us to register the GPIO
pins as devices in `/dev/gpioX`. Some applications are able to use
this interface to read and write the GPIO pins.

Documentation was added regarding its usage. Please check
`Documentation/platforms/xtensa/esp32s3/boards/esp32s3-devkit/index.rst`
2023-09-12 16:22:15 +08:00
Andre Heinemans
329e050c30 Added NXP SE05x support (secure element) 2023-09-09 15:54:08 +08:00
Eren Terzioglu
cf395cf3fb xtensa/esp32: Add twai defconfigs to esp32 2023-09-07 16:59:44 -03:00
Eren Terzioglu
a26996fb3b xtensa/esp32s3: Add support to TWAI/CANBus controller 2023-09-08 01:49:43 +08:00
Tiago Medicci Serrano
6d724b5003 Documentation: Document I2S support on ESP32-S3-DevKitC-1 board
Add documentation about the I2S peripheral support on ESP32-S3. The
I2S/audio support is demonstrated on the ESP32-S3-DevKitC-1 board.
2023-09-05 13:33:05 +08:00
simbit18
d7359bf076 Documentation/quickstart/configuring.rst: Add credentials for NSH session
Add credentials on code blocks  Build & run
2023-09-03 19:03:54 -03:00