consolidate mcu-chip specific code
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user