mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
024832aa6d
- The validity test for the high frequency crystal did not take into account the higher range supported by the MSP430 F2xx / G2xx family. This fixes the issue. - The CPU family used is exposed to C as `CPU_FAM_<NAME>` macro - Unused headers where dropped - The status register is aliased `SR`, so let's use that more readable name.
9 lines
320 B
Makefile
9 lines
320 B
Makefile
INCLUDES += -I$(RIOTCPU)/msp430/include/
|
|
INCLUDES += -I$(RIOTCPU)/msp430/include/$(subst msp430_,,$(CPU_FAM))
|
|
|
|
CFLAGS += -DCPU_MODEL_$(call uppercase_and_underscore,$(CPU_MODEL))
|
|
CFLAGS += -DCPU_FAM_$(call uppercase_and_underscore,$(CPU_FAM))
|
|
|
|
# include the msp430 common Makefile
|
|
include $(RIOTMAKE)/arch/msp430.inc.mk
|