Skip to content

Commit 56b111a

Browse files
committed
Fold the SDK assert and misc utilities where the RT1060 Makefile expects them
1 parent f44c64f commit 56b111a

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

.github/workflows/rt1060.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,10 @@ jobs:
5757
mkdir -p /tmp/sdk/devices/MIMXRT1062/utilities
5858
cp -r /tmp/sdk/utilities/debug_console /tmp/sdk/devices/MIMXRT1062/utilities/
5959
cp -r /tmp/sdk/utilities/str /tmp/sdk/devices/MIMXRT1062/utilities/
60+
# the zip also folds assert/ and misc_utilities/ straight into utilities/
61+
cp -n /tmp/sdk/utilities/assert/*.[ch] \
62+
/tmp/sdk/utilities/misc_utilities/*.[ch] \
63+
/tmp/sdk/devices/MIMXRT1062/utilities/ 2>/dev/null || true
6064
# The zip flattens the shared drivers into the device dir; the repo
6165
# keeps them under drivers/<periph>/. Copy only the variants this SoC
6266
# uses -- i.MX RT needs igpio, not the generic gpio, and there are
@@ -71,7 +75,8 @@ jobs:
7175
components/uart CMSIS/Core/Include; do
7276
test -d "/tmp/sdk/$d" || { echo "FAIL: SDK missing $d"; exit 1; }
7377
done
74-
for h in utilities/debug_console/fsl_debug_console.h drivers/fsl_common.h; do
78+
for h in utilities/debug_console/fsl_debug_console.h drivers/fsl_common.h \
79+
utilities/fsl_assert.c utilities/fsl_sbrk.c utilities/str/fsl_str.c; do
7580
test -f "/tmp/sdk/devices/MIMXRT1062/$h" \
7681
|| { echo "FAIL: $h not where the Makefile looks"; exit 1; }
7782
done

0 commit comments

Comments
 (0)