From c76f755d1d1de943a215c348839881be8fc969a3 Mon Sep 17 00:00:00 2001 From: IFX-Anusha Date: Thu, 12 Nov 2026 11:26:13 +0000 Subject: [PATCH 1/2] edge: add standard digital/serial/tone examples to PSoC Edge CI kit_pse84_ai currently compiles only Blink in CI because it defaults to the zephyr_contrib artifact, whose test_setup.sh blanket-skips all built-in library examples and whose Blink-only entry in _common.test_setup.sh is the sole standard sketch fetched. Add a board-specific test_setup.sh that pulls in 15 additional standard arduino-examples sketches that need only digital I/O, tone(), and basic Serial - none of which depend on PWM or ADC, which this board lacks (analogWrite()/analogRead() are not even linked in when CONFIG_PWM / CONFIG_ADC are unset, per cores/arduino/wiring_analog.cpp). --- .../test_setup.sh | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 variants/kit_pse84_ai_pse846gps2dbzc4a_m33/test_setup.sh diff --git a/variants/kit_pse84_ai_pse846gps2dbzc4a_m33/test_setup.sh b/variants/kit_pse84_ai_pse846gps2dbzc4a_m33/test_setup.sh new file mode 100644 index 000000000..d851be2c7 --- /dev/null +++ b/variants/kit_pse84_ai_pse846gps2dbzc4a_m33/test_setup.sh @@ -0,0 +1,33 @@ +# Copyright (c) Arduino s.r.l. and/or its affiliated companies +# SPDX-License-Identifier: Apache-2.0 + +# This script is sourced by extra/ci_apply_tests.sh to customize the CI test +# list for this board variant. Three helper functions are available: +# get_branch_tip [ ...] +# get_latest_release [ ...] +# skip_for_this_board +# +# get_branch_tip / get_latest_release add external repos to the test list +# (the repos must have been downloaded by ci_fetch_tests.sh first). +# skip_for_this_board removes all tests under the given path prefix. + +# Board-specific external repos +# kit_pse84_ai has no PWM/ADC peripheral wired up (analogRead/analogWrite +# won't even link), so only digital/serial/tone-based standard examples +# are added here. +get_branch_tip examples arduino/arduino-examples main \ + examples/01.Basics/BareMinimum \ + examples/01.Basics/DigitalReadSerial \ + examples/02.Digital/BlinkWithoutDelay \ + examples/02.Digital/Button \ + examples/02.Digital/Debounce \ + examples/02.Digital/DigitalInputPullup \ + examples/02.Digital/StateChangeDetection \ + examples/02.Digital/toneMelody \ + examples/02.Digital/toneMultiple \ + examples/04.Communication/ASCIITable \ + examples/04.Communication/PhysicalPixel \ + examples/04.Communication/SerialEvent \ + examples/05.Control/Arrays \ + examples/05.Control/ForLoopIteration \ + examples/05.Control/switchCase2 From d7e8dfa427be28982fa32c108dde8ae658819db9 Mon Sep 17 00:00:00 2001 From: IFX-Anusha Date: Thu, 12 Nov 2026 11:50:59 +0000 Subject: [PATCH 2/2] edge: add MultiSerial to validate Serial1 on PSoC Edge This board's zephyr,user 'serials' DT property lists two UARTs (uart2, uart1), so it has a real Serial1 (SCB1 on P9_2/P9_3), not just the single Serial object. Add MultiSerial to confirm it compiles. --- variants/kit_pse84_ai_pse846gps2dbzc4a_m33/test_setup.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/variants/kit_pse84_ai_pse846gps2dbzc4a_m33/test_setup.sh b/variants/kit_pse84_ai_pse846gps2dbzc4a_m33/test_setup.sh index d851be2c7..4a31b9a2b 100644 --- a/variants/kit_pse84_ai_pse846gps2dbzc4a_m33/test_setup.sh +++ b/variants/kit_pse84_ai_pse846gps2dbzc4a_m33/test_setup.sh @@ -14,7 +14,8 @@ # Board-specific external repos # kit_pse84_ai has no PWM/ADC peripheral wired up (analogRead/analogWrite # won't even link), so only digital/serial/tone-based standard examples -# are added here. +# are added here. MultiSerial is included because this board's "serials" +# DT property lists two UARTs (uart2, uart1), giving it a real Serial1. get_branch_tip examples arduino/arduino-examples main \ examples/01.Basics/BareMinimum \ examples/01.Basics/DigitalReadSerial \ @@ -26,6 +27,7 @@ get_branch_tip examples arduino/arduino-examples main \ examples/02.Digital/toneMelody \ examples/02.Digital/toneMultiple \ examples/04.Communication/ASCIITable \ + examples/04.Communication/MultiSerial \ examples/04.Communication/PhysicalPixel \ examples/04.Communication/SerialEvent \ examples/05.Control/Arrays \