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

This commit is contained in:
Federico Amedeo Izzo 2021-06-06 10:13:51 +02:00
parent 96abae4bad
commit 1f74c0abb7
6 changed files with 17 additions and 0 deletions

View File

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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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