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

@@ -3,10 +3,17 @@
#include <string.h>
#include <chopstx.h>
#include "sys.h" /* for set_led */
#include "usb_lld.h"
#include "tty.h"
/* For set_led */
#include "board.h"
#ifdef MCU_KINETIS_L
#include "mcu/sys-mkl27z.h"
#else
#include "mcu/sys-stm32f103.h"
#endif
static chopstx_mutex_t mtx;
static chopstx_cond_t cnd0;
static chopstx_cond_t cnd1;