Skip to content

tests: arduino-core-tests + test_config.h - #27

Merged
IFX-Anusha merged 1 commit into
ifx-mainfrom
ifx-arduino-core-tests
Oct 8, 2026
Merged

IFX-Anusha merged 1 commit into
ifx-mainfrom
ifx-arduino-core-tests

Conversation

@IFX-Anusha

@IFX-Anusha IFX-Anusha commented Sep 28, 2026 •

Copy link
Copy Markdown
Collaborator

By creating this pull request you agree to the terms in CONTRIBUTING.md.
https://github.com/Infineon/.github/blob/master/CONTRIBUTING.md
--- DO NOT DELETE ANYTHING ABOVE THIS LINE ---

CONTRIBUTING.md also tells you what to expect in the PR process.

Description
Infineon/arduino-core-tests (with its nested Unity submodule) as a pinned submodule under arduino_core_tests.

Add test_config.h as a shared scaffold — one file, one #if defined(ARDUINO_) block per board — matching where the submodule's own Makefile expects it. No board blocks included here; those belong to the family branch that owns each board (see edge-arduino-core-tests-config for kit_pse84_ai).

README.md documents the convention and how to run a test via make -C extra/arduino_core_tests.

Verified: test_digitalio_single compiles, links, flashes, and runs correctly on real KIT-PSE84-AI hardware using this mechanism.

@IFX-Anusha IFX-Anusha changed the title build(tests): vendor arduino-core-tests + test_config.h scaffold tests: arduino-core-tests + test_config.h Sep 28, 2026
@IFX-Anusha
IFX-Anusha force-pushed the ifx-arduino-core-tests branch 2 times, most recently from 729eea3 to 471a956 Compare September 28, 2026 08:48
@jaenrig-ifx
jaenrig-ifx force-pushed the ifx-main branch 4 times, most recently from 601575a to 8b28bdc Compare October 3, 2026 03:14
@IFX-Anusha
IFX-Anusha force-pushed the ifx-arduino-core-tests branch from 471a956 to cfe5677 Compare October 5, 2026 05:38

@jaenrig-ifx jaenrig-ifx left a comment

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.

👍 nice!

@jaenrig-ifx
jaenrig-ifx force-pushed the ifx-main branch 2 times, most recently from d9bf22b to 9ca17fc Compare October 8, 2026 03:08
@IFX-Anusha
IFX-Anusha force-pushed the ifx-arduino-core-tests branch from cfe5677 to d268546 Compare October 8, 2026 04:51

@AkshayChandra-IFX AkshayChandra-IFX left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Ran this on the board and it builds, flashes, and runs fine, with Unity reporting pass/fail as expected.
Sanity-checked the framework with the single-board time and random tests — both passed as expected (Unity reported them pass). test_digitalio_single mostly passed too (driven read/write and all the invalid-pin cases), but I had 3 failing cases there — the loopback checks reading HIGH instead of LOW, which looks like my jumper wiring. I'll debug into my setup before calling that one (digitalio)done.
Test framework looks fine 👌

@IFX-Anusha

Copy link
Copy Markdown
Collaborator Author

Ran this on the board and it builds, flashes, and runs fine, with Unity reporting pass/fail as expected. Sanity-checked the framework with the single-board time and random tests — both passed as expected (Unity reported them pass). test_digitalio_single mostly passed too (driven read/write and all the invalid-pin cases), but I had 3 failing cases there — the loopback checks reading HIGH instead of LOW, which looks like my jumper wiring. I'll debug into my setup before calling that one (digitalio)done. Test framework looks fine 👌

Then I will merge this and later any test specific/feature specific things can be added to edge-main/control-main

@IFX-Anusha
IFX-Anusha merged commit e981aab into ifx-main Oct 8, 2026
8 checks passed
@IFX-Anusha
IFX-Anusha deleted the ifx-arduino-core-tests branch October 9, 2026 05:40
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.

3 participants