consolidate mcu-chip specific code

This commit is contained in:
NIIBE Yutaka
2016-05-30 14:57:10 +09:00
parent b90e58f763
commit 9f16e5e051
10 changed files with 181 additions and 11 deletions

View File

@@ -37,7 +37,7 @@
#ifdef MCU_KINETIS_L
#include "mcu/sys-mkl27z.h"
#else
#include "mcu/sys-stm32.h"
#include "mcu/sys-stm32f103.h"
#undef STM32F10X_MD /* Prepare for high density device, too. */
#endif
#else
@@ -45,7 +45,7 @@
#if defined (MCU_KINETIS_L)
#include "mcu/clk_gpio_init-mkl27z.c"
#else
#include "mcu/clk_gpio_init-stm32.c"
#include "mcu/clk_gpio_init-stm32f103.c"
#endif
#endif