Skip to content

ports/zephyr: Add board config for Arduino UNO Q.#18940

Open
ramalamadingdong wants to merge 1 commit intomicropython:masterfrom
ramalamadingdong:zephyr-arduino-uno-q
Open

ports/zephyr: Add board config for Arduino UNO Q.#18940
ramalamadingdong wants to merge 1 commit intomicropython:masterfrom
ramalamadingdong:zephyr-arduino-uno-q

Conversation

@ramalamadingdong
Copy link

@ramalamadingdong ramalamadingdong commented Mar 17, 2026

Summary

Add board configuration files for the Arduino UNO Q, enabling
MicroPython on its STM32U585 (Cortex-M33) microcontroller.

What the files do

arduino_uno_q.overlay:

  • Redirects zephyr,console from &usart1
  • Adds a 256 KB storage_partition at 0xF0000 for littlefs /flash

arduino_uno_q.conf:

  • Enables serial console, GPIO, flash, and littlefs filesystem

Testing

Tested on Arduino UNO Q hardware:

  • REPL over LPUART1 to /dev/ttyHS1 at 115200 baud
  • os.listdir("/flash") — littlefs mounts on storage_partition
  • File create/read/persist across reboot on /flash
  • machine.Pin GPIO output (LED toggle)
  • LED Matrix
  • I2C both arduino_i2c (PB10/PB11) and i2c4 (PD12/PD13 Qwiic) scan without errors; no devices found (none connected)
  • arduino_spi write works; baudrate sweep 625 KHz–20 MHz all pass; loopback skipped (no D11→D12 jumper); minimum baudrate is 625 KHz (160 MHz APB1 ÷ 256)
  • ADC all 6 channels A0–A5 reading (~400–530 mV floating-pin noise), confirming driver and DTS io-channels mapping work
  • Not yet tested with physical hardware: I2C device detection, SPI loopback, ADC with known voltage.

Build size: ~302 KB flash, ~107 KB RAM

Dependencies

Requires Zephyr >= v4.3.0. The arduino_uno_q board definition was
merged upstream in zephyrproject-rtos/zephyr#97118 (Oct 2025).

Signed-off-by: Rami Mouro rmouro@qti.qualcomm.com

Signed-off-by: rmouro_QCOM <rmouro@qti.qualcomm.com>
@dpgeorge dpgeorge added port-zephyr board-definition New or updated board definition files. Combine with a port- label. labels Mar 17, 2026
@ramalamadingdong
Copy link
Author

ramalamadingdong commented Mar 17, 2026

micropython/micropython-media#112 PR to add thumbnail as the Contribution guide requested

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

board-definition New or updated board definition files. Combine with a port- label. port-zephyr

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants