Commit Graph

2352 Commits

Author SHA1 Message Date
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
chao an
664927c86e mm/alloc: remove all unnecessary cast for alloc
Fix the minor style issue and remove unnecessary cast

Signed-off-by: chao an <anchao@xiaomi.com>
2023-08-30 14:34:20 +08:00
raiden00pl
c795e06e01 Documentation: various improvements for stm32xx documentation 2023-08-26 01:20:00 +08:00
simbit18
612b8320bb Documentation/quickstart/install.rst: update fix incorrect version
10.1.0 -> 12.2.1
2023-08-26 00:46:56 +08:00
raiden00pl
9117cf44e1 Documentation: migrate STM32F1 2023-08-25 00:11:05 +08:00
raiden00pl
00db279c00 Documentation: migrate STM32F4 2023-08-24 12:07:40 -03:00
raiden00pl
a4637613d8 Documentation: migrate STM32F7 2023-08-24 17:56:59 +08:00
raiden00pl
c3f8753ecd Documentation: migrate STM32L4 2023-08-24 17:56:39 +08:00
raiden00pl
32ddfe918d Documentation: migrate STM32L5 2023-08-23 23:39:25 +08:00
raiden00pl
635488b04a Documentation: migrate STM32U5 2023-08-23 23:38:56 +08:00
raiden00pl
87b028c227 Documentation: migrate STM32F3 2023-08-23 23:38:16 +08:00
raiden00pl
2b6f8ede4b Documentation: migrate STM32L1 2023-08-23 23:29:50 +08:00
raiden00pl
d3b727eec3 Documentation: migrate STM32F2 2023-08-23 23:29:08 +08:00
raiden00pl
fe874d1d5c Documentation: migrate STM32H7 2023-08-23 23:23:08 +08:00
raiden00pl
a630f9f210 Documentation: migrate STM32G4 2023-08-23 23:22:41 +08:00
raiden00pl
8a03b886dd Documentation: migrate STM32WB 2023-08-23 23:22:14 +08:00
raiden00pl
77716ee264 Documentation: migrate STM32L0 2023-08-23 23:21:54 +08:00
raiden00pl
44f288a37c Documentation: migrate STM32G0 2023-08-23 23:20:52 +08:00
raiden00pl
8da255309b Documentation: migrate STM32F0 2023-08-23 23:20:08 +08:00
raiden00pl
81118db95d Documenation: migrate XMC4 2023-08-23 12:12:14 +08:00
Tomáš Pilný
24adf144e1 Fixed doc build warning cause by chinese-coded full-width comma - changed to normal comma and space 2023-08-22 23:35:29 +08:00
Tomáš Pilný
3b6b4788c9 Added minidumpserver into index 2023-08-22 23:35:29 +08:00
Tomáš Pilný
4cfd5048b6 Fixed old bugs preventing doc build 2023-08-22 23:35:29 +08:00
Tomáš Pilný
9ce8d4eca2 Changed "based from" to "based on" in compiling.rst 2023-08-22 23:35:29 +08:00
Tomáš Pilný
d311bce3c4 Fixed mistakes in install.rst 2023-08-22 23:35:29 +08:00
Tomáš Pilný
e13d3220c2 Split commands for KConfig install + changed pip install to code-tab 2023-08-22 23:35:29 +08:00
Tomáš Pilný
c0c79f5ac5 Removed reference for non-existing document in nxdiag/index.rst 2023-08-22 23:35:29 +08:00
Tomáš Pilný
ac4c627848 Added Fedora to install.rst 2023-08-22 23:35:29 +08:00
anjiahao
6168bdf9e0 minidumpserver: Add usage documentation
Signed-off-by: anjiahao <anjiahao@xiaomi.com>
2023-08-21 18:27:05 +08:00
Tiago Medicci Serrano
6055b64802 Documentation: Fix command to load nuttx/tools/gdb/__init__.py
According to `Documentation/guides/gdbwithpython.rst` and GDB's
documentation, the `-ix` option "Execute commands from file `file`
before loading the inferior (but after loading gdbinit files)",
being the correct way of loading it to GDB.
2023-08-20 22:53:08 +08:00
Xiang Xiao
90f8315432 arch: Remove up_netinitialize
since this api change to xxx_netinitialize

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2023-08-20 14:33:17 +03:00
yinshengkai
1e164b7f75 note: add noteram crash dump
Dump all content when a crash occurs

Signed-off-by: yinshengkai <yinshengkai@xiaomi.com>
2023-08-19 21:48:56 +08:00
Lucas Saavedra Vaz
e02b203311 arch/xtensa/esp32s3: Update MCUboot build process
Change the MCUboot build process to, in the future, deprecate the esp-nuttx-bootloaders repository.
2023-08-18 14:44:11 +08:00
Lucas Saavedra Vaz
4bcc930535 arch/xtensa/esp32s2: Update MCUboot build process
Change the MCUboot build process to, in the future, deprecate the esp-nuttx-bootloaders repository.
2023-08-18 14:44:11 +08:00
Lucas Saavedra Vaz
60fdc9cb72 arch/xtensa/esp32: Update MCUboot build process
Change the MCUboot build process to, in the future, deprecate the esp-nuttx-bootloaders repository.
2023-08-18 14:44:11 +08:00
raiden00pl
67079154c7 Documentation: add Arduino Nano 33 BLE Sense and Arduino Nano 33 BLE Sense Rev2 2023-08-14 20:42:59 +08:00
yinshengkai
84799d15ac note: remove NOTERAM_GETTASKNAME
Signed-off-by: yinshengkai <yinshengkai@xiaomi.com>
2023-08-11 13:27:17 +08:00
Lee Lup Yuen
a59673b526 boards/risc-v: Add support for PINE64 Star64 JH7110 SBC
This PR adds support for PINE64 Star64 64-bit RISC-V SBC, based on StarFive JH7110 SoC. Most of the code is derived from NuttX for QEMU RISC-V (Kernel Mode). [The source files are explained in the articles here](https://github.com/lupyuen/nuttx-star64)

Modified Files:

boards/Kconfig: Added Star64 board

New Files in boards/risc-v/jh7110/star64:

src/jh7110_appinit.c: Startup Code

include/board.h: Star64 Definitions

include/board_memorymap.h: Memory Map

src/etc/init.d/rc.sysinit, rcS: Startup Script

src/.gitignore: Ignore the tmp filesystem

scripts/ld.script: Linker Script

scripts/Make.defs: Star64 Makefile

src/Makefile: Star64 Makefile

Kconfig: Star64 Config

configs/nsh/defconfig: NSH Build Config

Updated Documentation:

introduction/detailed_support.rst: Added StarFive JH7110 SoC and Star64 SBC

platforms/risc-v/jh7110/index.rst: New page for StarFive JH7110 SoC

platforms/risc-v/jh7110/boards/star64/index.rst: Building and booting NuttX for Star64
2023-08-07 01:08:35 -07:00