Skip to content

Commit edeb31f

Browse files
committed
Fix remaining builds
1 parent 59cb8e9 commit edeb31f

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

ports/mimxrt10xx/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ SRC_SDK := \
148148
system_$(CHIP_FAMILY).c \
149149

150150
SRC_SDK := $(addprefix sdk/devices/$(CHIP_FAMILY)/, $(SRC_SDK))
151-
$(addprefix $(BUILD)/, $(SRC_SDK:.c=.o)): CFLAGS += -Wno-undef -Wno-missing-prototypes
151+
$(addprefix $(BUILD)/, $(SRC_SDK:.c=.o)): CFLAGS += -Wno-undef -Wno-missing-prototypes -Wno-cast-align
152152

153153
SRC_C += \
154154
background.c \

ports/mimxrt10xx/peripherals/mimxrt10xx/MIMXRT1021/clocks.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@
3636
#include "fsl_clock.h"
3737
#include "fsl_iomuxc.h"
3838

39+
#include "clocks.h"
40+
3941
// These values are pulled from the SDK's devices/MIMXRT1021/project_template/clock_config.* files.
4042

4143
#define BOARD_XTAL0_CLK_HZ 24000000U /*!< Board xtal0 frequency in Hz */

ports/mimxrt10xx/peripherals/mimxrt10xx/MIMXRT1062/clocks.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@
3535
#include "fsl_clock.h"
3636
#include "fsl_iomuxc.h"
3737

38+
#include "clocks.h"
39+
3840
#define BOARD_XTAL0_CLK_HZ 24000000U /*!< Board xtal0 frequency in Hz */
3941
#define BOARD_XTAL32K_CLK_HZ 32768U /*!< Board xtal32k frequency in Hz */
4042
#define BOARD_BOOTCLOCKRUN_CORE_CLOCK 600000000U /*!< Core clock frequency: 600000000Hz */

0 commit comments

Comments
 (0)