1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/cpu/kinetis
Hauke Petersen edb890ff93 cpu/kinetis: move IRQ name adaption to cpu_conf.h
Found and fixed the issue for the kinetis-based boards: The kinetis
code is using some macros to map some IRQ names, that differ in
some versions of vendor headers, to a RIOT wide unique name. The
doxygen of this mapping states, that this mapping must be done before
any vendor header is included. Unfortunately, the mapping was so far
placed in cpu/kinetis/vectors.c, before any other include statement.

In some cases, the vendor headers might be included before the
mapping macros in vectors.c, leading to the compilation errors down
the line. To fix this, the adaption defines are moved into
cpu/kinetis/cpu_conf.h, which is the file that actually includes
the vendor headers. This way it is ensured, that these adaption
macros are always defined before any vendor header is included,
and therefore preventing this kind of error for good.
2021-02-26 11:34:52 +01:00
..
dist kinetis/spi_scalar: Add local ARRAY_SIZE define 2020-06-21 17:09:32 +02:00
include cpu/kinetis: move IRQ name adaption to cpu_conf.h 2021-02-26 11:34:52 +01:00
ldscripts kinetis/ldscript: include _rom_offset 2019-06-04 18:05:35 +02:00
periph cpu/kinetis/timer: consider no LPTMR when no config present 2021-01-12 15:31:37 +01:00
cpu.c cpu: Moved stdio_init() into cpu_init() 2019-09-06 16:54:23 +02:00
doc.txt cpu/kinetis: remove reference of RTC_NUMOF. 2020-06-21 21:29:23 +02:00
fcfield.c kinetis: add support for S9KEAZ128 2019-01-26 15:53:05 +01:00
isr_kinetis.c kinetis: Add KL43Z support 2020-10-24 22:12:32 +02:00
Kconfig cpu/kinetis: enable floating point support 2021-02-01 12:18:13 +01:00
kinetis-info.mk cpu/kinetis: enable floating point support 2021-02-01 12:18:13 +01:00
Makefile kinetis: Unify all Kinetis CPUs in one directory 2017-11-10 10:42:59 +01:00
Makefile.default cpu: make pm_layered a DEFAULT_MODULE 2021-01-27 13:21:20 +01:00
Makefile.dep cpu: make pm_layered a DEFAULT_MODULE 2021-01-27 13:21:20 +01:00
Makefile.features kinetis: Adapt to flashpage/flashpage_pagewise API 2020-11-11 23:16:39 +01:00
Makefile.include makefiles: avoid building archives when compiling 2020-09-04 15:01:10 +02:00
vectors.c cpu/kinetis: move IRQ name adaption to cpu_conf.h 2021-02-26 11:34:52 +01:00