Added, for each hconfig.h, a define directive to allow to uniquely identify the target platform during compilation

This commit is contained in:
Silvano Seva 2020-11-03 22:41:34 +01:00
parent 5ba7563638
commit 6c2e3153c7
3 changed files with 6 additions and 0 deletions

View File

@ -22,6 +22,8 @@
#include <stm32f4xx.h>
#define PLATFORM_MDUV380
/* Screen dimensions */
#define SCREEN_WIDTH 160
#define SCREEN_HEIGHT 128

View File

@ -22,6 +22,8 @@
#include <stm32f4xx.h>
#define PLATFORM_MD380
/* Screen dimensions */
#define SCREEN_WIDTH 160
#define SCREEN_HEIGHT 128

View File

@ -16,6 +16,8 @@
***************************************************************************/
#define PLATFORM_LINUX
#define GPIOA "PA"
#define GPIOB "PB"
#define GPIOC "PC"