Macros initial

This commit is contained in:
Alex Voinea 2020-09-11 16:12:49 +03:00
parent 160af0a624
commit eb007c35d2
No known key found for this signature in database
GPG key ID: F5034E7CFCF2F973
8 changed files with 35 additions and 32 deletions
Firmware

View file

@ -5,6 +5,7 @@
#include "config.h"
#include "macros.h"
#include <inttypes.h>
#ifdef DEBUG_SEC_LANG
#include <stdio.h>
@ -22,9 +23,6 @@
#define MSG_FW_VERSION "Firmware"
#define STRINGIFY_(n) #n
#define STRINGIFY(n) STRINGIFY_(n)
#if (LANG_MODE == 0) //primary language only
#define PROGMEM_I2 __attribute__((section(".progmem0")))
#define PROGMEM_I1 __attribute__((section(".progmem1")))