Browse Source

Add description for .loc_sec

leptun 4 years ago
parent
commit
d7057ebb16
1 changed files with 1 additions and 0 deletions
  1. 1 0
      lang/translations.md

+ 1 - 0
lang/translations.md

@@ -13,6 +13,7 @@ The reset of this explanation is devoted to `LANG_MODE==1`:
 
 
 `language.h`:
 `language.h`:
 ```C++
 ```C++
+// section .loc_sec (originaly .progmem0) will be used for localized translated strings
 #define PROGMEM_I2 __attribute__((section(".loc_sec")))
 #define PROGMEM_I2 __attribute__((section(".loc_sec")))
 // section .loc_pri (originaly .progmem1) will be used for localized strings in english
 // section .loc_pri (originaly .progmem1) will be used for localized strings in english
 #define PROGMEM_I1 __attribute__((section(".loc_pri")))
 #define PROGMEM_I1 __attribute__((section(".loc_pri")))