Factor out RCC definition into stm32.h (common for STM32F0/STM32F1).

This commit is contained in:
NIIBE Yutaka
2017-11-17 14:30:55 +09:00
parent e684e853c8
commit a362f32cdd
6 changed files with 107 additions and 123 deletions

View File

@@ -1,5 +1,6 @@
#include <stdint.h>
#include <mcu/cortex-m.h>
#define MCU_STM32F0
#include <mcu/stm32.h>
extern int chx_allow_sleep;