Skip to content

Commit ab3dc47

Browse files
ci: fix MCUXpresso SDK initialization and include paths
Co-Authored-By: [email protected] <[email protected]>
1 parent 5198527 commit ab3dc47

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.github/workflows/test-build-mcux-sdk.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
- name: Initialize MCUXpresso SDK
3333
run: |
3434
west init -m https://github.com/nxp-mcuxpresso/mcuxsdk-manifests
35-
west update
35+
west update --narrow -o=--depth=1 devices/MCX
3636
3737
- name: Workaround for sources.list
3838
run: sudo sed -i 's|http://azure.archive.ubuntu.com/ubuntu/|http://mirror.arizona.edu/ubuntu/|g' /etc/apt/sources.list

arch.mk

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -612,6 +612,7 @@ ifeq ($(TARGET),mcxa)
612612
CORTEX_M33=1
613613
MCUXPRESSO_DRIVERS=$(MCUXPRESSO)/devices/MCX/MCXA153
614614
MCUXPRESSO_CMSIS_CORE=$(MCUXPRESSO_CMSIS)/Core
615+
CFLAGS+=-I$(MCUXPRESSO_DRIVERS)/drivers -I$(MCUXPRESSO_DRIVERS)
615616
CFLAGS+=\
616617
-I$(MCUXPRESSO_DRIVERS) \
617618
-I$(MCUXPRESSO_DRIVERS)/drivers \

0 commit comments

Comments
 (0)