Skip to content
Snippets Groups Projects
Commit 982f36cd authored by Loïc Dauphin's avatar Loïc Dauphin
Browse files

cpu/kinetis: add support of MK20D7

parent d27fa8ef
No related branches found
No related tags found
No related merge requests found
......@@ -128,6 +128,19 @@ extern "C"
#endif /* KINETIS_RNGA */
/** @} */
/**
* @name MK20D7 Compatibility layer
* @{
*/
#if defined(MK20D7_H_)
#define LLWU_IRQn LLW_IRQn
#define LPTMR0_IRQn LPTimer_IRQn
#define PIT_TCTRL_CHN_MASK (0x4u)
#define PIT_TCTRL_CHN_SHIFT (2)
#endif /* MK20D7_H_ */
/** @} */
#ifdef __cplusplus
}
#endif
......
......@@ -70,6 +70,22 @@
defined(CPU_MODEL_MK22FX512AVMD12)
#include "vendor/MK22FA12.h"
#endif
#elif (KINETIS_SUBFAMILY == 0)
#if defined(CPU_MODEL_MK20DX64VLH7) || \
defined(CPU_MODEL_MK20DX128VLH7) || \
defined(CPU_MODEL_MK20DX256VLH7) || \
defined(CPU_MODEL_MK20DX64VLK7) || \
defined(CPU_MODEL_MK20DX128VLK7) || \
defined(CPU_MODEL_MK20DX256VLK7) || \
defined(CPU_MODEL_MK20DX128VLL7) || \
defined(CPU_MODEL_MK20DX256VLL7) || \
defined(CPU_MODEL_MK20DX64VMB7) || \
defined(CPU_MODEL_MK20DX128VMB7) || \
defined(CPU_MODEL_MK20DX256VMB7) || \
defined(CPU_MODEL_MK20DX128VML7) || \
defined(CPU_MODEL_MK20DX256VML7)
#include "vendor/MK20D7.h"
#endif
#endif /* (KINETIS_SUBFAMILY == y) */
#elif (KINETIS_FAMILY == 6)
#if (KINETIS_SUBFAMILY == 0)
......
This diff is collapsed.
......@@ -83,6 +83,8 @@ ifeq ($(KINETIS_SERIES),K)
KINETIS_RAMSIZE = 48
else ifeq ($(KINETIS_FAMILY)$(KINETIS_SUBFAMILY),24)
KINETIS_RAMSIZE = 256
else ifeq ($(KINETIS_FAMILY)$(KINETIS_SUBFAMILY),20)
KINETIS_RAMSIZE = 64
endif
else ifeq ($(KINETIS_ROMSIZE),128)
ifeq ($(KINETIS_FAMILY),0)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment