kopia lustrzana https://github.com/OpenRTX/OpenRTX
Added, for each hconfig.h, a define directive to allow to uniquely identify the target platform during compilation
rodzic
5ba7563638
commit
6c2e3153c7
|
@ -22,6 +22,8 @@
|
||||||
|
|
||||||
#include <stm32f4xx.h>
|
#include <stm32f4xx.h>
|
||||||
|
|
||||||
|
#define PLATFORM_MDUV380
|
||||||
|
|
||||||
/* Screen dimensions */
|
/* Screen dimensions */
|
||||||
#define SCREEN_WIDTH 160
|
#define SCREEN_WIDTH 160
|
||||||
#define SCREEN_HEIGHT 128
|
#define SCREEN_HEIGHT 128
|
||||||
|
|
|
@ -22,6 +22,8 @@
|
||||||
|
|
||||||
#include <stm32f4xx.h>
|
#include <stm32f4xx.h>
|
||||||
|
|
||||||
|
#define PLATFORM_MD380
|
||||||
|
|
||||||
/* Screen dimensions */
|
/* Screen dimensions */
|
||||||
#define SCREEN_WIDTH 160
|
#define SCREEN_WIDTH 160
|
||||||
#define SCREEN_HEIGHT 128
|
#define SCREEN_HEIGHT 128
|
||||||
|
|
|
@ -16,6 +16,8 @@
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
|
||||||
|
|
||||||
|
#define PLATFORM_LINUX
|
||||||
|
|
||||||
#define GPIOA "PA"
|
#define GPIOA "PA"
|
||||||
#define GPIOB "PB"
|
#define GPIOB "PB"
|
||||||
#define GPIOC "PC"
|
#define GPIOC "PC"
|
||||||
|
|
Ładowanie…
Reference in New Issue