Skip to content

Conversation

@soburi
Copy link
Member

@soburi soburi commented Feb 6, 2026

Import the loader, excluding the blobs files.
The blobs files must be changed to retrieve them from west blobs.

facchinm and others added 27 commits February 7, 2026 08:03
Co-authored-by: Martino Facchin <m.facchin@arduino.cc>
Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
Co-authored-by: Martino Facchin <m.facchin@arduino.cc>
Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
Co-authored-by: Martino Facchin <m.facchin@arduino.cc>
Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
Note by committer: Only under the `loader` was picked.

Co-authored-by: Martino Facchin <m.facchin@arduino.cc>
Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
Note by committer: Only under the `loader` was picked.

Co-authored-by: Martino Facchin <m.facchin@arduino.cc>
Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
Note by committer: Only under the `loader` was picked.

Co-authored-by: Martino Facchin <m.facchin@arduino.cc>
Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
Co-authored-by: Martino Facchin <m.facchin@arduino.cc>
Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
Co-authored-by: Martino Facchin <m.facchin@arduino.cc>
Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
Note by committer: Only under the `loader` was picked.

Co-authored-by: Martino Facchin <m.facchin@arduino.cc>
Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
Note by committer: Only under the `loader` was picked.

Co-authored-by: Martino Facchin <m.facchin@arduino.cc>
Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
Note by committer: Only under the `loader` was picked.

Co-authored-by: Martino Facchin <m.facchin@arduino.cc>
Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
Co-authored-by: Martino Facchin <m.facchin@arduino.cc>
Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
Co-authored-by: Martino Facchin <m.facchin@arduino.cc>
Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
Co-authored-by: Martino Facchin <m.facchin@arduino.cc>
Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
Co-authored-by: Martino Facchin <m.facchin@arduino.cc>
Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
Co-authored-by: Martino Facchin <m.facchin@arduino.cc>
Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
Co-authored-by: Martino Facchin <m.facchin@arduino.cc>
Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
Tested with NTPClient and ArduinoMDNS

TODO: properly test multicast

Note by committer: Only under the `loader` was picked.

Co-authored-by: Martino Facchin <m.facchin@arduino.cc>
Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
Note by committer: Only under the `loader` was picked.

Co-authored-by: Martino Facchin <m.facchin@arduino.cc>
Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
Note by committer: Only under the `loader` was picked.

Co-authored-by: Mike S <CyberMerln@gmail.com>
Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
Co-authored-by: Mike S <CyberMerln@gmail.com>
Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
Note by committer: Only under the `loader` was picked.

Co-authored-by: Martino Facchin <m.facchin@arduino.cc>
Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
Note by committer: Only under the `loader` was picked.

Signed-off-by: iabdalkader <i.abdalkader@gmail.com>
Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
Co-authored-by: Mike S <CyberMerln@gmail.com>
Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
Co-authored-by: Martino Facchin <m.facchin@arduino.cc>
Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
Note by committer: Only under the `loader` was picked.

Co-authored-by: Martino Facchin <m.facchin@arduino.cc>
Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
Co-authored-by: Martino Facchin <m.facchin@arduino.cc>
Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
Copilot AI review requested due to automatic review settings February 6, 2026 23:58
@soburi soburi changed the title Import loader libraries: loader: Bump to 0.53.1 (excluding blobs) Feb 6, 2026
leonardocavagnis and others added 4 commits February 7, 2026 09:16
Note by committer: Only under the `loader` was picked.

Co-authored-by: Leonardo Cavagnis <l.cavagnis@arduino.cc>
Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
Note by committer: Only under the `loader` was picked.

Co-authored-by: pennam <m.pennasilico@arduino.cc>
Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
Note by committer: Only under the `loader` was picked.

Signed-off-by: iabdalkader <i.abdalkader@gmail.com>
Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
Co-authored-by: pennam <m.pennasilico@arduino.cc>
Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
pillo79 and others added 23 commits February 7, 2026 10:17
Reduces flash image size by 400kB.

Co-authored-by: Luca Burelli <l.burelli@arduino.cc>
Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
Fixes https://forum.arduino.cc/t/good-morning-everyone-app-lab-0-2-0-doesnt-load-the-modulino-h-library/1411464?u=facchinm

Co-authored-by: Martino Facchin <m.facchin@arduino.cc>
Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
Define _XOPEN_SOURCE=700 to use POSIX 2017 features in the loader and
Zephyr sketches.

Co-authored-by: Luca Burelli <l.burelli@arduino.cc>
Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
Fixes arduino#243 (comment)

Co-authored-by: Martino Facchin <m.facchin@arduino.cc>
Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
Co-authored-by: Hajime Fujimoto <hajime2008x@yahoo.co.jp>
Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
vsnprintf is needed to compile Arduino_ConnectionHandler library

Co-authored-by: Mattia Pennasilico <m.pennasilico@arduino.cc>
Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
Without the return statement on alloc failure 'flash_area_read'
gets an uninitialized pointer.

Co-authored-by: Tamas Jozsi <tamas.jozsi@silabs.com>
Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
The created sketch log structures depends on the config:

CONFIG_LOG (IMMEDIATE/DEFERRED): creates log_const_sketch struct.
CONFIG_LOG_RUNTIME_FILTERING (implied by CONFIG_SHELL): creates log_dynamic_sketch struct.
CONFIG_LOG_MODE_IMMEDIATE + CONFIG_SHELL: creates both.

Signed-off-by: iabdalkader <i.abdalkader@gmail.com>
Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
Signed-off-by: iabdalkader <i.abdalkader@gmail.com>
Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
- Disable CPP
- Disable shell
- Disable any debug log level
- Disable init stacks.

Signed-off-by: iabdalkader <i.abdalkader@gmail.com>
Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
pulseIn() and friends rely on being able to query GPIO pin direction,
which was not enabled in the Zephyr configuration.

Note by committer: Only under the `loader` was picked.

Signed-off-by: Luca Burelli <l.burelli@arduino.cc>
Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
In DEBUG mode if SHELL is disabled and board has a logging uart,
loader will use it to print logs

Co-authored-by: pennam <m.pennasilico@arduino.cc>
Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
As of now GIGA R1 is the only varian with CONFIG_INPUT=y.
On all the other variants this 2 configs are useless and generating warnings.

Co-authored-by: pennam <m.pennasilico@arduino.cc>
Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
Note by committer: Only under the `loader` was picked.

Co-authored-by: pennam <m.pennasilico@arduino.cc>
Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
Co-authored-by: Martino Facchin <m.facchin@arduino.cc>
Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
This allows you to then change the sketch(s) used within the test apps
for the Q to use this header file with little changes to them.

Like the Weather forecast on LED matrix

    #include "Arduino_LED_Matrix.h"
    Arduino_LED_Matrix matrix;

    void setup() {
      matrix.begin();
      ...

Or in my test app I also then included ArduinoGraphics

    #include <Arduino_RouterBridge.h>
    #include "ArduinoGraphics.h"
    ...

Note by committer: Only under the `loader` was picked.

Co-authored-by: Kurt Eckhardt <kurte@rockisland.com>
Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
Restore a minimal error handling for analog_reference() by returning
an int status code.

Signed-off-by: Luca Burelli <l.burelli@arduino.cc>
Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
Co-authored-by: Luca Burelli <l.burelli@arduino.cc>
Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
c33: fix sketch upload without debug
others: remove usbd device already enabled warning

Co-authored-by: pennam <m.pennasilico@arduino.cc>
Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
Minor fixes for Arduino_JSON library compatibility:

- '__assert_no_args' and 'exit' are actually libc symbols, so the guards
  prevented their export in certain situations.

- _exit, stdin, stdout, stderr symbols are also exported to cover the
  dynamic link case.

- an 'undefined reference to _ctype_' error occurred because the libc is
  compiled with -Os, while the sketches are NOT - this creates an issue
  because the size optimization auto-selects a different version of
  ctype functions in picolibc. -D_PICOLIBC_CTYPE_SMALL=1 forces the
  small version to be used.

Note by committer: Only under the `loader` was picked.

Signed-off-by: Luca Burelli <l.burelli@arduino.cc>
Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
Co-authored-by: pennam <m.pennasilico@arduino.cc>
Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
Configure proprietary loader firmware images as downloadable blobs
so they can be fetched via `west blobs fetch`.

Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
Update CMake file paths to match the layout used by downloadable blobs
fetched via `west blobs fetch`.

Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
@soburi
Copy link
Member Author

soburi commented Feb 7, 2026

@pillo79

loader/blobs/4343WA1_clm_blob.c
loader/blobs/wifi_nvram_image.h
loader/blobs/c33_bl.bin

It would be better to change these files to be retrieved using the west blobs.
However, I don't know the details of these files to write the config file, so if you know any, could you please let me know?

  • Source-path (I've included the arduino-repo path for convenience, but if there is an "original" version, that would be preferable.)
  • License (only for c33_bl.bin)
  • Description (I've written what I can understand from the commit, but if you have more information, please let me know.)

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

Labels

DNM This PR should not be merged (Do Not Merge)

Projects

None yet

Development

Successfully merging this pull request may close these issues.