Skip to content

Reunite with arduino repo#164

Draft
soburi wants to merge 787 commits intozephyrproject-rtos:mainfrom
soburi:reunite-with-arduino-repo
Draft

Reunite with arduino repo#164
soburi wants to merge 787 commits intozephyrproject-rtos:mainfrom
soburi:reunite-with-arduino-repo

Conversation

@soburi
Copy link
Copy Markdown
Member

@soburi soburi commented Feb 23, 2026

rehearsal

pennam and others added 30 commits October 29, 2025 15:38
Selecting "Startup mode->Immediate" will instruct the loader to skip
the boot animation and directly start the sketch.
Extra care should be taken to ensure that the Linux side is up
before calling any Bridge function.

The status of Linux boot can be easily retrieved by checking
the status of GPIO G13 (67 in Arduino world).

Please note that this will be operational only after a new release
of zephyr-sketch-tool
threads: change main thread priority to 14
ci: fix UNO Q and Community Boards package name
- Increase heap size.
- Fix flash partitions.

Signed-off-by: iabdalkader <i.abdalkader@gmail.com>
all: Remove superfluous prefix from boards config
wifi: fix race condition waiting for connect result
variants/arduino_portenta_h7_stm32h747xx_m7: Update board config.
The MOSI pin was not working on SPI
as the MOSI pin was coming up in AF mode 1
(i.e. timer).

More details in the forum thread:
https://forum.arduino.cc/t/spi-spi2-does-not-appear-to-work-add-spi1/1411662/3
Uses the HWMv2 canonical board name to determine paths under variants.

Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
Disables processing when CONFIG_ARDUINO_API is disabled so that checking
the existence of variants does not work when this API is not used.

Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
- Fix socket timeout arg to use proper struct timeval
- Initialize addrinfo structs to prevent undefined behavior
- Add error checking for tls_credential_add() and setsockopt() calls
- Centralize socket cleanup in error path
- Change default return value to false for safer error handling
- Change cert args to const

Signed-off-by: iabdalkader <i.abdalkader@gmail.com>
Signed-off-by: iabdalkader <i.abdalkader@gmail.com>
libraries/SocketWrapper: Fix agrs and improve error handling.
fix: add all missing math.h functions
UNO Q: rename Arduino_RPCLite to Arduino_RPClite
Correct the io-channels ordering so that A4 maps to PC1 (ADC1 Channel 2) and
A5 maps to PC0 (ADC1 Channel 1).

The corresponding channels can be found in the STM datasheet on page 111. Also,
add some comments to clarify which pins are being used.
pillo79 and others added 29 commits February 16, 2026 14:21
llext: Add strnlen to exported symbols
cores: arduino: zephyrSerial: Add cast to suppress warning
Arduino.h: Correct LED_BUILTIN define order
PR arduino#309 addressed the C++ issues that were
causing the Ethernet examples to fail to link. With those fixes in
place, these examples can be removed from the known issues list.

Signed-off-by: Luca Burelli <l.burelli@arduino.cc>
experimental results here arduino#332 (comment)

On boards with different clock speed, function call overhead etc. the results may vary but will likely be consistent, given that all the boards share CONFIG_SYS_CLOCK_TICKS_PER_SEC

Co-authored-by: Martino Facchin <m.facchin@arduino.cc>
Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
extra/gen_rodata_ld: Add gen_rodata_ld tool.
misc: Implement two-pass linking to separate rodata sections.
ci: remove Ethernet examples from known issues list
-Os is already used in cpp flags but was missing from cflags.

Signed-off-by: iabdalkader <i.abdalkader@gmail.com>
platform.txt: Add missing -Os to cflags.
Co-authored-by: Per Tillisch <accounts@perglass.com>
Co-authored-by: Luca Burelli <pil@iol.it>
doc: README.md instructions for using a custom core in Arduino App Lab
Explicitly state the license in all source files to comply with SPDX
best practices. In addition, update the copyright notice to the new
format.
- ea_malloc: MIT (derived from https://github.com/embeddedartistry/c-linked-list)
- Arduino_LED_Matrix: Apache-2.0 (new code)
- Camera: LGPL-3.0+ (derived)
- all others: LGPL-2.1+ (derived)
We cannot depend on Zephyr's action since it actively flags any
non-Apache2 contribution. Instead, use the official scancode-action and
process the resulting JSON file to point out missing or new licenses.
treewide: fix SPDX license tags, enable license check
Action crashes if no files are found in the scancode-inputs folder.
scancode: skip processing if no new files found
Fixed to use %zu which corresponds to size_t.

Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
Use a formatter to standardize indentation.

Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
…th-arduino-repo

Conflicts:
	.gitignore
	CMakeLists.txt
	README.md
	cores/arduino/Arduino.h
	cores/arduino/main.cpp
	cores/arduino/zephyrCommon.cpp
	cores/arduino/zephyrPrint.cpp
	cores/arduino/zephyrPrint.h
	cores/arduino/zephyrSerial.cpp
	cores/arduino/zephyrSerial.h
	documentation/variants.md
	samples/analog_input/CMakeLists.txt
	samples/attach_interrupt/CMakeLists.txt
	samples/blinky_arduino/CMakeLists.txt
	samples/button_press_led/CMakeLists.txt
	samples/fade/CMakeLists.txt
	samples/hello_arduino/CMakeLists.txt
	samples/i2cdemo/CMakeLists.txt
	samples/serial_event/CMakeLists.txt
	samples/spi_controller/CMakeLists.txt
	samples/threads_arduino/CMakeLists.txt
	variants/arduino_nano_33_ble_nrf52840_sense/variant.h
	west.yml

Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
@soburi soburi force-pushed the reunite-with-arduino-repo branch from e57b468 to 8f10077 Compare February 26, 2026 20:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.