simbit18
aaef87e5b6
Fix Kconfig style
...
Remove spaces from Kconfig files
Add TABs
2025-01-07 21:39:50 +08:00
Yanfeng Liu
ae26129e6e
stm32ldiscovery/chrono: add CONFIG_SLCD
...
This is to unblock CI check,
https://github.com/apache/nuttx/actions/runs/12628628318/job/35185115826
following suggestion per:
https://github.com/apache/nuttx/pull/15423#pullrequestreview-2530760373
Signed-off-by: Yanfeng Liu <p-liuyanfeng9@xiaomi.com>
2025-01-06 22:11:54 +08:00
Yanfeng Liu
5f1a2696b3
board/qemu-armv7a: add board_power_off
...
This allows to power off qemu-armv7a target via NSH `quit` command.
Signed-off-by: Yanfeng Liu <p-liuyanfeng9@xiaomi.com>
2025-01-06 22:11:54 +08:00
Tiago Medicci Serrano
7c24ef438e
risc-v/qemu-rv: Initialize the userleds without late initialization
...
If CONFIG_BOARD_LATE_INITIALIZE is not selected, the userleds will
not be initialized. The userled initialization is not required to
be done within board_late_initialize(), thus this commit enables
initializing it in board_app_initialize() too.
2025-01-04 01:30:41 +08:00
wangmingrong1
66e074ed97
gcov: add reboot gcov storage coverage info
...
Signed-off-by: wangmingrong1 <wangmingrong1@xiaomi.com>
2025-01-03 21:15:04 +08:00
wangjianyu3
6020cdb816
esp32s3-devkit/adb: ADB shell service depends on SCHED_CHILD_STATUS
...
Log
$ adb -s 1234 shell
error: closed
# BULK out
0000 4f 50 45 4e cb 71 06 00 00 00 00 00 07 00 00 00 OPEN.q..........
0010 52 02 00 00 b0 af ba b1 R.......
# BULK out
0000 73 68 65 6c 6c 3a 00 shell:.
# BULK in
0000 43 4c 53 45 00 00 00 00 cb 71 06 00 00 00 00 00 CLSE.....q......
0010 00 00 00 00 bc b3 ac ba ........
Signed-off-by: wangjianyu3 <wangjianyu3@xiaomi.com>
2025-01-03 21:12:20 +08:00
Bowen Wang
6485093277
rpproxy_virtio/rpserver_virtio: fix the compile error
...
Build Documentation / build-html (push) Has been cancelled
1. Change the CONFIG_RPMSG_VIRTIO to CONFIG_RPMSG_VIRTIO_LITE
2. fix the error when modify the sim_rpmsg_virtio to port to
rpsmg_virtio_lite;
Signed-off-by: Bowen Wang <wangbowen6@xiaomi.com>
2024-12-31 18:01:47 +08:00
cd92e2d6e7
boards/risc-v, xtensa: Remove CONFIG_DEV_ZERO
...
CONFIG_DEV_ZERO is no longer needed in some defconfig files due to
- https://github.com/apache/nuttx/pull/15223
This PR removes CONFIG_DEV_ZERO from the affected defconfig files:
```bash
make distclean ; tools/refresh.sh --silent canmv230:knsh
make distclean ; tools/refresh.sh --silent canmv230:master
make distclean ; tools/refresh.sh --silent canmv230:nsbi
...
```
The failed builds above were extracted from [nuttx-prometheus-to-mastodon.json](https://lupyuen.org/articles/mastodon.html#appendix-post-nuttx-builds-to-mastodon )
2024-12-31 04:01:32 -03:00
mazhuang
60683d7495
nuttx/boards/XXX/defconfig:DEV_ZERO is not set
...
Signed-off-by: mazhuang <mazhuang@xiaomi.com>
2024-12-30 22:22:29 +08:00
Bowen Wang
f0a3c43a54
rpmsg/rpmsg_virtio_lite: rename rpmsg_virtio to rpmsg_virtio_lite
...
Because rpmsg_virtio_lite is a better name to inform user that the
rpmsg virtio (original name) is a lite implementation of rpmsg virtio.
Signed-off-by: Bowen Wang <wangbowen6@xiaomi.com>
2024-12-28 22:43:20 -03:00
Jorge Guzman
d4acd6949f
stm32h7/linum-stm32h753bi: fix fdcan configuration
...
Signed-off-by: Jorge Guzman <jorge.gzm@gmail.com>
2024-12-27 00:14:39 +08:00
wangjianyu3
9899acf20b
sim:thermal: Enable command line history
...
Make it easier to debug.
e.g. execute some commands frequently, like:
cat /proc/thermal/cpu-thermal
Signed-off-by: wangjianyu3 <wangjianyu3@xiaomi.com>
2024-12-26 09:23:10 +08:00
wangjianyu3
77630ea6d9
sim:thermal: The thermal core depends on LPWORK
...
Signed-off-by: wangjianyu3 <wangjianyu3@xiaomi.com>
2024-12-26 09:23:10 +08:00
wangjianyu3
3ea7796ef2
sim:thermal: The sim:thermal
is based on sim:nsh
...
Coverting to including sim:nsh.
Signed-off-by: wangjianyu3 <wangjianyu3@xiaomi.com>
2024-12-26 09:23:10 +08:00
YAMAMOTO Takashi
c0c04cf6ba
bump littlefs to 2.10.1 where 2.10.0 was used
...
2.10.1 contains a fix for a long-standing wrong-data issue.
https://github.com/littlefs-project/littlefs/pull/1058
2024-12-25 03:40:43 -03:00
Laczen JMS
57bdeb86d4
boards: add nimble defconfig to esp32c3-generic
...
Add a configuration for ble using nimble on esp32c3-generic
Signed-off-by: Laczen JMS <laczenjms@gmail.com>
2024-12-25 11:09:38 +08:00
Henry Rovner
923dc37a3b
risc-v/bl808: Add I2C driver
...
This change implements a driver with support for all four I2C blocks on the BL808.
2024-12-25 11:03:26 +08:00
41c0fc01b9
risc-v/rv-virt: Remove SCANFTEST from rv-virt:citest
...
`CONFIG_TESTING_SCANFTEST` is no longer needed in `rv-virt:citest` defconfig because of https://github.com/apache/nuttx-apps/pull/2914
This PR excludes `CONFIG_TESTING_SCANFTEST` from `rv-virt:citest` so that CI Job `risc-v-05` will complete successfully.
2024-12-25 02:32:33 +08:00
Filipe Cavalcanti
293a87a5e1
boards/xtensa/esp32s3: increase stack size of buttons defconfig
Build Documentation / build-html (push) Has been cancelled
2024-12-24 10:49:39 +08:00
Filipe Cavalcanti
acd0031362
boards/xtensa/esp32s3: set 16MB flash on qemu_debug defconfig
2024-12-24 10:49:39 +08:00
Jorge Guzman
4d7be17d40
stm32h7/linum-stm32h753bi: add tone support
...
Signed-off-by: Jorge Guzman <jorge.gzm@gmail.com>
2024-12-23 22:45:01 +08:00
hujun5
46c2d46a6b
use small lock in:
...
arch/arm/src/imxrt/imxrt_wdog.c
arch/arm/src/kinetis/kinetis_edma.c
arch/arm/src/lc823450/lc823450_dvfs2.c
arch/arm/src/lc823450/lc823450_timer.c
arch/arm/src/lpc54xx/lpc54_lowputc.c
Signed-off-by: hujun5 <hujun5@xiaomi.com>
2024-12-23 15:01:08 +08:00
hujun5
8411a97b85
use small lock in following files
...
arch/xtensa/src/esp32s3/esp32s3_rtc_lowerhalf.c
arch/z16/src/z16f/z16f_serial.c
arch/z80/src/z8/z8_serial.c
boards/arm/max326xx/max32660-evsys/src/max326_button.c
boards/arm/stm32/stm32f4discovery/src/stm32_gs2200m.c
drivers/i2c/i2c_bitbang.c
drivers/power/supply/act8945a.c
drivers/serial/uart_pci_16550.c
drivers/serial/uart_pl011.c
drivers/wireless/bluetooth/bt_uart_shim.c
Signed-off-by: hujun5 <hujun5@xiaomi.com>
2024-12-22 18:43:26 +08:00
Jorge Guzman
e55966d3dc
arm/stm32h753bi: Add support to lvgl
...
Signed-off-by: Jorge Guzman <jorge.gzm@gmail.com>
2024-12-22 05:44:14 -03:00
Tiago Medicci Serrano
7548db1980
arch/xtensa: Support __thread
and thread_local
keywords
...
Enable architecture-specific support for those keywords. This is a
"gcc-based" thread local storage implementation.
2024-12-21 20:49:07 +08:00
hujun5
48c439190d
fix compile erorr
...
chip/stm32_gpio.c:44:11: note: '#pragma message: CONFIG_STM32_USE_LEGACY_PINMAP will be deprecated migrate board.h see tools/stm32_pinmap_tool.py'
44 | # pragma message "CONFIG_STM32_USE_LEGACY_PINMAP will be deprecated migrate board.h see tools/stm32_pinmap_tool.py"
| ^~~~~~~
CC: pthread/pthread_mutexconsistent.c In file included from chip/stm32_flash.c:40:
chip/stm32f20xxf40xx_flash.c:53:4: warning: #warning "Default Flash Configuration Used - See Override Flash Size Designator" [-Wcpp]
53 | # warning "Default Flash Configuration Used - See Override Flash Size Designator"
| ^~~~~~~
board/stm32_ethernet.c:84:19: warning: 'g_phy_lock' defined but not used [-Wunused-variable]
84 | static spinlock_t g_phy_lock = SP_UNLOCKED;
| ^~~~~~~~~~
LD: nuttx
Signed-off-by: hujun5 <hujun5@xiaomi.com>
2024-12-20 14:09:34 +08:00
Tiago Medicci Serrano
919cb73913
rv-virt/citest: Test GCC's tls (__thread
keyword)
...
Test the GCC's tls with the `__thread` keyword with ostest by
enabling `CONFIG_SCHED_THREAD_LOCAL`.
2024-12-19 22:04:00 +08:00
hujun5
5d68ab635c
remove big lock in arch_phy_irq
...
reason:
We would like to replace the big lock with a small lock.
Signed-off-by: hujun5 <hujun5@xiaomi.com>
2024-12-18 23:28:18 +08:00
wangjianyu3
c19e8c7861
esp32s3-devkit/adb: Enable file service
...
Test
$ adb -s 1234 pull /etc/init.d/rcS
/etc/init.d/rcS: 1 file pulled. 0.0 MB/s (7 bytes in 0.042s)
Signed-off-by: wangjianyu3 <wangjianyu3@xiaomi.com>
2024-12-18 20:13:41 +08:00
Andre Heinemans
58e232863d
imx95-evk: update configs; add imx95-evk:can
2024-12-18 20:09:12 +08:00
YAMAMOTO Takashi
9ad125751d
Explicitly enable CONFIG_LUA_LUV_MODULE's dependencies where it's enabled
...
In order to replace CONFIG_LUA_LUV_MODULE's "select" items
with "depends on".
2024-12-18 20:04:05 +08:00
Eren Terzioglu
8256864bfe
esp32[s2|s3]: Add qencoder defconfig
2024-12-17 13:35:42 -03:00
Eren Terzioglu
58be435817
esp32[h2]: Add qencoder defconfig
2024-12-17 13:35:42 -03:00
Eren Terzioglu
767c5f16f0
esp32[s2|s3]: Add pulse counter support
2024-12-17 13:35:42 -03:00
Eren Terzioglu
e48d092778
esp32[c6|h2]: Add pulse counter support
2024-12-17 13:35:42 -03:00
chao an
86ffd45707
drivers/virtio: fix typo deivce -> device
...
Signed-off-by: chao an <anchao@lixiang.com>
2024-12-17 20:48:07 +08:00
Matteo Golin
e96fb6b118
arch/bcm2711, boards/raspberry-pi-4b: Add preliminary support for the BCM2711 and Raspberry Pi 4B.
...
Includes a Mini-UART NSH console for the 4B, tested on the 4GB RAM
model. Part of an I2C driver which can only read, boiler-plate for a SPI
driver, and a GPIO driver with limited pins. Some tools are present for
automatically fetching the boot files and creating the `config.txt` file
based on selected Kconfig options.
2024-12-17 16:43:17 +08:00
YAMAMOTO Takashi
4a714219b7
enable CONFIG_PIPES where CONFIG_LIBUV is enabled
...
after running the following script, reverted a few
unrelated modifications manually.
```
git grep -l CONFIG_LIBUV|grep defconfig|while read FILE;do
DIR=$(dirname $FILE)
./tools/configure.sh -E $DIR
kconfig-tweak -e CONFIG_PIPES
kconfig-tweak -d CONFIG_HOST_MACOS
make savedefconfig
cp defconfig $FILE
done
```
cf. https://github.com/apache/nuttx/issues/14773
2024-12-17 16:24:50 +08:00
YAMAMOTO Takashi
f7463941e8
boards/sim/sim/sim/scripts/Make.defs: simplify a bit
...
no functional changes are intended.
2024-12-17 16:19:33 +08:00
YAMAMOTO Takashi
7b0aa1111f
sim: Fix build errors on macOS
...
macOS 15.2
x86-64
Xcode 16.1
```
ld: warning: disabling chained fixups because of unaligned pointers
ld: illegal text-relocation in '_main'+0x1F (/Users/yamamoto/git/nuttx/nuttx/arc
h/sim/src/nuttx.rel) to '_g_argc'
```
2024-12-17 11:25:19 +08:00
Eren Terzioglu
35ace4196f
esp32[c3|c6|h2]: Add efuse simulation support
2024-12-17 01:04:39 +08:00
Eren Terzioglu
970d1a1f7c
esp32[c3|c6|h2]: Add efuse support
2024-12-17 01:04:39 +08:00
Andre Heinemans
60bf6827f2
boards/arm: add support for imx95-evk m7 core
...
- Add support for the IMX95LPD5EVK-19 evaluation kit (M7 core only)
- Firmware can be executed from ITCM, DDR or NOR flash
- configurations:
'nsh' A minimal configuration that only enables nsh shell
on a UART
'rpmsg' This configuration is similar to nsh but in addition
it offers the Remote Processing Messaging (RPMsg) service to
enable heterogeneous inter-core communication.
2024-12-17 00:06:56 +08:00
Alin Jerpelea
77c31f618a
boards/arm/s32k1xx: migrate to SPDX identifier
...
Most tools used for compliance and SBOM generation use SPDX identifiers
This change brings us a step closer to an easy SBOM generation.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2024-12-16 14:18:35 +08:00
YAMAMOTO Takashi
a3849afe9f
linum-stm32h753bi/littlefs: bump littlefs version to 2.10.0
2024-12-13 18:22:30 +08:00
YAMAMOTO Takashi
760b557f3f
esp32s3-devkit/toywasm: bump littlefs version to 2.10.0
2024-12-13 18:22:30 +08:00
Tiago Medicci Serrano
38b41e5417
rv-virt/citest: Increase init task stack size to 3072
...
After https://github.com/apache/nuttx/pull/15075 , the size of the
stack size has decreased 8 bytes and the init stack size for the
rv-virt:citest defconfig was near its full capacity, which lead to
crashing the `ps` command. The init stack size for this defconfig
was increased from 2048 to 3072 to avoid stack overflow.
2024-12-13 03:15:10 +08:00
Tiago Medicci Serrano
598556c307
risc-v/qemu-rv/rv-virt: Add CPython (python) defconfig
...
This defconfig enables building NuttX's port of Python for RISC-V
QEMU.
2024-12-12 23:38:35 +08:00
chao an
894b1431e3
arm64/imx9: refrash defconfig of imx93-evk
...
Signed-off-by: chao an <anchao@lixiang.com>
2024-12-12 13:47:22 +08:00
chao an
a75e2704dc
mps2-an500/knsh: disable SPINLOCK to avoid build break
...
workaround for remove libc depends from kernel api
build break on phase 2 userspace link:
| arm-none-eabi-ld -o nuttx_user.elf --undefined=nsh_main --entry=nsh_main -T /nuttx/boards/arm/mps/mps2-an500/scripts/memory.ld \
| -T /nuttx/boards/arm/mps/mps2-an500/scripts/user-space.ld -L/nuttx/staging/ -L/nuttx/staging/ -L/nuttx/staging/ -L/nuttx/staging/ \
| -L/nuttx/staging/ -L/nuttx/staging/ mps_userspace.o --start-group -lproxies -lc -lmm -larch -lxx -lapps --end-group \
| "prebuilts/linux/gcc/arm/bin/../lib/gcc/arm-none-eabi/13.3.1/thumb/v7e-m+fp/hard/libgcc.a"
|
| arm-none-eabi-ld: /nuttx/staging//libc.a(lib_pathbuffer.o): in function `spin_unlock_wo_note':
| /nuttx/include/nuttx/spinlock.h:380:(.text.lib_get_pathbuffer+0x298): undefined reference to `g_irq_spin_count'
| arm-none-eabi-ld: /nuttx/include/nuttx/spinlock.h:380:(.text.lib_get_pathbuffer+0x29c): undefined reference to `g_irq_spin'
| arm-none-eabi-ld: /nuttx/staging//libc.a(lib_pathbuffer.o): in function `lib_put_pathbuffer':
| /nuttx/libs/libc/misc/lib_pathbuffer.c:147:(.text.lib_put_pathbuffer+0x210): undefined reference to `g_irq_spin_count'
| arm-none-eabi-ld: /nuttx/libs/libc/misc/lib_pathbuffer.c:147:(.text.lib_put_pathbuffer+0x214): undefined reference to `g_irq_spin'
| make[1]: *** [Makefile:61: nuttx_user.elf] Error 1
| make[1]: Leaving directory '/nuttx/boards/arm/mps/mps2-an500/kernel'
| make: *** [tools/Unix.mk:540: nuttx] Error 2
Signed-off-by: chao an <anchao@lixiang.com>
2024-12-11 20:33:34 +08:00