File tree Expand file tree Collapse file tree 3 files changed +5
-1
lines changed Expand file tree Collapse file tree 3 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -148,7 +148,7 @@ SRC_SDK := \
148
148
system_$(CHIP_FAMILY ) .c \
149
149
150
150
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
152
152
153
153
SRC_C += \
154
154
background.c \
Original file line number Diff line number Diff line change 36
36
#include "fsl_clock.h"
37
37
#include "fsl_iomuxc.h"
38
38
39
+ #include "clocks.h"
40
+
39
41
// These values are pulled from the SDK's devices/MIMXRT1021/project_template/clock_config.* files.
40
42
41
43
#define BOARD_XTAL0_CLK_HZ 24000000U /*!< Board xtal0 frequency in Hz */
Original file line number Diff line number Diff line change 35
35
#include "fsl_clock.h"
36
36
#include "fsl_iomuxc.h"
37
37
38
+ #include "clocks.h"
39
+
38
40
#define BOARD_XTAL0_CLK_HZ 24000000U /*!< Board xtal0 frequency in Hz */
39
41
#define BOARD_XTAL32K_CLK_HZ 32768U /*!< Board xtal32k frequency in Hz */
40
42
#define BOARD_BOOTCLOCKRUN_CORE_CLOCK 600000000U /*!< Core clock frequency: 600000000Hz */
You can’t perform that action at this time.
0 commit comments