Add `VCOM_ENABLED` define to disable VCOM that is currently broken

replace/6b84785341da417b93af236840ba4e60b63d798c
Federico Amedeo Izzo 2021-06-06 10:13:51 +02:00
rodzic 96abae4bad
commit 1f74c0abb7
6 zmienionych plików z 17 dodań i 0 usunięć

Wyświetl plik

@ -54,7 +54,9 @@ void IRQbspInit()
void bspInit2()
{
#ifdef VCOM_ENABLED
vcom_init();
#endif
}
//

Wyświetl plik

@ -23,6 +23,9 @@
#include "MK22F51212.h"
/* Enable Serial over USB support */
//#define VCOM_ENABLED
/* Screen dimensions */
#define SCREEN_WIDTH 128
#define SCREEN_HEIGHT 64

Wyświetl plik

@ -23,6 +23,9 @@
#include "MK22F51212.h"
/* Enable Serial over USB support */
//#define VCOM_ENABLED
/* Screen dimensions */
#define SCREEN_WIDTH 128
#define SCREEN_HEIGHT 64

Wyświetl plik

@ -22,6 +22,9 @@
#include <stm32f4xx.h>
/* Enable Serial over USB support */
//#define VCOM_ENABLED
/* Device has a working real time clock */
#define HAS_RTC

Wyświetl plik

@ -23,6 +23,9 @@
#include <stm32f4xx.h>
/* Enable Serial over USB support */
//#define VCOM_ENABLED
/* Device has a working real time clock */
#define HAS_RTC

Wyświetl plik

@ -22,6 +22,9 @@
#include <stm32f4xx.h>
/* Enable Serial over USB support */
//#define VCOM_ENABLED
/* Device has a working real time clock */
#define HAS_RTC