-
Notifications
You must be signed in to change notification settings - Fork 2.1k
cpu/kinetis: features provided not properly defined according to series #11423
Copy link
Copy link
Closed
Labels
Type: bugThe issue reports a bug / The PR fixes a bug (including spelling errors)The issue reports a bug / The PR fixes a bug (including spelling errors)
Description
Description
Since in base Makefile.include, Makefile.fatures for a BOARD is included after $(RIOTCPU)/$(CPU)/Makefile.include there is not definition of KINETIS_SERIES when calling this statement
RIOT/cpu/kinetis/Makefile.features
Lines 5 to 9 in 9a64731
| ifeq (EA,$(KINETIS_SERIES)) | |
| FEATURES_PROVIDED += periph_ics | |
| else | |
| FEATURES_PROVIDED += periph_mcg | |
| endif |
Therefore the statement has not effect and the FEATURE_PROVIDED is allways periph_mcg.
Steps to reproduce the issue
Add $(info Kinetis series: $(KINETIS_SERIES)) just before the above statement and call the below statement for any Kinetis board.
make -C examples/hello-world/ BOARD=pba-d-01-kw2x
Expected results
See in terminal:
make: Entering directory '/home/francisco/workspace/RIOT/examples/hello-world'
Kinetis series: W
Building application "hello-world" for "pba-d-01-kw2x" with MCU "kinetis".
Actual results
make: Entering directory '/home/francisco/workspace/RIOT/examples/hello-world'
Kinetis series:
Building application "hello-world" for "pba-d-01-kw2x" with MCU "kinetis".
Versions
Related Issues
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Type: bugThe issue reports a bug / The PR fixes a bug (including spelling errors)The issue reports a bug / The PR fixes a bug (including spelling errors)