Commit Graph
100 Commits
Author SHA1 Message Date
Alan Carvalho de Assis c9a27f00c6 arch/sim: Fix #ifdef/#else on x11 event loop
As suggested by Xiang Xiao, let's fix the identation

Signed-off-by: Alan C. Assis <acassis@gmail.com>
2026-08-12 14:08:34 -03:00
Alan Carvalho de Assis 17025085ea arch/sim: Add support to emulated Mouse
This commit adds support for three buttons Mouse emulation on SIM.

Signed-off-by: Alan C. Assis <acassis@gmail.com>
Assisted-by: Claude Code
2026-08-12 14:08:34 -03:00
Alan Carvalho de Assis 42ac826a4c doc/sim: Add Documentation about SIM Input
This commit adds basic information about SIM Input support.

Signed-off-by: Alan C. Assis <acassis@gmail.com>
2026-08-12 14:08:34 -03:00
Alan Carvalho de Assis 87260499e1 cmake: Use NUTTX(_DIR/_BIN_DIR) instead CMAKE(_SRC_DIR/_BIN_DIR)
This change fixes NuttX’s CMake support when NuttX is embedded
in another project via add_subdirectory(). CMake’s CMAKE_SOURCE_DIR
and CMAKE_BINARY_DIR refer to the outermost project, causing NuttX
to access its .config, generated files, host tools, and build artifacts
in the parent project’s directories. The fix introduces NUTTX_DIR and
NUTTX_BINARY_DIR, based on CMAKE_CURRENT_SOURCE_DIR and
CMAKE_CURRENT_BINARY_DIR, and consistently uses them for NuttX
self-references while preserving existing standalone builds. It fixes
the Kconfig initialization failure reported in #19697 and allows an
embedded sim:nsh build to configure, build, and boot successfully.
The change affects only the CMake build system (not Make or Kconfig
defaults), requires the corresponding nuttx-apps change, and does not
extend add_subdirectory() support to cross-compiled non-sim boards due
to CMake’s toolchain-file limitation.

Fixes #19697.

Assisted-by: Claude:claude-sonnet-5
Signed-off-by: Alan Carvalho de Assis <acassis@gmail.com>
2026-08-09 11:13:08 -03:00
Alan Carvalho de AssisandMatteo Golin 2d0733cf41 doc/i2ctool: Add missing -z paramenter
As requested at https://github.com/apache/nuttx/pull/19712

Signed-off-by: Alan C. Assis <acassis@gmail.com>
2026-08-06 09:28:08 -04:00
Alan Carvalho de Assis c027e7c3e4 tools: fix stale archive members surviving a Kconfig-driven CSRCS change
During the Toybox port to NuttX, Claude noticed that changes in the
menuconfig weren't taking affect. This issue exists for a long time on
NuttX, in fact BayLibre's presentation from 2017 make jokes about our
building system not been reliable:
https://www.youtube.com/watch?v=XUJK2htXxKw&t=320s

Stale archive members from $(AR)'s additive-only behavior can linger
after Kconfig toggles change which files provide a symbol, causing dead
weight or "multiple definition" link errors on incremental builds.
Fixed by splitting ARCHIVE into two macros: ARCHIVE keeps the original
additive behavior for apps/libapps.a, which many independent
subdirectories contribute to across a build, while the new
ARCHIVE_REBUILD deletes then archives for the far more common case
of a single Makefile building its own self-contained $(OBJS)
- all 39 such call sites now use it.

Assisted-By: Claude Sonnet 5
Signed-off-by: Alan C. Assis <acassis@gmail.com>
2026-07-28 21:26:03 -03:00
Alan Carvalho de AssisandXiang Xiao 564fae94d7 net/sixlowpan: Fix protosize to 16-bit
There was another small issue on sixlowpan_input.c code, it was
processing protosize and 8-bit instead of 16-bit.

It was working because the max tcp->tcpoffset was 0xf0, so
protosize = ((uint16_t)tcp->tcpoffset >> 4) << 2;
Will be protosize = 15 * 4 = 60 and will fit inside 8-bit.

Signed-off-by: Alan C. Assis <acassis@gmail.com>
2026-07-28 10:19:05 +08:00
Alan Carvalho de AssisandXiang Xiao faa5c75f11 net/sixlowpan: Check if g_frame_hdrlen + IPv6_HDRLEN <= iob->io_len
This commit checks if the incoming 6LoWPAN frame header len + the
IPv6_HDRLEN will fit inside the b->io_len.

Signed-off-by: Alan C. Assis <acassis@gmail.com>
2026-07-28 10:19:05 +08:00
Alan Carvalho de AssisandXiang Xiao a83c844242 boards/lm3s6965-ek: Disable CONFIG_READLINE_EDIT to fix build
When enabling CONFIG_READLINE_EDIT the CI fails because it reports
there is not left space in this device.

Signed-off-by: Alan C. Assis <acassis@gmail.com>
2026-07-27 09:42:44 +08:00
Alan Carvalho de Assis 6bbb077159 boards/sim: Add command line History, Edit and Search
Since sim:nsh doesn't use much resource and it is used for testing
let's enable the complete line editing support.

Signed-off-by: Alan C. Assis <acassis@gmail.com>
2026-07-24 18:37:35 -03:00
Alan Carvalho de AssisandXiang Xiao 375462322e drivers/serial: Modify serial/pty to allow NSH/Telnet line edit
Both the UART and PTY serial drivers previously assumed all
VT100/ANSI escape sequences were fixed 3-byte CSI sequences, causing
longer CSI and SS3 key sequences (such as Home, End, Delete, and
modified keys) to leak stray characters into the terminal when local
echo was enabled. This patch replaces the fixed-length logic with a
state machine that correctly recognizes and suppresses escape
sequences of any length, while preserving the data delivered to
applications. The change only affects local echo behavior, is fully
backward compatible, and has been validated with both interactive NSH
sessions and automated PTY tests.

Signed-off-by: Alan C. Assis <acassis@gmail.com>
Assisted-by: Claude Code
2026-07-22 22:07:18 +08:00
Alan C. Assis 90c9ae5680 tools/uncrustify: Update uncrustify for better support
When porting external projects to NuttX using uncrustify could help
to convert "alien code" (maybe we are the aliens) to NuttX coding
style.
Signed-off-by: Alan C. Assis <acassis@gmail.com>
Assisted-by: Hermes Agent using Deepseek-4-pro
2026-07-17 15:00:06 -03:00
Alan Carvalho de Assis d8d77c249c libs/libdsp: Add Matrix operations
This commit adds support for matrix operation on libdsp. The code
came from: https://github.com/DjVul/Extended-Kalman-Filter---STM32/blob/main/Core/Src/matrix_utils.c

Signed-off-by: Alan C. Assis <acassis@gmail.com>
2026-07-11 14:55:59 -03:00
Alan Carvalho de AssisandXiang Xiao ae96aa0f5e boards/nucleo-f302r8: disable some interfaces to reduce size
This board config is reaching the 64KB Flash limit, so disable some
not used interface to reduce size.

Signed-off-by: Alan C. Assis <acassis@gmail.com>
2026-07-08 11:32:02 +08:00
Alan Carvalho de AssisandXiang Xiao 43d1fe35b0 boards/mps3-an547: Fix error caused by updating nsh Kconfig
After the NSH modification to avoid disabling NSH errors this config
needs to be normalized.

Signed-off-by: Alan C. Assis <acassis@gmail.com>
2026-07-08 11:32:02 +08:00
Alan Carvalho de AssisandAlin Jerpelea acc06c38f0 boards/imx93-evk: Fix bootloader board config
After enabling the nsh error Kconfig we need to fix configs that were
enabling it manually.

Signed-off-by: Alan C. Assis <acassis@gmail.com>
2026-07-06 06:48:02 +02:00
Alan Carvalho de AssisandXiang Xiao 98c6c28688 boards/stm32f103-minimum: Add echo command to test audio tone
The easy way to test audio tone is sending the string directly from
nsh shell using echo command.

Signed-off-by: Alan C. Assis <acassis@gmail.com>
2026-07-06 12:18:23 +08:00
Alan Carvalho de AssisandXiang Xiao ae0210479d doc/nxdoom: Improve the nxdoom doc to let user play it
It is very easy to get NXDoom running on NuttX, but the instructions
was omitting the needed steps to get it running on Simulator.

Signed-off-by: Alan C. Assis <acassis@gmail.com>
2026-07-04 01:55:42 +08:00
Alan Carvalho de Assis bff0a5afd9 boards/stm32l0538-disco: Remove DD command to release more space
Currently stm32l0538-disco is using all its space on NuttX mainline
After some investigation I noticed that DD is using more than 1500
bytes. After disabling it the board returned to compile.

Signed-off-by: Alan C. Assis <acassis@gmail.com>
2026-07-01 13:16:04 -03:00
Alan Carvalho de AssisandXiang Xiao cded268559 arch/lpc214x: Fix LPC214x to work again
This fix is based on the same fix for LPC2378, however it wasn't
tested on real hardware because I don't have a LPC214x board.

Signed-off-by: Alan C. Assis <acassis@gmail.com>
2026-07-01 03:00:43 +08:00
Alan Carvalho de AssisandXiang Xiao d59ab52935 arch/arm: Fix LPC2378 to work again
Olimex LPC-2378-STK was the first board I ran NuttX in 2010. Then
in 2023 I found this board on eBay and decided to buy it to try
NuttX on it again, but for my disappointment it was not working:
https://acassis.wordpress.com/2023/04/01/testing-nuttx-again-on-olimex-lpc2378-stk-board/

Then I opened an Issue: https://github.com/apache/nuttx/issues/19201
and Xiang Xiao and ldube helped me to get it working again.

Signed-off-by: Alan C. Assis <acassis@gmail.com>
2026-06-30 03:28:12 +08:00
Alan Carvalho de Assis 861125a75e drivers/audio: Fix audio tone generator
The audio tone generator stopped working with the 'echo' command
since https://github.com/apache/nuttx-apps/pull/1559

Before that PR:

nsh> echo "t120o1l16b9n0baan0bn0bn0baaan0b9n0baan0b" > /dev/tone0
tone_write: Received 41 bytes
nsh>

After that PR:

nsh> echo "t120o1l16b9n0baan0bn0bn0baaan0b9n0baan0b" > /dev/tone0
tone_write: Received 40 bytes
tone_write: Received 1 bytes
nsh>

Unfortunately the Audio Tone was not block new write attempts even
when it was already playing a melody.

This commit fix it and avoids the issue caused by that PR.

Signed-off-by: Alan C. Assis <acassis@gmail.com>
2026-06-26 15:33:39 -03:00
Alan Carvalho de Assis 33f5cf9525 ci/test: Remove FTDI from CI to avoid failure
Even after installing the ftdi library on CI it doesn't work to
compile the sim:ft2232h_gpio, so remove it from CI test.

Signed-off-by: Alan C. Assis <acassis@gmail.com>
2026-06-20 15:29:47 -03:00
Alan Carvalho de Assis e256e50e5e nuttx/ci: Add libftdi1-dev to get FT2232H working on CI
Docker-Linux / push (push) Has been cancelled
This commit is needed to get PR #18951 passing on CI test.
I think this USB Device could be used in the future to do
real hardware tests, including automated tests on our CI.

Signed-off-by: Alan C. Assis <acassis@gmail.com>
2026-05-29 18:05:07 -03:00
Alan Carvalho de AssisandMatteo Golin 4df7831d48 doc/nxinit: Rename Init to NXInit and fix review comments
Initially Xiang contributed NXInit as Init, but then the community
suggested to rename it to NXInit to avoid conflict with other init
systems.

Signed-off-by: Alan C. Assis <acassis@gmail.com>
2026-05-27 19:29:04 -04:00
Alan Carvalho de AssisandLup Yuen Lee fc89dfdc3c boards/weact-stm32h750: Don't disable compilation optimization
This board was failing because the CONFIG_DEBUG_NOOPT was enabled.

Signed-off-by: Alan C. Assis <acassis@gmail.com>
2026-05-05 15:01:35 +08:00
Alan Carvalho de Assis 97a50eaf45 net/sixlowpan: Fix sixlowpan_uncompresshdr_hc06()
This commit fixes sixlowpan_uncompresshdr_hc06() to avoid that the
frame data be bigger than the iob->io_len.

Signed-off-by: Alan C. Assis <acassis@gmail.com>
2026-05-04 12:17:23 -03:00
Alan Carvalho de Assis 805169cebd libs/netdb: Fix dns_recv_response() to dns_answer_s size
This commit avoid that dns_recv_response() accepts fewer tha 10 bytes
that could end up with an OOB read.

Signed-off-by: Alan C. Assis <acassis@gmail.com>
2026-05-04 12:16:50 -03:00
Alan Carvalho de Assis 4d72eb8421 net/icmpv6: Discard Neighbor Discovery packet if optlen is 0
This commit make ICMPv6 on NuttX compliant with RFC4861 ignoring
a Neighbor Discovery packet when its optlen is 0.

Signed-off-by: Alan C. Assis <acassis@gmail.com>
2026-05-04 12:06:43 -03:00
Alan Carvalho de Assis 51cd4a548f doc: Improved QE Documentation and add mt6816 board profile doc
This commit explain that the QE encoder driver can be used to
internal QE from microcontroller or external magnetic encoder.
Also explains how to use the mt6816 board profile to STM32F4Discovery

Signed-off-by: Alan C. Assis <acassis@gmail.com>
2026-05-03 07:56:38 -03:00
Alan Carvalho de Assis 928d7682ce boards/stm32f4discovery: Add support to MT6816
This commit add support to use MagTek Magnetic Rotary Encoder MT6816
on STM32F4Discovery board.

Signed-off-by: Alan C. Assis <acassis@gmail.com>
2026-05-03 07:56:38 -03:00
Alan Carvalho de Assis a1d6016962 drivers/sensors: Add support to MT6816
This commit adds support to MagTek MT6816 sensor

Signed-off-by: Alan C. Assis <acassis@gmail.com>
2026-05-03 07:56:38 -03:00
Alan Carvalho de Assis 04d5cad64e drivers/spi: Add SPIDEV_MAG_ENCODER() definition
This definition is needed to have multiplese Magnetic Sensors in the
same board.

Signed-off-by: Alan C. Assis <acassis@gmail.com>
2026-05-03 07:56:38 -03:00
Alan Carvalho de Assis f8e78c1075 drivers/qe: Don't compile stm32_qencoder.c if STM32 QE is not enabled
NuttX uses Quadrature Encoder lower half driver to internal QE from
MCUs and also with Magnetic Rotary Encoder sensors. But when the
STM32 QE is not enabled, the board code will try to compile the
stm32_qencoder.c because Magnetic Rotary Encoders enables the
CONFIG_SENSORS_QENCODER. This patch fixes this issue.

Signed-off-by: Alan C. Assis <acassis@gmail.com>
2026-05-03 07:56:38 -03:00
Alan Carvalho de Assis 2b8be4a3da drivers/fb: Fix a symbol missing CONFIG_
This was a mistake that was preveting the boot logo to stay visible
for more time.

Signed-off-by: Alan C. Assis <acassis@gmail.com>
2026-05-02 15:26:10 -03:00
Alan Carvalho de AssisandXiang Xiao c01aca09f0 boards/qemu-i486: Fix the removal of qemu_appinit.c
This PR makes the qemu-i486 boot again.

Signed-off-by: Alan C. Assis <acassis@gmail.com>
2026-05-03 01:22:00 +08:00
Alan Carvalho de AssisandMatteo Golin 63a03d0f8a arch/x86: Add palette 256 color to qemu-i486 VGA driver
Build Documentation / build-html (push) Has been cancelled
This patch adds support to get the VGA driver working with 256
colors.

Signed-off-by: Alan C. Assis <acassis@gmail.com>
2026-05-02 09:51:59 -04:00
Alan Carvalho de AssisandMatteo Golin b30fe55fe0 arch/x86: Replace planar pixel copy with linear copy
The planar copy was used even when linar mode was used (chain4 = 1)
Probably this modification could impact VGA text mode, but for now
it is not important, since the goal is get graphic mode working.

Signed-off-by: Alan C. Assis <acassis@gmail.com>
2026-05-02 09:51:59 -04:00
Alan Carvalho de AssisandXiang Xiao c3e7c94d2f doc/qemu-i486: Add documentation about qemu-i486:vga_fb
This commit adds documentation to vga_fb board profile to QEMU.

Signed-off-by: Alan C. Assis <acassis@gmail.com>
2026-04-30 11:56:49 +08:00
Alan Carvalho de AssisandXiang Xiao 09cda8404d boards/qemu-i486: Add support to QEMU VGA framebuffer
This commits initializes the VGA LCD interface as a framebuffer to
use with fb command.

Signed-off-by: Alan C. Assis <acassis@gmail.com>
2026-04-30 11:56:49 +08:00
Alan Carvalho de AssisandXiang Xiao 163dcd0438 arch/x86: Modify qemu_vga to return init error
This modify just modify the function to let the user that the function
failed to initialize the VGA mode.

Signed-off-by: Alan C. Assis <acassis@gmail.com>
2026-04-30 11:56:49 +08:00
Alan Carvalho de AssisandXiang Xiao 9f2db60370 doc: Update qemu-i486
This PR improves the qemu-i486 documentation.

Signed-off-by: Alan C. Assis <acassis@gmail.com>
2026-04-29 21:39:20 +08:00
Alan Carvalho de Assis c476700583 doc/input: Add documention to MPR121 Capacitive Keypad
Build Documentation / build-html (push) Has been cancelled
This commit adds the Documentation to MPR121 Keypad and the board
profile documentation to STM32F4Discovery board.

Signed-off-by: Alan C. Assis <acassis@gmail.com>
2026-04-23 15:56:32 -03:00
Alan Carvalho de Assis f2219060c2 boards: Add support to MPR121 Capacitive Keypad
This commit adds support to MPR121 on stm32f4discovery board and a
board config example.

Signed-off-by: Alan C. Assis <acassis@gmail.com>
2026-04-23 15:56:32 -03:00
Alan Carvalho de Assis 90ab0a8ae1 drivers/mpr121: Add support to MPR121 Capacitive Keypad
This driver adds support to MPR121 Capacitive Keypad usually found
at Aliexpress. The MPR121 is a touch sensor chip from Freescale/NXP
that supports up to 12 sensor electrodes and 1 proximity electrode.

Signed-off-by: Alan C. Assis <acassis@gmail.com>
2026-04-23 15:56:32 -03:00
Alan Carvalho de Assisandsimbit18 e5efaf9f5d boards: Fix modbus configs after moving it to apps/industry
The modbus was moved to inside apps/industry, so these defconfigs
need to be updated

Signed-off-by: Alan C. Assis <acassis@gmail.com>
2026-04-20 08:35:15 +02:00
Alan Carvalho de AssisandMatteo Golin f255cd870b Doc/raspberry-pico-w: Update ST7735 Documentation
Build Documentation / build-html (push) Has been cancelled
Keep the documentation in sync with raspberrypi-pico.

Signed-off-by: Alan C. Assis <acassis@gmail.com>
2026-04-06 12:47:00 -04:00
Alan Carvalho de AssisandMatteo Golin 7bdd9330bc doc/raspberry-pi-pico: Fix ST7735 Documentation
Change the order of voltage suggesting 3V3 first and than 5V to avoid
users to damage their LCDs.

Signed-off-by: Alan C. Assis <acassis@gmail.com>
2026-04-06 12:47:00 -04:00
Alan Carvalho de Assisandsimbit18 78e3f17b9e doc/raspberrypi-pico: Improves ST7735 Documentation
Build Documentation / build-html (push) Has been cancelled
This commit improves the documentation about ST7735 LCD usage.

Signed-off-by: Alan C. Assis <acassis@gmail.com>
2026-04-04 19:45:20 +02:00
Alan Carvalho de AssisandLup Yuen Lee 108b23b7a2 doc/stm32f4discovery: Add LCD ST7567
Build Documentation / build-html (push) Has been cancelled
This commits explains how to use the LCD ST7567 with STM32F4Discovery
board.

Signed-off-by: Alan C. Assis <acassis@gmail.com>
2026-03-13 11:29:07 +08:00
Alan Carvalho de AssisandLup Yuen Lee 419b44ce19 boards/stm32f4discovery: Add board profile to ST7567 LCD
This board profiles adds board support example to OPEN-SMART 1.8INCH
LCD Driver IC: ST7567 Logic Level: 3.3V

Signed-off-by: Alan C. Assis <acassis@gmail.com>
2026-03-13 11:29:07 +08:00
Alan Carvalho de AssisandLup Yuen Lee da39903ff0 doc/stm32f4discovery: Improve the page, add board picture
This commits improves a little bit the STM32F4Discovery documentation
page.

Signed-off-by: Alan C. Assis <acassis@gmail.com>
2026-03-13 11:29:07 +08:00
Alan Carvalho de AssisandMatteo Golin 0e5323370f drivers/usbhost_hidkbd: Fix small typo in usbhost_hidkbd.c
Build Documentation / build-html (push) Has been cancelled
There were missing quotes for key "backspace" for scancodes.
This issue was found by github user @StagiaireAbritek

He opened an PR in github to fix it:
https://github.com/apache/nuttx/pull/15917

However he decided to abandon and close the PR, but because it is
an important fix I decided submit it upstream.

Signed-off-by: Alan C. Assis <acassis@gmail.com>
2026-01-18 11:57:58 -05:00
Alan Carvalho de Assis 76903ea636 drivers/sx126x: Fix typo in the Kconfig
This is a small fix just to true the github getting the new commits
after running git push -f

Signed-off-by: Alan C. Assis <acassis@gmail.com>
2026-01-05 14:59:32 -03:00
Alan Carvalho de Assis cce61ea287 drivers/sx127x: Add RX Timeout support
This commit adds support to fix RX timeout for SX127x, it is done
leaving the RX mode, entering in stanby mode and returning to RX
mode. It is enough to fix the AFC and get communication working
again.

Signed-off-by: Alan C. Assis <acassis@gmail.com>
2026-01-05 14:59:32 -03:00
Alan Carvalho de Assis 667165db46 drivers/sx127x: Move Kconfig and add bitrate options
This commit moves sx127x Kconfig to lpwan/sx127x/ to follow the
same logic used by sx126x and adds the configuration to support
different bitrate (the default 4800 is fine tuned for LORA).

Signed-off-by: Alan C. Assis <acassis@gmail.com>
2026-01-05 14:59:32 -03:00
Alan Carvalho de AssisandXiang Xiao 29ee50aba8 doc/xtensa/esp32: Update documentation to include sx127x
This commit includes documentation to the sx127x board profile.

Signed-off-by: Alan C. Assis <acassis@gmail.com>
2025-12-22 10:22:36 +08:00
Alan Carvalho de AssisandXiang Xiao e20d4912ff boards/esp32/heltec_wifi_lora32: Add support to SX1276
This commit adds support to SX1276 transceiver on Heltec WiFi LoRa32
board.

Signed-off-by: Alan C. Assis <acassis@gmail.com>
2025-12-22 10:22:36 +08:00
Alan Carvalho de Assis a6af0e94f9 Doc/xtensa/esp32: Fix QEMU documentation to use new config
QEMU needs CONFIG_ESP32_IGNORE_CHIP_REVISION_CHECK enabled to work

Signed-off-by: Alan C. Assis <acassis@gmail.com>
2025-12-21 15:18:08 -03:00
Alan Carvalho de Assis cb4b64b6e8 Doc/xtensa/esp32: Add documentation to Heltec WiFi LoRa32
This commit adds documentation to Heltec WiFi LoRa32

Signed-off-by: Alan C. Assis <acassis@gmail.com>
2025-12-21 15:18:08 -03:00
Alan Carvalho de Assis 30a7420349 boards/esp32: Add initial support to heltec_wifi_lora32
This commit adds basic/initial support to Heltec WiFi LoRa32 board.

Signed-off-by: Alan C. Assis <acassis@gmail.com>
2025-12-21 15:18:08 -03:00
Alan Carvalho de Assis 3bf8b55d64 arch/xtensa/esp32: Add CONFIG_ESP32_IGNORE_CHIP_REVISION_CHECK
This commit add the option that was missing in the esp32_start.c
to ignore the chip version for boards with old ESP32 silicon tape out.

Signed-off-by: Alan C. Assis <acassis@gmail.com>
2025-12-21 15:18:08 -03:00
Alan Carvalho de Assis c84e2ebfa9 doc: Add documentation to pthread_mutex_perf application
Build Documentation / build-html (push) Has been cancelled
Signed-off-by: Alan C. Assis <acassis@gmail.com>
2025-12-16 20:57:44 -03:00
Alan Carvalho de AssisandXiang Xiao a51e45d5b3 drivers/lpwan: Fix Kconfig SX1276 and SX1262 position
When user was selecting SX1276 the configuration options to this
device was appear below SX1262.

Signed-off-by: Alan C. Assis <acassis@gmail.com>
2025-12-08 10:39:11 +08:00
Alan Carvalho de Assis 13a361ab30 docs/stm32f429i-disco: Add the stm32f429i-disco picture
Build Documentation / build-html (push) Has been cancelled
Signed-off-by: Alan C. Assis <acassis@gmail.com>
2025-11-27 18:27:46 -03:00
Alan Carvalho de Assis 658c5a938e boards/stm32f429i-disco: Add NX boot logo splash screen
This commit add a framebuffer example and initializes the board with
NuttX boot logo splash screen.

Signed-off-by: Alan C. Assis <acassis@gmail.com>
2025-11-27 15:17:30 -03:00
Alan Carvalho de Assis 34febea2df drivers/sensors: Fix Kconfig
As reported by a user in Discord channel selection BMI160 with SPI
interface still showing the I2C configuration. This patch fixes it.

Signed-off-by: Alan C. Assis <acassis@gmail.com>
2025-11-18 09:16:12 -03:00
Alan Carvalho de AssisandXiang Xiao 8cb1fd713e drivers/usbhost_hub: Add support to Multiple TT HS HUB
This is the case for USB2517 USB HUB. Also improved the driver to
avoid mistakes: initially I changed g_id[3], but the in register
there is another field where we need to pass this size again. So
it is better to use ARRAY_SIZE() macro to avoid mistakes.

Signed-off-by: Alan C. Assis <acassis@gmail.com>
2025-10-27 18:24:42 +08:00
Alan C. AssisandXiang Xiao ff0fa9807a doc: Add semihost syslog guide instructions
Signed-off-by: Alan C. Assis <acassis@gmail.com>
2025-10-24 09:56:24 +08:00
Alan C. AssisandMatteo Golin 1f15756156 fs/fat: Ignore //... sequences in the file path
This fixes an issue reported by user harishn6 on github.

Signed-off-by: Alan C. Assis <acassis@gmail.com>
2025-10-23 08:44:12 -04:00
Alan Carvalho de AssisandMatteo Golin 2b2afeec4c sama5d3-xplained: Disable semihosting syslog
Build Documentation / build-html (push) Has been cancelled
TODO: Fix sama5 arch the same way stm32 to avoid compiling serial drivers
case no serial ports are used.

Signed-off-by: Alan C. Assis <acassis@gmail.com>
2025-10-14 08:36:44 -04:00
Alan Carvalho de AssisandMatteo Golin 82e4a715e6 boards/stm32/clicker2-stm32: Fix compilation after stm32_serial
This config doesn't have any STM32_USART enabled, but because it
have CDC_ACM if we disable CONFIG_SERIAL we are getting others
dependence error. So the solution here was enable the serial port
CONFIG_STM32_USART3.

Signed-off-by: Alan C. Assis <acassis@gmail.com>
2025-10-14 08:36:44 -04:00
Alan Carvalho de AssisandMatteo Golin cf8b8355b8 boards/stm32/nucleo-f303re: Remove syslog for can example
This can board profile doesn't use serial, but the syslog still
using up_putc() that doesn't exist now that stm32_serial.c is not
compiled.

Signed-off-by: Alan C. Assis <acassis@gmail.com>
2025-10-14 08:36:44 -04:00
Alan Carvalho de AssisandMatteo Golin 676f4cb111 boards/arm/stm32: Fix board configs which use LWL_CONSOLE
After fixing stm32 to not compile stm32_serial.c when STM32_USART
is not enabled, we need fix the lwl_console driver to include the
up_putc().

Signed-off-by: Alan C. Assis <acassis@gmail.com>
2025-10-14 08:36:44 -04:00
Alan Carvalho de AssisandMatteo Golin 6e7f596c83 drivers/lwl: Fix lwl_console.c to support is own up_putc()
After removing stm32_serial.c compilation we need to create a new
up_putc() to be used by syslog.

Signed-off-by: Alan C. Assis <acassis@gmail.com>
2025-10-14 08:36:44 -04:00
Alan Carvalho de AssisandMatteo Golin 744ce66135 arch/stm32: Only compile stm32_serial.c when STM32_USART is enabled
When SEMIHOST_SYSLOG is enabled it creates its own up_putc() function
however the stm32_serial.c also creates this same function, even
when all STM32_USARTs are disabled. Fix patch fixes this issue.

Signed-off-by: Alan C. Assis <acassis@gmail.com>
2025-10-14 08:36:44 -04:00
Alan Carvalho de AssisandMatteo Golin 5d784a2abc arm/common: Fix arm_nputs.c to avoid mult. up_nputs() definitions
When SEMIHOST_SYSLOG is enabled up_nputs() could be defined twice.

Signed-off-by: Alan C. Assis <acassis@gmail.com>
2025-10-14 08:36:44 -04:00
Alan Carvalho de AssisandXiang Xiao a503fc6adb doc: Add info about usbdisk to arcx-socket-grid
Signed-off-by: Alan C. Assis <acassis@gmail.com>
2025-09-01 22:58:01 +08:00
Alan Carvalho de AssisandXiang Xiao d2344ee915 boards/arcx-socket-grid: Add support to two USBs
This patch adds support to both USB controllers.

Signed-off-by: Alan C. Assis <acassis@gmail.com>
2025-09-01 22:58:01 +08:00
Alan Carvalho de AssisandXiang Xiao 0547aa5c6c arch/arm/imxrt: Modify USB EHCI driver to support two USBs
Some iMXRT chips like iMXRT-1050 has two USB controllers, but until
now only USB1 was supported. This patch modify the driver to support
both USBs.

Signed-off-by: Alan C. Assis <acassis@gmail.com>
2025-09-01 22:58:01 +08:00
Alan Carvalho de AssisandXiang Xiao eec50c183c build.yml: Excludes the workflow run if the file is CONTRIBUTING.md
CI does not compile everything for a simple modification of the CONTRIBUTING.md file.

Signed-off-by: Alan C. Assis <acassis@gmail.com>
2025-08-22 23:29:15 +08:00
Alan Carvalho de AssisandXiang Xiao 92db85fecf boards/imxrt/arcx-socket-grid: Remove debug symbols
Build Documentation / build-html (push) Has been cancelled
Remove the debug symbols from "usbdisk" board profile and change
the optimization level from "-Os" to "-O2" to fix ehci error.

Signed-off-by: Alan C. Assis <acassis@gmail.com>
2025-08-11 09:42:13 +08:00
Alan Carvalho de AssisandAlan C. Assis d218334baa boards/arcx-socket-grid: Add support to USBHOST and USBDISK
This PR add support to USBHOST on iMXRT1052 ARCX-Socket-Grid board
and add a USBDISK board config example.

Signed-off-by: Alan C. Assis <acassis@gmail.com>
2025-08-09 17:12:48 -03:00
Alan Carvalho de AssisandAlan C. Assis 33e25738e5 arch/imxrt: Removed not defined imxrtimxrt_virtramaddr_async_setup
This function prototype was defined as static but the function
never was created or used.

Signed-off-by: Alan C. Assis <acassis@gmail.com>
2025-08-09 17:12:48 -03:00
Alan Carvalho de AssisandAlan C. Assis 732a31c2bf arch/arm/imxrt: Fix incorrect symbol on imxtrt_ehci
Signed-off-by: Alan C. Assis <acassis@gmail.com>
2025-08-09 17:12:48 -03:00
Alan Carvalho de AssisandAlan C. Assis e26936b262 arch/arm/imxrt: Fix missing symbols on Kconfig
Signed-off-by: Alan C. Assis <acassis@gmail.com>
2025-08-09 17:12:48 -03:00
Alan Carvalho de AssisandAlin Jerpelea 59dc9a3884 arch/arm/imxrt: Initial modification to support two USB Controllers
Many iMXRT MCUs have internally two USB OTG controllers, however
NuttX currently only supports one USB controllers. This patch will
prepare the "house" to support both ports at same time.

Signed-off-by: Alan C. Assis <acassis@gmail.com>
2025-07-31 08:04:31 +02:00
Alan Carvalho de AssisandXiang Xiao e745b8ec7f Doc: Remove MOTD string from nsh shell on simulator
Build Documentation / build-html (push) Has been cancelled
Signed-off-by: Alan C. Assis <acassis@gmail.com>
2025-07-30 12:01:56 +08:00
Alan Carvalho de AssisandXiang Xiao e9cb6907c8 doc: Fix quickstart since the login is not required and quit exists
Signed-off-by: Alan C. Assis <acassis@gmail.com>
2025-07-30 12:01:56 +08:00
Alan Carvalho de AssisandXiang Xiao 719ffdd994 Doc: Update weact-stm32h743 doc to include flashing instructions
Signed-off-by: Alan C. Assis <acassis@gmail.com>
2025-07-29 22:15:45 +08:00
Alan Carvalho de AssisandAlan C. Assis 934b7b4bf5 drivers/lcd/st7735: Don't define st7735_rdram if write only mode
Signed-off-by: Alan C. Assis <acassis@gmail.com>
2025-07-29 08:18:30 -03:00
Alan Carvalho de AssisandAlan C. Assis a97355167b Doc: Add documentation to weact-stm32h743:st7735
Signed-off-by: Alan C. Assis <acassis@gmail.com>
2025-07-29 08:18:30 -03:00
Alan Carvalho de AssisandAlan C. Assis 94bb3e52f5 boards/weact-stm32h743: Add support to ST7735 display
Signed-off-by: Alan C. Assis <acassis@gmail.com>
2025-07-29 08:18:30 -03:00
Alan Carvalho de AssisandAlan C. Assis 4a90c179f8 Documentation: Add documentation to arc-socket-grid
Build Documentation / build-html (push) Has been cancelled
Signed-off-by: Alan C. Assis <acassis@gmail.com>
2025-07-28 11:13:07 -03:00
Alan Carvalho de AssisandAlan C. Assis a94dddabb9 boards/imxrt: Add ARCX Socket Grid board
This commit add support to ARCX Socket Grid board powered
by iMXRT-1052 MCU.

Signed-off-by: Alan C. Assis <acassis@gmail.com>
2025-07-28 11:13:07 -03:00
Alan Carvalho de AssisandAlan C. Assis 54b2381c42 drivers/input: Create Single Button Multi Actions
This commit creates a sbutton device that uses a single button to
create a keyboard driver that returns TAB or ENTER depending how
long the user keeps the button pressed.

Signed-off-by: Alan C. Assis <acassis@gmail.com>
2025-07-15 18:39:59 -03:00
Alan Carvalho de AssisandXiang Xiao 27e2f51d2e Doc/components: Updare refresh.sh to show usage examples
Build Documentation / build-html (push) Has been cancelled
This commit makes it clear how to use the refresh.sh script to
update board configs showing differents usages cenarios.

Signed-off-by: Alan C. Assis <acassis@gmail.com>
2025-07-07 09:53:55 +08:00
Alan Carvalho de AssisandXiang Xiao 578d62b480 tools: Modify refresh.sh to support update all configs from a board
This modification will simplify the case where the developer wants
to update all board configs from a specific board.

Signed-off-by: Alan C. Assis <acassis@gmail.com>
2025-06-21 04:21:10 +08:00
Alan Carvalho de AssisandXiang Xiao f113d13cbf fs/inode: Fix inoderemove when removing an inode without parent
This modification ensures that inoderemove will error instead of
trying to remove an inode without parent.

This fix was implement by Richard Jiayang Liu.

Signed-off-by: Richard Jiayang Liu <rjliu3@illinois.edu>
2025-05-25 20:44:23 +08:00
Alan Carvalho de AssisandXiang Xiao 7b3aad198e ci/testlist: Don't build breadxavr board 2025-05-08 15:58:18 +08:00