Skip to content

Commit 2b9f722

Browse files
committed
ports: analog: Update makefile for latest MSDK
- Unify common PeriphDriver files outside of MCU-specific .mk files. - Add warning suppression for "set-but-unused" to accommodate DMA driver update Signed-off-by: Brandon-Hurst <brandon.hurst97@gmail.com>
1 parent 4bd7743 commit 2b9f722

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

ports/analog/Makefile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,10 @@ endif
7676

7777
# MSDK Specific Includes / Sources
7878
MXC_SPI_VERSION := v1
79+
PERIPH_DRIVER_C_FILES += $(SOURCE_DIR)/SYS/mxc_assert.c
80+
PERIPH_DRIVER_C_FILES += $(SOURCE_DIR)/SYS/mxc_delay.c
81+
PERIPH_DRIVER_C_FILES += $(SOURCE_DIR)/SYS/nvic_table.c
82+
PERIPH_DRIVER_C_FILES += $(SOURCE_DIR)/SYS/mxc_lock.c
7983
include ./msdk/Libraries/PeriphDrivers/${MCU_VARIANT_LOWER}_files.mk
8084

8185
# Add MAX32 files to Include / Source paths
@@ -185,6 +189,7 @@ CFLAGS += -Wno-error=unused-parameter \
185189
-Wno-error=strict-prototypes \
186190
-Wno-error=cast-qual \
187191
-Wno-error=unused-variable \
192+
-Wno-error=unused-but-set-variable \
188193
-Wno-error=lto-type-mismatch \
189194
-Wno-error=cast-align \
190195
-Wno-error=nested-externs \

0 commit comments

Comments
 (0)