Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
ed52715
ci: add Infineon branch checks
IFX-Anusha Sep 15, 2026
5a54adb
ci: add local pre-commit checks
IFX-Anusha Sep 17, 2026
86a651d
ci: add upstream branch sync policy
IFX-Anusha Sep 16, 2026
8266b2f
ci: add per-board release-group packaging and Infineon build/package …
IFX-Anusha Sep 21, 2026
1fd32d2
ci(ifx_build): run feature-board samples step under bash
IFX-Anusha Sep 23, 2026
73207cb
ci(get_core_version): correctly detect version when no semver tag is …
IFX-Anusha Sep 23, 2026
93f6295
ci(ifx_build): extract feature-board native-samples build to a script
IFX-Anusha Sep 23, 2026
7c13f4b
ci: limit direct pushes to their board family's own boards
IFX-Anusha Sep 23, 2026
4994f18
ci(ifx_package_core): fall back to full board set if no feature board…
IFX-Anusha Sep 23, 2026
df9cc83
ci(ifx_package_core): apply feature-board filter to PRs too
IFX-Anusha Sep 23, 2026
7635084
ci(ifx_package_core): pre-install imgtool signing deps for kit_pse84_ai
IFX-Anusha Sep 23, 2026
4a8b8cf
README: add Infineon fork information
jaenrig-ifx Sep 24, 2026
4c546a2
edge: register PSoC Edge E84 board
IFX-Anusha Sep 18, 2026
c50ebef
edge: add PSoC Edge loader support
IFX-Anusha Sep 18, 2026
db19f16
edge: add PSoC Edge E84 variant
IFX-Anusha Sep 18, 2026
f8dff58
docs: add PSE84 Arduino API support tracking table
IFX-Anusha Sep 22, 2026
ab08c52
edge: opt PSoC Edge E84 into a standalone release package
IFX-Anusha Sep 21, 2026
e633998
edge: opt kit_pse84_ai into feature-board CI filtering
IFX-Anusha Sep 23, 2026
6b8c840
edge: enable native sample builds for kit_pse84_ai in CI
IFX-Anusha Sep 23, 2026
015b911
variants: enable analog IO for PSE84
AkshayChandra-IFX Sep 22, 2026
24c832d
fix PSoC Edge Arduino ADC build
AkshayChandra-IFX Sep 24, 2026
1074e30
fix: restore wiring analog from edge-main
AkshayChandra-IFX Sep 28, 2026
5743ef1
fix: guard optional PWM code for ADC-only boards
AkshayChandra-IFX Sep 28, 2026
f0d4cbc
fix: disable unsupported PWM for PSE84 ADC build
AkshayChandra-IFX Sep 28, 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
94 changes: 94 additions & 0 deletions .github/workflows/ifx_build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,94 @@
# Copyright (c) Arduino s.r.l. and/or its affiliated companies
# SPDX-License-Identifier: Apache-2.0

# Infineon-specific counterpart of build.yml: builds the same native Zephyr
# samples upstream builds, plus each feature board's own native samples (as
# declared by <board>.build.feature_board=true and
# <board>.build.ci_native_samples in boards.txt).
#
# Kept as a separate file (instead of editing build.yml) so upstream's own
# CI workflow stays untouched and rebases/syncs from upstream/main never
# conflict here.

name: Build native Zephyr samples (Infineon)

on:
push:
branches:
- edge-main
- control-main
pull_request:
branches:
- edge-main
- control-main

permissions:
contents: read

jobs:
build:
name: Build native Zephyr samples
runs-on: ubuntu-latest
container: zephyrprojectrtos/ci-base:latest
env:
CMAKE_PREFIX_PATH: /opt/toolchains
CCACHE_IGNOREOPTIONS: -specs=*
MODULE_PATH: ../modules/lib/ArduinoCore-zephyr

# action-setup-zephyr will initialize the repo in $GITHUB_WORKSPACE/..,
# so we need to put the module in $GITHUB_WORKSPACE's parent, but
# actions/checkout would not be able to checkout the module there
# directly, so we use "subfolder" and move it later.
#
# using action-setup-zephyr also requires a local west.yml and so the
# folder must be manually added to Zephyr as a module via
# EXTRA_ZEPHYR_MODULES.

steps:
- uses: actions/checkout@v6
with:
fetch-depth: 0
persist-credentials: false
path: subfolder

- name: Fix module path, list needed HALs
run: |
mkdir -p $(dirname $MODULE_PATH) && mv subfolder $MODULE_PATH
NEEDED_HALS=$(grep 'build.zephyr_hals=' $MODULE_PATH/boards.txt | cut -d '=' -f 2 | xargs -n 1 echo | sort -u)
HAL_FILTER="-hal_.*"
for hal in $NEEDED_HALS; do
HAL_FILTER="$HAL_FILTER,+$hal"
done
echo "HAL_FILTER=$HAL_FILTER" | tee -a $GITHUB_ENV

- name: Setup Zephyr project
uses: zephyrproject-rtos/action-zephyr-setup@v1
with:
toolchains: arm-zephyr-eabi
manifest-file-name: ${{ env.MODULE_PATH }}/west.yml
west-project-filter: ${{ env.HAL_FILTER }}
enable-ccache: false

- name: Add manifest path as module
run: |
echo EXTRA_ZEPHYR_MODULES="$(pwd)/$MODULE_PATH" >> $GITHUB_ENV

- name: Fetch the Arduino API
run: |
west blobs --auto-accept fetch arduino-api

- name: Build fade
run: |
west build -p -b arduino_nano_33_ble//sense $MODULE_PATH/samples/fade

- name: Build i2cdemo
run: |
west build -p -b ek_ra8d1 $MODULE_PATH/samples/i2cdemo

- name: Build adc
run: |
west build -p -b arduino_nano_33_ble/nrf52840/sense $MODULE_PATH/samples/analog_input

- name: Build feature boards' native samples
run: |
bash $MODULE_PATH/extra/ci_build_native_samples.sh $MODULE_PATH
37 changes: 37 additions & 0 deletions .github/workflows/ifx_commit_check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: 'Infineon Check Commit Message'

on:
pull_request:
types:
- opened
- edited
- reopened
- synchronize
branches:
- 'ifx-main'
- 'edge-main'
- 'control-main'

jobs:
check-commit-messages:
runs-on: ubuntu-latest
steps:
- name: 'Check commit messages format'
uses: gsactions/commit-message-checker@v2
with:
pattern: '^[^!]+: [A-Za-z]+.+ .+$'
flags: 'gm'
error: 'Commit subject line / PR title must match the following pattern: <scope>: <description>'
excludeTitle: 'false'
excludeDescription: 'true'
checkAllCommitMessages: 'true'
accessToken: ${{ secrets.GITHUB_TOKEN }}
- name: 'Check commit messages length'
uses: gsactions/commit-message-checker@v2
with:
pattern: '^[^#].{10,80}$'
error: 'Commit subject line maximum line length of 80 characters is exceeded.'
excludeTitle: 'true'
excludeDescription: 'true'
checkAllCommitMessages: 'true'
accessToken: ${{ secrets.GITHUB_TOKEN }}
58 changes: 58 additions & 0 deletions .github/workflows/ifx_format_check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
name: 'Infineon Format Check'

on:
push:
branches:
- 'ifx-main'
- 'edge-main'
- 'control-main'

pull_request:
types:
- opened
- edited
- reopened
- synchronize
branches:
- 'ifx-main'
- 'edge-main'
- 'control-main'

jobs:
verify-format:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v6
with:
submodules: false
persist-credentials: false
- name: Get changed source files that need format check
id: changed-files
uses: tj-actions/changed-files@ed68ef82c095e0d48ec87eccea555d944a631a4c # v46.0.5
with:
files: |
cores/arduino/**/*.{c,cpp,h,hpp}
loader/**/*.{c,cpp,h,hpp}
libraries/**/*.{c,cpp,h,hpp}
files_ignore: |
cores/arduino/api/**
loader/llext_exports.c
loader/blobs/4343WA1_*.c
loader/blobs/wifi_nvram_image_data.h
libraries/examples/**
libraries/extras/**
libraries/ea_malloc/**
libraries/Storage/examples/FlashFormat/4343WA1_bin.h
json: true
- name: Export changed files in a text file, one per line
if: steps.changed-files.outputs.any_changed == 'true'
run: |
echo ${{ steps.changed-files.outputs.all_changed_files }} | jq -r '.[]' > all_changed_files.txt
cat all_changed_files.txt
- name: Run clang-format check
if: steps.changed-files.outputs.any_changed == 'true'
uses: pillo79/clang-format-action@05f671e71f0758aba4d3c9dbb0ee81bc5f0137c6
with:
clang-format-version: '19'
check-files-from: all_changed_files.txt
Loading
Loading