mirror of
https://github.com/meshcore-dev/MeshCore.git
synced 2026-04-20 22:13:47 +00:00
JP_STRICT: adjust MAX_TEXT_LEN based on LORA_CR setting
MAX_TEXT_LEN is automatically selected based on the LORA_CR build flag defined in platformio.ini (e.g. -D LORA_CR=5). CR4/5: 48 bytes (~16 JP chars, TX ~3808ms) CR4/6: 32 bytes (~10 JP chars) CR4/7: 24 bytes (~8 JP chars) CR4/8: 16 bytes (~5 JP chars, default) To enable CR4/5 for Japan, add -D LORA_CR=5 to your board's build_flags in platformio.ini. Set LORA_CR=5 for WioTrackerL1 and RAK WisMesh Tag.
This commit is contained in:
parent
f4519b19c8
commit
eb58523775
3 changed files with 18 additions and 4 deletions
|
|
@ -26,6 +26,7 @@ build_flags = ${nrf52_base.build_flags}
|
|||
-D PIN_BOARD_SDA=PIN_WIRE_SDA
|
||||
-D PIN_BOARD_SCL=PIN_WIRE_SCL
|
||||
-D JP_STRICT
|
||||
-D LORA_CR=5
|
||||
build_src_filter = ${nrf52_base.build_src_filter}
|
||||
+<../variants/rak_wismesh_tag>
|
||||
+<helpers/ui/MomentaryButton.cpp>
|
||||
|
|
|
|||
|
|
@ -17,6 +17,7 @@ build_flags = ${nrf52_base.build_flags}
|
|||
-D PIN_OLED_RESET=-1
|
||||
-D GPS_BAUD_RATE=9600
|
||||
-D JP_STRICT
|
||||
-D LORA_CR=5
|
||||
build_src_filter = ${nrf52_base.build_src_filter}
|
||||
+<WioTrackerL1Board.cpp>
|
||||
+<../variants/wio-tracker-l1>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue