make reorganized

This commit is contained in:
tkl
2016-08-16 14:28:08 +02:00
parent caa360625b
commit a8a4cb263d
16 changed files with 268 additions and 116 deletions

View File

@@ -8,8 +8,8 @@
#ifndef CTX_H_
#define CTX_H_
//#ifdef ARCH_STM32F4XX
#ifdef ARCH_STM32F4XX
#include "stm32f4xx_ctx.h"
//#endif
#endif
#endif /* CTX_H_ */

View File

@@ -8,7 +8,8 @@
#ifndef IRQ_H_
#define IRQ_H_
//#ifdef ARCH_STM32F4XX
#ifdef ARCH_STM32F4XX
#include "stm32f4xx_irq.h"
//#endif
#endif
#endif /* IRQ_H_ */

View File

@@ -8,8 +8,8 @@
#ifndef LOW_POWER_H_
#define LOW_POWER_H_
//#ifdef ARCH_STM32F4XX
#ifdef ARCH_STM32F4XX
#include "stm32f4xx_low_power.h"
//#endif
#endif
#endif /* LOW_POWER_H_ */

View File

@@ -8,9 +8,9 @@
#ifndef SCHEDULE_H_
#define SCHEDULE_H_
//#ifdef ARCH_STM32F4XX
#ifdef ARCH_STM32F4XX
#include "stm32f4xx_ctx.h"
//#endif
#endif
#define schedule() arch_schedule()

View File

@@ -8,8 +8,8 @@
#ifndef STACK_H_
#define STACK_H_
//#ifdef ARCH_STM32F4XX
#ifdef ARCH_STM32F4XX
#include "stm32f4xx_stack.h"
//#endif
#endif
#endif /* STACK_H_ */