Factor out mcu/cortex-m.h.

This commit is contained in:
NIIBE Yutaka
2017-11-17 11:34:28 +09:00
parent 378201a1c7
commit b72154f47b
4 changed files with 42 additions and 61 deletions

View File

@@ -1,5 +1,8 @@
2017-11-17 NIIBE Yutaka <gniibe@fsij.org>
* mcu/cortex-m.h: New.
* mcu/sys-stm32f0.c, mcu/sys-stm32f103.c: Use mcu/cortex-m.h.
* chopstx.c (chopstx_conf_idle): Call chx_sleep_mode before
changing chx_allow_sleep.