Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
300 commits
Select commit Hold shift + click to select a range
599a36f
removing additional arduino api pipeline entirely
michal-gora May 4, 2026
61a72f8
added more debug
michal-gora May 4, 2026
dee836e
added more debug checkpoints for finding the missing ArduinoAPI.h mis…
michal-gora May 4, 2026
462727b
reverting from gitmodules to symlink and west management
michal-gora May 4, 2026
3bcf2fe
fix: correct symlink target to include modules/lib/ path
michal-gora May 4, 2026
9269009
fix: use west path to locate ArduinoCore-API for archive
michal-gora May 4, 2026
6cbd9b6
fix: use 'west list -f {abspath}' instead of nonexistent 'west path'
michal-gora May 4, 2026
0b3e71c
fix: remove archive:false from arduino-api upload to fix download-art…
michal-gora May 4, 2026
2f0a0fa
fix: make --specs=nano.specs configurable, disable for kit_pse84_ai (…
michal-gora May 4, 2026
4fa0132
ci: skip unsupported library tests for kit_pse84_ai (CAN, Ethernet, R…
michal-gora May 4, 2026
5293064
ci: add publish-pse84 job to release complete CI-built tarball on tag…
michal-gora May 4, 2026
00176f4
fixing ci triggers
michal-gora May 5, 2026
8e1ad44
adjusting config path to openocd.cfg
michal-gora May 5, 2026
0415e52
ci: consolidate release publishing into release.yml, no double build
michal-gora May 5, 2026
9aea4a0
upload: use variant openocd.cfg with explicit path in upload pattern
michal-gora May 5, 2026
04708cd
fixing workflow artifact referencing
michal-gora May 5, 2026
44784c4
fixing workflow artifact referencing again
michal-gora May 5, 2026
4b21c1b
ci: deprecate release workflow and update documentation
michal-gora May 5, 2026
cdfbd60
ci: enhance release workflow to automate version bumping and tagging
michal-gora May 11, 2026
8e1e939
fix: add bootloader file handling for Zephyr variants in packaging sc…
michal-gora May 11, 2026
e3c65d2
fix: update OpenOCD version to 5.16.1 and add new binaries for Linux,…
michal-gora May 11, 2026
f006e1b
restoring old openocd.cfg again
michal-gora May 11, 2026
f318e4e
fix: add OpenOCD upload and program patterns for Windows
michal-gora May 11, 2026
98ee916
fix: add default programmer and bootloader upload pattern for Windows…
michal-gora May 11, 2026
282d62d
fix: update OpenOCD bootloader upload pattern for Windows to include …
michal-gora May 11, 2026
bbbbe13
fix: enhance firmware packaging logic to handle signed and unsigned h…
michal-gora May 11, 2026
ca1b8ca
fix: removing verify -> update OpenOCD bootloader upload pattern for …
michal-gora May 11, 2026
a078ea5
fix: add UART configuration options for improved serial communication…
michal-gora May 11, 2026
91af215
fix: update UART configuration to ensure reliable Serial communicatio…
michal-gora May 11, 2026
b9bb90e
feat: add script to apply Zephyr patches and ensure they are applied …
michal-gora May 11, 2026
4becf71
fix: update Zephyr module path resolution and improve error handling …
michal-gora May 11, 2026
7e8d78f
fix: add new tools to package_infineon_pse84_index.template.json and …
michal-gora May 18, 2026
9a1605a
fix: remove VID and PID entries from kit_pse84_ai configuration to di…
michal-gora May 18, 2026
0277804
fix: update toolchain URLs and checksums in package_infineon_pse84_in…
michal-gora May 18, 2026
7d49a0b
fix: standardize naming from PSoC Edge to PSOC Edge in configuration …
michal-gora May 18, 2026
f915fcd
fix: synchronizing forgotten variant.h definitions
michal-gora May 18, 2026
7221966
attempting adding USB HID support
michal-gora May 19, 2026
b7169c1
HID.h fix attempt
michal-gora May 19, 2026
9b86d24
fix attempt2: include of usbd_hid.h added in llext_export.c
michal-gora May 19, 2026
601568c
fix HID attempt3
michal-gora May 19, 2026
c68ae9a
fix HID attempt4
michal-gora May 19, 2026
d4dfb6e
Revert USB HID support attempt
michal-gora May 19, 2026
a9a4a08
Revert USB HID support attempt
michal-gora May 19, 2026
c0c8b0f
Merge branch 'main' of https://github.com/michal-gora/ArduinoCore-zephyr
michal-gora May 26, 2026
81e17f2
settings.json
michal-gora May 26, 2026
fc60c95
added original boards to boards.txt and platform.txt
michal-gora May 26, 2026
3e5445f
Add conditional checks for board compatibility with Zephyr 4.4.0 in C…
michal-gora May 26, 2026
9ff0bed
Remove conditional checks for board compatibility with Zephyr 4.4.0 i…
michal-gora May 28, 2026
4008edf
Disabling other boards by commenting out
michal-gora May 28, 2026
5318675
fixing newlib incompatibility for kit_pse84_ai
michal-gora May 28, 2026
954d356
Added correct pinout
michal-gora May 28, 2026
900e6c6
fix: Enable GPIO ports for additional functionality in overlay config…
michal-gora May 28, 2026
c2db569
reducing package_core.yml inconsistencies 1
michal-gora Jun 1, 2026
53f7eac
Merge upstream/main: ci-builds tracking, split CI scripts, snippet ar…
michal-gora Jun 1, 2026
327eae4
align package_core.yml with upstream/main post-merge
michal-gora Jun 1, 2026
7bb4349
reducing package_core.yml inconsistencies 2
michal-gora Jun 2, 2026
66bdd9c
reducing package_core.yml inconsistencies 2 revert
michal-gora Jun 2, 2026
4550a5c
reducing package_core.yml inconsistencies 3, refactor: simplify workf…
michal-gora Jun 2, 2026
3fc46fa
refactor: streamline API archiving process in package_core.yml
michal-gora Jun 2, 2026
364c16f
fix: correct artifact names and disable archiving for arduino-api
michal-gora Jun 2, 2026
3a6f578
feat: add artifact upload for input test reports and disable archiving
michal-gora Jun 2, 2026
8de0973
refactor: separate release jobs to new workflow file
michal-gora Jun 2, 2026
e9d3229
refactor: remove HEAD_REF usage in checkout actions
michal-gora Jun 2, 2026
b13b337
remove .vscode
michal-gora Jun 2, 2026
bb8bebd
remove release.yml
michal-gora Jun 2, 2026
120d06e
feat: add .gitmodules file for submodule management
michal-gora Jun 2, 2026
bf430e5
fix: remove unnecessary newline in .gitignore and package_core.yml
michal-gora Jun 2, 2026
383e253
fix: update pip install path for Zephyr requirements in bootstrap script
michal-gora Jun 2, 2026
18241ee
fix: remove imgtool Python dependencies installation workaround for P…
michal-gora Jun 8, 2026
1467b59
fix: clean up build.sh by cleaning zephyr.signed.hex logic into patch
michal-gora Jun 8, 2026
7044df3
fix: changing tabs to spaces
michal-gora Jun 8, 2026
8a3426a
fix: remove unused TEMP_BOOTLOADERS variable and related logic from p…
michal-gora Jun 8, 2026
18661cc
fix: export additional ARM IRQ functions and enable shared interrupts…
michal-gora Jun 8, 2026
86dcd5f
fix and test: add additional wrapper functions W1/W2/W3/etc. for memo…
michal-gora Jun 8, 2026
d45cb2b
fix: add bootloader path for kit_pse84_ai configuration
michal-gora Jun 8, 2026
82ef444
fix: update bootloader handling for kit_pse84_ai configuration
michal-gora Jun 8, 2026
31f920e
fix: update concurrency settings to allow parallel runs in workflows
michal-gora Jun 8, 2026
9415358
fix: simplify OpenOCD upload and bootloader patterns for kit_pse84_ai…
michal-gora Jun 8, 2026
e8d6edb
fix and test: enable flash driver and partition map for PSE84 support
michal-gora Jun 8, 2026
2b26e66
fix: add bootloader path for kit_pse84_ai configuration
michal-gora Jun 8, 2026
a1fad7a
fix: streamline flash area handling in loader function
michal-gora Jun 8, 2026
915872b
fix: update flash driver and partition map configuration for PSE84 su…
michal-gora Jun 8, 2026
49b8e59
fix: add SPI1 bus configuration for external header support
michal-gora Jun 8, 2026
b29f6ad
fix and experiment: enable flash driver and update partition map for …
michal-gora Jun 8, 2026
27bb2ad
fix: update flash0 base and user sketch offset for PSE84 secure XIP
michal-gora Jun 9, 2026
77c9ef3
fix: update SPI bus configuration, disabled &spi0, only &spi1 enabled
michal-gora Jun 9, 2026
79cc15e
fix: set maximum frequency for SPI1 bus configuration
michal-gora Jun 9, 2026
3fc10d6
fix: update OpenOCD configuration and compiler flags for improved bui…
michal-gora Jun 9, 2026
35fd3c0
fix: add machine flags for Cortex-M33 configuration
michal-gora Jun 9, 2026
b091a83
test: main.c, test: fix spi by adjusting spi macros in variant.h
michal-gora Jun 10, 2026
73622ed
fix: add link command for KIT_PSE84_AI build configuration
michal-gora Jun 10, 2026
16fc4e6
fix: clang-format
michal-gora Jun 10, 2026
d929e2e
fix: cleaning main.c and testing: update upload address for KIT_PSE84…
michal-gora Jun 10, 2026
e241036
falling back to main.c with macros
michal-gora Jun 11, 2026
2aa6584
fix: update SPI configuration by removing clock-div setting for peri0…
michal-gora Jun 11, 2026
6f27b75
fix: add zephyr-check-size tool and update SPI bus comment in overlay
michal-gora Jun 11, 2026
7f62ad4
fix: update bootloader path in OpenOCD commands for kit_pse84_ai
michal-gora Jun 11, 2026
4573554
fix: update OpenOCD bootloader pattern for kit_pse84_ai to use zephyr…
michal-gora Jun 11, 2026
efc7daa
fix: update SPI pin comments and add digital pin aliases in variant.h
michal-gora Jun 11, 2026
f1f3a27
fix: restore cancel-in-progress behavior for concurrency in CI workflows
michal-gora Jun 11, 2026
3d56c66
loader: guard flash_area calls with CONFIG_FLASH_MAP for PSoC Edge PSE84
michal-gora Apr 22, 2026
d592b5d
variants: add KIT-PSE84-AI (PSoC Edge E84) board variant
michal-gora Apr 22, 2026
341af34
boards: add Infineon KIT-PSE84-AI (PSoC Edge E84)
michal-gora Apr 22, 2026
9a9789c
platform: add openocd_infineon tool for Infineon KitProg3 boards (PSo…
michal-gora Apr 22, 2026
dbb1b4e
cores: update llext_wrappers.c for PSoC Edge PSE84 Loader exports
michal-gora Apr 22, 2026
4450fff
Creating release.yml for github workflows default infineon arduino-de…
michal-gora Apr 22, 2026
985140b
added firmware
michal-gora Apr 22, 2026
adbc413
added write permissions to release workflow
michal-gora Apr 22, 2026
5915e70
debuggin added write permissions to release workflow
michal-gora Apr 22, 2026
6bdd0f4
debuggin added write permissions to release workflow
michal-gora Apr 22, 2026
843dce2
added .template.json file
michal-gora Apr 22, 2026
d42864e
debugging
michal-gora Apr 22, 2026
e3c7789
debugging
michal-gora Apr 27, 2026
adac60b
debugging
michal-gora Apr 27, 2026
3162964
debugging
michal-gora Apr 27, 2026
afcd7e5
debugging
michal-gora Apr 27, 2026
2829a8b
Fix: register ArduinoCore-API as a proper git submodule
michal-gora Apr 27, 2026
26000f7
Switch to upstream Zephyr v4.4.0, strip boards to PSE84 only
michal-gora Apr 27, 2026
665ec6c
adjusted build.yml
michal-gora Apr 27, 2026
bfb4520
updated zephyr sdk to 1.0.1
michal-gora Apr 27, 2026
3a9fb2b
fixed repo owner mistake
michal-gora Apr 27, 2026
242dabb
modified kit_pse84 conf, testing
michal-gora Apr 27, 2026
c2ba84f
added missing toolsDependencies, i.e. compiler in .template.json file
michal-gora Apr 27, 2026
2d16ff9
adjusting for arm-zephyr-eabi toolachain and adding repackaging for w…
michal-gora Apr 27, 2026
a25ab3d
adjusted arum-zephyr-eabi .tar.xz archive data into .template.json
michal-gora Apr 27, 2026
eae4c8a
removed DYNAMIC_INTERRUPTS=n from kit_pse84...conf file
michal-gora Apr 27, 2026
38e5e64
fixing openocd use
michal-gora Apr 27, 2026
112ad66
enabling CONFIG_DYNAMIC_INTERRUPTS=y again
michal-gora Apr 27, 2026
30f167a
ci: trigger package_core workflow for diagnostics
michal-gora Apr 28, 2026
a321eda
more debug messages
michal-gora Apr 28, 2026
2c64814
platform.txt cleanup
michal-gora Apr 28, 2026
d8bea95
removing CONFIG_DYNAMIC_INTERRUPTS from .conf
michal-gora Apr 28, 2026
ec83b08
CONFIG_DYNAMIC_INTERRUPTS=n
michal-gora Apr 28, 2026
75dd147
forcing CONFIG_DYNAMIC_INTERRUPTS=n in build.sh script
michal-gora Apr 28, 2026
0571258
path fix
michal-gora Apr 28, 2026
b38f137
-DCONFIG_DYNAMIC_INTERRUPTS=n with log instead
michal-gora Apr 28, 2026
31b41ad
commentingm out CONFIG_DYNAMIC_INTERRUPTS export symbols
michal-gora Apr 29, 2026
e021da6
replaced imgtool with openocd in boards.txt for psoc edge
michal-gora Apr 29, 2026
a91cc35
changing remaining openocd_infineon to openocd
michal-gora Apr 29, 2026
8728066
removing unnecessary variant folders, using prj.conf for CONFIG_BOOTL…
michal-gora Apr 29, 2026
77259a4
always print .config, and always pass DCONFIG flags
michal-gora Apr 29, 2026
20d4998
printing whole west build command
michal-gora Apr 29, 2026
4baa294
pip install cryptography added
michal-gora Apr 29, 2026
c7fe9a2
installing imgloader prerequisite pip packages, and adjusting west bu…
michal-gora May 4, 2026
208bb6f
adjusting llext_exports.c file
michal-gora May 4, 2026
51217f7
rm -rf for removing submodule dir and broken symlink
michal-gora May 4, 2026
60b44ab
installing arm-zephyr-eabi 1.0.1 version in package_core.yml
michal-gora May 4, 2026
b6dc5d8
ci: fix arm-zephyr-eabi 1.0.1 install in test-core job
michal-gora May 4, 2026
3a51064
wget url fixed
michal-gora May 4, 2026
a0c016f
fixed arduino api naming in package_core.yml
michal-gora May 4, 2026
b732f7a
removing additional arduino api pipeline entirely
michal-gora May 4, 2026
5279d14
added more debug
michal-gora May 4, 2026
7b2e477
added more debug checkpoints for finding the missing ArduinoAPI.h mis…
michal-gora May 4, 2026
6c68f34
reverting from gitmodules to symlink and west management
michal-gora May 4, 2026
de3272f
fix: correct symlink target to include modules/lib/ path
michal-gora May 4, 2026
b7bacba
fix: use west path to locate ArduinoCore-API for archive
michal-gora May 4, 2026
ca0bcf6
fix: use 'west list -f {abspath}' instead of nonexistent 'west path'
michal-gora May 4, 2026
24c3f94
fix: remove archive:false from arduino-api upload to fix download-art…
michal-gora May 4, 2026
237290f
fix: make --specs=nano.specs configurable, disable for kit_pse84_ai (…
michal-gora May 4, 2026
7b6d2af
ci: skip unsupported library tests for kit_pse84_ai (CAN, Ethernet, R…
michal-gora May 4, 2026
b671341
ci: add publish-pse84 job to release complete CI-built tarball on tag…
michal-gora May 4, 2026
1b6f133
fixing ci triggers
michal-gora May 5, 2026
4be79cc
adjusting config path to openocd.cfg
michal-gora May 5, 2026
c6e0ecf
ci: consolidate release publishing into release.yml, no double build
michal-gora May 5, 2026
79d5e99
upload: use variant openocd.cfg with explicit path in upload pattern
michal-gora May 5, 2026
f138355
fixing workflow artifact referencing
michal-gora May 5, 2026
de80b8c
fixing workflow artifact referencing again
michal-gora May 5, 2026
32b88cf
ci: deprecate release workflow and update documentation
michal-gora May 5, 2026
d6a4da0
fix: add bootloader file handling for Zephyr variants in packaging sc…
michal-gora May 11, 2026
22eacff
fix: update OpenOCD version to 5.16.1 and add new binaries for Linux,…
michal-gora May 11, 2026
2a0f0c4
restoring old openocd.cfg again
michal-gora May 11, 2026
ca56cea
fix: add OpenOCD upload and program patterns for Windows
michal-gora May 11, 2026
defff1e
fix: add default programmer and bootloader upload pattern for Windows…
michal-gora May 11, 2026
247bc4d
fix: update OpenOCD bootloader upload pattern for Windows to include …
michal-gora May 11, 2026
92f96f2
fix: enhance firmware packaging logic to handle signed and unsigned h…
michal-gora May 11, 2026
286cb5a
fix: removing verify -> update OpenOCD bootloader upload pattern for …
michal-gora May 11, 2026
32e26ad
fix: add UART configuration options for improved serial communication…
michal-gora May 11, 2026
a40a11c
fix: update UART configuration to ensure reliable Serial communicatio…
michal-gora May 11, 2026
de52865
feat: add script to apply Zephyr patches and ensure they are applied …
michal-gora May 11, 2026
11b5a5f
fix: update Zephyr module path resolution and improve error handling …
michal-gora May 11, 2026
68968e7
fix: add new tools to package_infineon_pse84_index.template.json and …
michal-gora May 18, 2026
469baf7
fix: remove VID and PID entries from kit_pse84_ai configuration to di…
michal-gora May 18, 2026
78305f7
fix: update toolchain URLs and checksums in package_infineon_pse84_in…
michal-gora May 18, 2026
f1ffe6a
fix: standardize naming from PSoC Edge to PSOC Edge in configuration …
michal-gora May 18, 2026
6573f5f
fix: synchronizing forgotten variant.h definitions
michal-gora May 18, 2026
3d9b5e7
attempting adding USB HID support
michal-gora May 19, 2026
941ff45
HID.h fix attempt
michal-gora May 19, 2026
b2718f9
fix attempt2: include of usbd_hid.h added in llext_export.c
michal-gora May 19, 2026
fd532c3
fix HID attempt3
michal-gora May 19, 2026
bee1268
fix HID attempt4
michal-gora May 19, 2026
2e5975b
Revert USB HID support attempt
michal-gora May 19, 2026
96264f7
settings.json
michal-gora May 26, 2026
e76f1b8
added original boards to boards.txt and platform.txt
michal-gora May 26, 2026
31a020c
Add conditional checks for board compatibility with Zephyr 4.4.0 in C…
michal-gora May 26, 2026
33a13a7
Remove conditional checks for board compatibility with Zephyr 4.4.0 i…
michal-gora May 28, 2026
21c167b
Disabling other boards by commenting out
michal-gora May 28, 2026
47b6efd
fixing newlib incompatibility for kit_pse84_ai
michal-gora May 28, 2026
a243fc3
Added correct pinout
michal-gora May 28, 2026
1f8b059
fix: Enable GPIO ports for additional functionality in overlay config…
michal-gora May 28, 2026
5f4fd10
reducing package_core.yml inconsistencies 1
michal-gora Jun 1, 2026
592b513
align package_core.yml with upstream/main post-merge
michal-gora Jun 1, 2026
be871dd
reducing package_core.yml inconsistencies 2
michal-gora Jun 2, 2026
37f322a
reducing package_core.yml inconsistencies 2 revert
michal-gora Jun 2, 2026
5342311
reducing package_core.yml inconsistencies 3, refactor: simplify workf…
michal-gora Jun 2, 2026
218819b
refactor: streamline API archiving process in package_core.yml
michal-gora Jun 2, 2026
d0f4a4f
fix: correct artifact names and disable archiving for arduino-api
michal-gora Jun 2, 2026
235684a
feat: add artifact upload for input test reports and disable archiving
michal-gora Jun 2, 2026
2a204c3
refactor: separate release jobs to new workflow file
michal-gora Jun 2, 2026
7789827
refactor: remove HEAD_REF usage in checkout actions
michal-gora Jun 2, 2026
5b7ac2d
remove .vscode
michal-gora Jun 2, 2026
1065b32
remove release.yml
michal-gora Jun 2, 2026
7d0c01d
feat: add .gitmodules file for submodule management
michal-gora Jun 2, 2026
54feef6
fix: update pip install path for Zephyr requirements in bootstrap script
michal-gora Jun 2, 2026
37340c2
fix: remove imgtool Python dependencies installation workaround for P…
michal-gora Jun 8, 2026
7233b3e
fix: clean up build.sh by cleaning zephyr.signed.hex logic into patch
michal-gora Jun 8, 2026
4a87637
fix: changing tabs to spaces
michal-gora Jun 8, 2026
94f1468
fix: remove unused TEMP_BOOTLOADERS variable and related logic from p…
michal-gora Jun 8, 2026
44790af
fix: export additional ARM IRQ functions and enable shared interrupts…
michal-gora Jun 8, 2026
c527e5e
fix and test: add additional wrapper functions W1/W2/W3/etc. for memo…
michal-gora Jun 8, 2026
7303278
fix: add bootloader path for kit_pse84_ai configuration
michal-gora Jun 8, 2026
0699b5c
fix: update bootloader handling for kit_pse84_ai configuration
michal-gora Jun 8, 2026
eae9f7d
fix: update concurrency settings to allow parallel runs in workflows
michal-gora Jun 8, 2026
1bc37c0
fix: simplify OpenOCD upload and bootloader patterns for kit_pse84_ai…
michal-gora Jun 8, 2026
2e4f402
fix and test: enable flash driver and partition map for PSE84 support
michal-gora Jun 8, 2026
d745884
fix: add bootloader path for kit_pse84_ai configuration
michal-gora Jun 8, 2026
2f24bf2
fix: streamline flash area handling in loader function
michal-gora Jun 8, 2026
ee753ca
fix: update flash driver and partition map configuration for PSE84 su…
michal-gora Jun 8, 2026
69af116
fix: add SPI1 bus configuration for external header support
michal-gora Jun 8, 2026
68ac792
fix and experiment: enable flash driver and update partition map for …
michal-gora Jun 8, 2026
552be0f
fix: update flash0 base and user sketch offset for PSE84 secure XIP
michal-gora Jun 9, 2026
69e5215
fix: update SPI bus configuration, disabled &spi0, only &spi1 enabled
michal-gora Jun 9, 2026
44fd476
fix: set maximum frequency for SPI1 bus configuration
michal-gora Jun 9, 2026
e580982
fix: update OpenOCD configuration and compiler flags for improved bui…
michal-gora Jun 9, 2026
b037b45
fix: add machine flags for Cortex-M33 configuration
michal-gora Jun 9, 2026
d7f3b8d
test: main.c, test: fix spi by adjusting spi macros in variant.h
michal-gora Jun 10, 2026
f2090cc
fix: add link command for KIT_PSE84_AI build configuration
michal-gora Jun 10, 2026
45753c7
fix: clang-format
michal-gora Jun 10, 2026
6dab509
fix: cleaning main.c and testing: update upload address for KIT_PSE84…
michal-gora Jun 10, 2026
dfc9947
falling back to main.c with macros
michal-gora Jun 11, 2026
cdd2bb0
fix: update SPI configuration by removing clock-div setting for peri0…
michal-gora Jun 11, 2026
d5939d8
fix: add zephyr-check-size tool and update SPI bus comment in overlay
michal-gora Jun 11, 2026
be1ba11
fix: update bootloader path in OpenOCD commands for kit_pse84_ai
michal-gora Jun 11, 2026
e54a3a3
fix: update OpenOCD bootloader pattern for kit_pse84_ai to use zephyr…
michal-gora Jun 11, 2026
8cbe9a1
fix: update SPI pin comments and add digital pin aliases in variant.h
michal-gora Jun 11, 2026
f275ff4
fix: restore cancel-in-progress behavior for concurrency in CI workflows
michal-gora Jun 11, 2026
7f3b0bd
Merge branch 'main' of https://github.com/michal-gora/ArduinoCore-zephyr
michal-gora Jun 11, 2026
3af1317
fix: remove obsolete OpenOCD binary files for different platforms
michal-gora Jun 11, 2026
7e09ec7
fix: move bootloader configuration to kit_pse84_ai_pse846gps2dbzc4a_m…
michal-gora Jun 11, 2026
032dfed
removing zephyr.signed.hex file renaming patch
michal-gora Jun 12, 2026
7be7808
fix: build.sh should use zephyr.signed.hex if available
michal-gora Jun 12, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 10 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,14 +54,18 @@ jobs:
run: |
echo EXTRA_ZEPHYR_MODULES="$(pwd)/$MODULE_PATH" >> $GITHUB_ENV

- name: Build fade
- name: Apply Zephyr patches

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wonder the scope of build check for this build.yml workflow. It looks like an arbitrary set of checks for boards and examples.
How this should look when contributing to the official repo?

run: |
west build -p -b arduino_nano_33_ble//sense $MODULE_PATH/samples/fade
bash $MODULE_PATH/extra/apply_zephyr_patches.sh

- name: Build i2cdemo
- name: Build blinky
run: |
west build -p -b ek_ra8d1 $MODULE_PATH/samples/i2cdemo
west build -p -b kit_pse84_ai/pse846gps2dbzc4a/m33 $MODULE_PATH/samples/blinky_arduino

- name: Build adc
- name: Build hello
run: |
west build -p -b arduino_nano_33_ble/nrf52840/sense $MODULE_PATH/samples/analog_input
west build -p -b kit_pse84_ai/pse846gps2dbzc4a/m33 $MODULE_PATH/samples/hello_arduino

- name: Build threads
run: |
west build -p -b kit_pse84_ai/pse846gps2dbzc4a/m33 $MODULE_PATH/samples/threads_arduino
15 changes: 15 additions & 0 deletions .github/workflows/package_core.yml
Original file line number Diff line number Diff line change
Expand Up @@ -360,6 +360,21 @@ jobs:
tar xf ${CORE_ARTIFACT} # will create ArduinoCore-zephyr/
echo "REPORT_FILE=$(echo ${FQBN} | tr ':' '-').json" >> $GITHUB_ENV

- name: Install arm-zephyr-eabi 1.0.1 for zephyr_contrib boards
# zephyr_contrib boards (e.g. kit_pse84_ai) use Zephyr 4.4.0 + SDK 1.0.1.
# The Board Manager only ships arm-zephyr-eabi-0.16.8 (for SDK 0.16.8/Zephyr 4.2.0).
# We install 1.0.1 manually into the arduino-cli packages path so that
# {runtime.tools.arm-zephyr-eabi-1.0.1.path} resolves correctly during compilation.
if: ${{ matrix.subarch == 'zephyr_contrib' }}
run: |
TOOL_DIR=~/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/1.0.1
if [ ! -d "$TOOL_DIR/bin" ]; then
mkdir -p "$TOOL_DIR"
wget -q https://github.com/zephyrproject-rtos/sdk-ng/releases/download/v1.0.1/toolchain_gnu_linux-x86_64_arm-zephyr-eabi.tar.xz -O /tmp/arm-zephyr-eabi.tar.xz
tar -xf /tmp/arm-zephyr-eabi.tar.xz -C "$TOOL_DIR" --strip-components=1
rm /tmp/arm-zephyr-eabi.tar.xz
fi

- name: Get test sketches
run: |
# sets ALL_TESTS and ALL_LIBRARIES env vars in GITHUB_ENV
Expand Down
171 changes: 171 additions & 0 deletions .github/workflows/release_pse84.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,171 @@
# Copyright (c) Arduino s.r.l. and/or its affiliated companies
# SPDX-License-Identifier: Apache-2.0

# PSE84-specific release workflow: triggered automatically when package_core.yml
# completes successfully on main. Bumps the version, tags the commit, and
# publishes the ArduinoCore-zephyr_contrib package as a GitHub Release.

name: Release PSE84

on:
workflow_run:
workflows: ["Package, test and upload core"]
types: [completed]
branches: [main]

jobs:

bump-version-and-tag:
name: Bump version, tag, and create release
runs-on: ubuntu-latest
if: ${{ github.event.workflow_run.conclusion == 'success' && github.repository == 'michal-gora/ArduinoCore-zephyr' && github.triggering_actor != 'github-actions[bot]' }}
permissions:
contents: write
outputs:
release_tag: ${{ steps.release_tag.outputs.release_tag }}
steps:

- uses: actions/checkout@v6
with:
fetch-depth: 0
fetch-tags: true

- name: Compute next release tag
id: release_tag
env:
RELEASE_BUMP: patch
run: |
git fetch --tags

EXISTING_TAG=$(git tag --points-at "${{ github.event.workflow_run.head_sha }}" --list '[0-9]*.[0-9]*.[0-9]*' --sort=-v:refname | head -n1)
if [ -n "${EXISTING_TAG}" ]; then
echo "Using existing tag on HEAD: ${EXISTING_TAG}"
echo "release_tag=${EXISTING_TAG}" >> "$GITHUB_OUTPUT"
exit 0
fi

LAST_TAG=$(git tag --list '[0-9]*.[0-9]*.[0-9]*' --sort=-v:refname | head -n1)
if [ -z "${LAST_TAG}" ]; then
LAST_TAG="0.0.0"
fi

IFS='.' read -r MAJOR MINOR PATCH <<< "${LAST_TAG}"
case "${RELEASE_BUMP}" in
major)
MAJOR=$((MAJOR + 1))
MINOR=0
PATCH=0
;;
minor)
MINOR=$((MINOR + 1))
PATCH=0
;;
*)
PATCH=$((PATCH + 1))
;;
esac

NEW_TAG="${MAJOR}.${MINOR}.${PATCH}"
echo "release_tag=${NEW_TAG}" >> "$GITHUB_OUTPUT"

- name: Create release (and tag if missing)
env:
GH_TOKEN: ${{ github.token }}
TAG: ${{ steps.release_tag.outputs.release_tag }}
run: |
if gh release view "${TAG}" >/dev/null 2>&1; then
echo "Release ${TAG} already exists"
else
gh release create "${TAG}" \
--target "${{ github.event.workflow_run.head_sha }}" \
--title "ArduinoCore-zephyr-pse84 ${TAG}" \
--notes "Automated release for ${{ github.event.workflow_run.head_sha }}."
fi


publish-pse84-release:
name: Publish PSE84 release assets
runs-on: ubuntu-latest
needs:
- bump-version-and-tag
if: ${{ needs.bump-version-and-tag.result == 'success' }}
permissions:
contents: write
actions: read
env:
GH_TOKEN: ${{ github.token }}
GH_REPO: ${{ github.repository }}
TAG: ${{ needs.bump-version-and-tag.outputs.release_tag }}
steps:

- uses: actions/checkout@v6
with:
fetch-depth: 0
persist-credentials: false
fetch-tags: true

- name: Download zephyr_contrib artifact from triggering workflow run
uses: actions/download-artifact@v8
with:
pattern: ArduinoCore-zephyr_contrib-*
path: release-assets
merge-multiple: true
run-id: ${{ github.event.workflow_run.id }}
github-token: ${{ secrets.GITHUB_TOKEN }}

- name: Normalize artifact filename for release tag
run: |
if [ -z "${TAG}" ]; then
echo "Release tag is empty" >&2
exit 1
fi

TAR_FILE=$(ls release-assets/ArduinoCore-zephyr_contrib-*.tar.bz2 | head -n1)
if [ -z "${TAR_FILE}" ]; then
echo "Downloaded artifact does not contain expected tarball" >&2
exit 1
fi

OLD_BASENAME=$(basename "${TAR_FILE}")
NEW_BASENAME="ArduinoCore-zephyr_contrib-${TAG}.tar.bz2"

if [ "${OLD_BASENAME}" != "${NEW_BASENAME}" ]; then
mv "${TAR_FILE}" "release-assets/${NEW_BASENAME}"
echo "Renamed ${OLD_BASENAME} -> ${NEW_BASENAME}"
fi

echo "TAR_BASENAME=${NEW_BASENAME}" >> "$GITHUB_ENV"

- name: Generate package index JSON
run: |
ARTIFACT_PATH="release-assets/${TAR_BASENAME}"
SIZE=$(wc -c < "${ARTIFACT_PATH}")
SHA256=$(sha256sum "${ARTIFACT_PATH}" | cut -d' ' -f1)
URL="https://github.com/${GH_REPO}/releases/download/${TAG}/${TAR_BASENAME}"

python3 - <<EOF
import json

with open("package/package_infineon_pse84_index.template.json") as f:
idx = json.load(f)

p = idx["packages"][0]["platforms"][0]
p["version"] = "${TAG}"
p["archiveFileName"] = "${TAR_BASENAME}"
p["url"] = "${URL}"
p["checksum"] = "SHA-256:${SHA256}"
p["size"] = "${SIZE}"

with open("release-assets/package_infineon_pse84_index.json", "w") as f:
json.dump(idx, f, indent=2)
EOF

- name: Create or update GitHub Release assets
uses: softprops/action-gh-release@v2
with:
tag_name: ${{ env.TAG }}
name: ArduinoCore-zephyr-pse84 ${{ env.TAG }}
overwrite_files: true
files: |
release-assets/${{ env.TAR_BASENAME }}
release-assets/package_infineon_pse84_index.json
63 changes: 63 additions & 0 deletions .github/workflows/repackage_toolchain_windows.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
name: Repackage Windows Toolchain

# The Zephyr SDK only ships arm-zephyr-eabi for Windows as .7z, which Arduino
# CLI does not support. This workflow downloads the .7z, repacks it as .tar.xz,
# and uploads it to the specified GitHub release of this repo — the same
# approach Arduino uses for their own hosted toolchains.
#
# Run this once after creating a new release tag, then fill in the checksum and
# size printed at the end into the Windows entry of the package index template.

on:
workflow_dispatch:
inputs:
sdk_version:
description: 'Zephyr SDK version (e.g. 1.0.1)'
required: true
default: '1.0.1'
release_tag:
description: 'Release tag to upload the artifact to (e.g. 0.1.6)'
required: true

jobs:
repackage:
runs-on: windows-latest
steps:
- name: Download arm-zephyr-eabi .7z
run: |
$version = "${{ github.event.inputs.sdk_version }}"
$url = "https://github.com/zephyrproject-rtos/sdk-ng/releases/download/v${version}/toolchain_gnu_windows-x86_64_arm-zephyr-eabi.7z"
Write-Host "Downloading $url"
Invoke-WebRequest -Uri $url -OutFile "toolchain.7z"

- name: Extract .7z
run: 7z x toolchain.7z -o"toolchain_extracted" -y

- name: Repack as .tar.xz
run: |
$version = "${{ github.event.inputs.sdk_version }}"
$tarName = "toolchain_gnu_windows-x86_64_arm-zephyr-eabi-${version}.tar.xz"
tar -cJf $tarName -C toolchain_extracted .
echo "TAR_NAME=$tarName" >> $env:GITHUB_ENV

- name: Compute SHA-256 and size
run: |
$hash = (Get-FileHash -Algorithm SHA256 $env:TAR_NAME).Hash.ToLower()
$size = (Get-Item $env:TAR_NAME).Length
echo "TAR_SHA256=$hash" >> $env:GITHUB_ENV
echo "TAR_SIZE=$size" >> $env:GITHUB_ENV

- name: Upload to GitHub Release
uses: softprops/action-gh-release@v2
with:
tag_name: ${{ github.event.inputs.release_tag }}
files: ${{ env.TAR_NAME }}

- name: Print package index values
run: |
Write-Host ""
Write-Host "=== Paste these into the Windows entry of the package index template ==="
Write-Host "archiveFileName : $env:TAR_NAME"
Write-Host "url : https://github.com/${{ github.repository }}/releases/download/${{ github.event.inputs.release_tag }}/$env:TAR_NAME"
Write-Host "checksum : SHA-256:$env:TAR_SHA256"
Write-Host "size : $env:TAR_SIZE"
Loading