nuttx-apps/examples
wangjianyu3 52b36deb13 examples/camera: use MMAP with USERPTR fallback and fix NX stride
Use MMAP buffer allocation by default so the driver can manage
DMA-capable memory with proper alignment and cache attributes.
Fall back to USERPTR if the driver does not support MMAP.

Also fix NX framebuffer stride calculation to use the actual
display width instead of hardcoded values.

Signed-off-by: wangjianyu3 <wangjianyu3@xiaomi.com>
2026-04-09 10:34:06 -03:00
..
abntcodi examples: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
adc examples/adc: fix printf warning 2025-03-30 11:36:48 +08:00
adjtime examples: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
ads7046 examples/ads7046: Add new example for ADS7046 ADC 2025-08-20 02:28:15 +08:00
adxl372_test examples: Add depends on 2025-01-03 21:28:20 +08:00
ajoystick examples: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
alarm examples: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
amg88xx examples/amg88xx: fix kconfig 2025-02-05 10:51:56 +08:00
apa102 examples: Add depends on 2025-01-03 21:28:20 +08:00
apds9960 examples: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
audio_rttl examples: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
bastest examples: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
battery examples: Add depends on 2025-01-03 21:28:20 +08:00
ble examples: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
bme680 examples: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
bmi160 examples/bmi160: Fix typo of depends on 2025-03-07 11:21:34 +01:00
bmp180 examples: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
bmp280 examples: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
bridge netutils/netlib: support delete the DNS server address by index or address 2025-11-10 18:10:16 +08:00
buttons sched/signal: Add support to disable partial or all signals 2026-01-15 15:48:54 +08:00
calib_udelay examples: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
camera examples/camera: use MMAP with USERPTR fallback and fix NX stride 2026-04-09 10:34:06 -03:00
can apps/can: Replace fprintf with dprint 2025-06-27 09:41:29 +08:00
capture fix(macro): fix CAPIO_FREQUENCY macro typo 2026-01-21 16:59:08 +01:00
cbortest examples: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
cctype examples: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
charger [nxstyle] fix Relative file path 2025-02-25 09:31:30 +01:00
chat examples: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
chrono signals: fix build and runtime issues when signals all isabled 2026-01-19 22:55:19 +08:00
configdata examples: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
cordic examples: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
cpuhog examples: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
cromfs examples: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
dac examples: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
dhcpd dhcpd: Supports kernel mode compilation 2026-01-02 12:29:42 -03:00
dhtxx examples: Add depends on 2025-01-03 21:28:20 +08:00
discover netutils/netlib: support delete the DNS server address by index or address 2025-11-10 18:10:16 +08:00
djoystick signals: fix build and runtime issues when signals all isabled 2026-01-19 22:55:19 +08:00
dronecan examples: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
elf elf:avoid interference between different ELFs generated by symtab 2026-01-16 21:07:56 +08:00
embedlog examples: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
esp32_himem examples: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
etl examples: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
fb fb: fix no mmap with get_pinfo, kernel build with data abort 2025-12-01 19:09:54 +08:00
fbcon examples/fbcon: Fix endchoice and help in Kconfig 2025-03-21 09:49:06 +08:00
fboverlay examples: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
flash_test examples: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
flowc examples: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
fmsynth examples: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
foc examples: foc: Add critical section protection to FOC control loop 2026-01-27 20:48:04 +08:00
ft80x examples: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
ftpc examples: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
ftpd examples: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
fxos8700cq_test examples: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
gpio examples: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
gps examples/gps: fix a few printf formats 2025-04-10 16:47:21 +08:00
hall examples: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
hdc1008_demo examples: Add depends on 2025-01-03 21:28:20 +08:00
hello examples: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
hello_d examples: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
hello_nim examples:hello_nim: fix comment syntax 2025-01-30 02:18:52 +08:00
hello_swift examples: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
hello_wasm examples: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
hello_zig examples: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
helloxx examples: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
hidkbd examples: Add depends on 2025-01-03 21:28:20 +08:00
hts221_reader examples: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
hx711 examples: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
i2schar examples/i2schar: Implement loopback mode check 2025-08-28 21:58:41 +08:00
i2sloop signals: fix build and runtime issues when signals all isabled 2026-01-19 22:55:19 +08:00
igmp examples: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
ina219 examples: Add depends on 2025-01-03 21:28:20 +08:00
ina226 examples: Add depends on 2025-01-03 21:28:20 +08:00
ini_dumper examples: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
ipcfg examples: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
ipforward signals: fix build and runtime issues when signals all isabled 2026-01-19 22:55:19 +08:00
isl29023 examples: Add depends on 2025-01-03 21:28:20 +08:00
json examples: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
keyboard examples/keyboard: Fix compilation warning 2025-07-15 06:12:21 +08:00
leds examples: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
leds_rust examples: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
leds_zig examples: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
libtest examples: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
lis3dsh_reader examples: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
lp503x lp503x_main: Minor fix 2025-01-16 22:48:45 +08:00
lsm6dsl_reader examples: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
lsm303_reader examples: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
lsm330spi_test examples: Add depends on 2025-01-03 21:28:20 +08:00
ltr308 examples: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
lua_module examples: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
lvgldemo examples: unify Private Types banners 2025-05-28 10:16:50 +08:00
lvglterm examples: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
max31855 examples: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
mcuboot examples/mcuboot: add example to update from binary in local storage 2025-07-16 09:49:45 +08:00
mdnsd testing: add unistd.h and pthread.h headers 2026-01-26 19:32:27 +08:00
media examples: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
mld examples: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
mlx90614 examples: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
mml_parser examples: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
modbus examples: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
modbusmaster examples: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
module elf:avoid interference between different ELFs generated by symtab 2026-01-16 21:07:56 +08:00
mount style: Fix coding style violations in nuttx-apps 2026-01-12 00:54:48 +08:00
mqttc examples/mqttc: Fix mqtt_init() failed message typo (ERRPR -> ERROR). 2026-03-02 17:14:44 +01:00
mtdpart examples/mtdpart:Register MTD devices using the mtd_register method 2025-07-30 10:10:34 +08:00
mtdrwb examples: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
netlink_route examples: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
netloop style: Fix coding style violations in nuttx-apps 2026-01-12 00:54:48 +08:00
netpkt pkt: Set sll_protocol for raw socket to ETH_P_ALL 2026-01-04 21:41:21 +08:00
nettest examples: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
nimble Remove unused header files across multiple source files 2025-01-10 21:42:00 +08:00
nimble_blecent examples/nimble_blecent: fix various coding standard issues 2025-03-30 14:28:47 +08:00
nimble_bleprph examples/nimble_bleprph: fix various coding standard issues 2025-03-30 14:28:47 +08:00
nng_test examples: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
noteprintf examples: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
nrf24l01_btle Remove unused header files across multiple source files 2025-01-10 21:42:00 +08:00
nrf24l01_term examples: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
null examples: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
nunchuck examples: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
nx examples: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
nxdemo examples: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
nxflat style: Fix coding style violations in nuttx-apps 2026-01-12 00:54:48 +08:00
nxhello examples: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
nximage examples/nximage: Rename program name to nximage 2025-07-09 09:28:57 +02:00
nxlines examples: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
nxscope examples/nxscope: control stream interval from CLI 2026-04-02 10:02:16 -03:00
nxterm examples: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
nxtext examples: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
obd2 examples: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
oneshot signals: fix build and runtime issues when signals all isabled 2026-01-19 22:55:19 +08:00
opencyphal examples: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
optee examples/optee: Correct use of shm reg id and flags 2025-05-13 21:17:51 +08:00
optee_gp tee/libteec, examples/optee_gp: Fix cmake build 2025-08-02 09:59:21 -03:00
pca9635 examples: Add depends on 2025-01-03 21:28:20 +08:00
pdcurses examples: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
pf_ieee802154 examples: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
pipe examples/pipe: bugfix testcase of fifo 2026-01-22 19:53:39 +08:00
poll examples: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
popen apps/examples/popen: Modify kconfig file 2026-01-22 19:52:02 +08:00
posix_spawn examples: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
posix_stdio examples/posix_stdio: Fix Kconfig to define default stack size 2025-06-01 09:21:15 -03:00
powerled examples/powerled: Fix board initialization compilation 2026-02-26 12:10:01 +08:00
powermonitor examples: Add depends on 2025-01-03 21:28:20 +08:00
pppd examples: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
pty_test examples: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
pwfb examples: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
pwlines examples: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
pwm examples: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
qencoder examples: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
random examples: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
relays Remove unused header files across multiple source files 2025-01-10 21:42:00 +08:00
rfid_readuid examples: Add depends on 2025-01-03 21:28:20 +08:00
rgbled examples: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
rmtchar examples/rmtchar: fix source file ordering for RMTCHAR 2026-03-15 15:42:00 -04:00
romfs examples/romfs:add EXAMPLES_ROMFS_RAMDEVNO 2025-03-05 10:02:22 +01:00
rpmsgsocket rpmsgsocket:add rpmsg socket test cases 2026-01-24 17:07:42 +08:00
rust examples/rust/slint: Update nuttx crate branch from master to main and fix pixel format check. 2025-03-24 20:34:29 +08:00
scd41 examples: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
sendmail examples: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
sensor_fusion examples: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
serialblaster examples: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
serialrx examples: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
serloop examples: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
settings examples: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
shm_test examples: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
sht3x examples: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
shv-nxboot-updater signals: fix build and runtime issues when signals all isabled 2026-01-19 22:55:19 +08:00
shv-test netutils/libshvc: add Silicon Heaven integration into NuttX and SHV examples 2025-09-24 21:43:07 +08:00
slcd examples: Add depends on 2025-01-03 21:28:20 +08:00
smf system/smf: Port SMF .c/.h files to NuttX 2026-01-05 12:50:04 -05:00
smps examples: unify Private Types banners 2025-05-28 10:16:50 +08:00
sotest libc/elf: rename modlib to libelf 2025-04-11 09:43:07 +08:00
spislv_test [nxstyle] fix Relative file path 2025-02-21 16:29:13 -05:00
stat examples: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
stepper examples: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
sx127x_demo examples: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
system examples: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
tcp_ipc_client examples: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
tcp_ipc_server examples: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
tcpblaster examples: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
tcpecho netutils/netlib: support delete the DNS server address by index or address 2025-11-10 18:10:16 +08:00
telnetd examples: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
termios examples: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
thttpd examples: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
tiff examples: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
timer examples: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
timer_gpio examples: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
tlpi examples: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
tmp112 examples/tmp112: Add new example for TMP112 temperature sensor 2025-08-19 14:27:45 +08:00
touchscreen examples: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
udgram examples: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
udp apps/examples/udp: Update CMAKEList.txt for UDP tests under CMAKE 2025-12-29 22:34:52 +08:00
udpblaster [nxstyle] fix Relative file path 2025-02-25 09:31:30 +01:00
uid style: Fix coding style violations in nuttx-apps 2026-01-12 00:54:48 +08:00
unionfs examples: Add depends to different test cases 2025-03-06 09:34:24 +01:00
usbserial examples/usbserial: Fix style issues in host.c 2025-01-11 12:23:29 +08:00
userfs examples: Add depends to different test cases 2025-03-06 09:34:24 +01:00
usrsocktest signals: fix build and runtime issues when signals all isabled 2026-01-19 22:55:19 +08:00
ustream examples: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
uvc_cam examples/uvc_cam: add UVC camera streaming app 2026-03-30 14:52:06 +08:00
veml6070 examples: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
wamr_module examples: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
watchdog examples: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
watched examples: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
watcher examples: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
webserver netutils/netlib: support delete the DNS server address by index or address 2025-11-10 18:10:16 +08:00
wget examples: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
wgetjson examples: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
wiegand examples: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
ws2812 examples: Add depends on 2025-01-03 21:28:20 +08:00
ws2812esp32rmt examples: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
xbc_test examples: Add depends on 2025-01-03 21:28:20 +08:00
xedge_demo signals: fix build and runtime issues when signals all isabled 2026-01-19 22:55:19 +08:00
xmlrpc netutils/netlib: support delete the DNS server address by index or address 2025-11-10 18:10:16 +08:00
zerocross signals: fix build and runtime issues when signals all isabled 2026-01-19 22:55:19 +08:00
.gitignore Remove extra whitespace from files (#43) 2020-01-31 08:29:24 -06:00
CMakeLists.txt examples: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
Make.defs examples: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
Makefile examples: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00