Fix entry.c for STM32L4. Now, USB works.

This commit is contained in:
NIIBE Yutaka
2019-04-18 19:14:08 +09:00
parent 1d2aacd0a4
commit 8afabfa301
2 changed files with 3 additions and 0 deletions

View File

@@ -54,7 +54,9 @@ main (int argc, const char *argv[])
* Avoid medium density specific code and prepare for high density
* device, too.
*/
#if !defined(MCU_STM32L4)
#define STM32F10X_HD
#endif
#else
#if defined (MCU_KINETIS_L)
#include "mcu/clk_gpio_init-mkl27z.c"

View File

@@ -2,6 +2,7 @@
#include <stdlib.h>
#include <chopstx.h>
#include <string.h>
#include "board.h"
#include "usb_lld.h"
#include "tty.h"