patches for new paths in platformio core 4.0.0a15
This commit is contained in:
parent
47647bc604
commit
d04a04adfa
@ -93,7 +93,7 @@ If your device has a **real time clock** it can be updated bei either LoRaWAN ne
|
|||||||
|
|
||||||
# Building
|
# Building
|
||||||
|
|
||||||
Use <A HREF="https://platformio.org/">PlatformIO</A> with your preferred IDE for development and building this code. Make sure you have latest PlatformIO version.
|
Use <A HREF="https://platformio.org/">PlatformIO</A> with your preferred IDE for development and building this code. Make sure you have latest PlatformIO version, **at least v4.0.0a15**.
|
||||||
|
|
||||||
# Uploading
|
# Uploading
|
||||||
|
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
; ---> SELECT TARGET PLATFORM HERE! <---
|
; ---> SELECT TARGET PLATFORM HERE! <---
|
||||||
[platformio]
|
[platformio]
|
||||||
;env_default = generic
|
env_default = generic
|
||||||
;env_default = ebox
|
;env_default = ebox
|
||||||
;env_default = eboxtube
|
;env_default = eboxtube
|
||||||
;env_default = ecopower
|
;env_default = ecopower
|
||||||
@ -24,7 +24,7 @@
|
|||||||
;env_default = lolin32litelora
|
;env_default = lolin32litelora
|
||||||
;env_default = lolin32lora
|
;env_default = lolin32lora
|
||||||
;env_default = lolin32lite
|
;env_default = lolin32lite
|
||||||
env_default = wemos32oled
|
;env_default = wemos32oled
|
||||||
;env_default = octopus32
|
;env_default = octopus32
|
||||||
;env_default = ecopower, eboxtube, heltec, ttgobeam, lopy4, lopy, ttgov21old, ttgov21new, ttgofox
|
;env_default = ecopower, eboxtube, heltec, ttgobeam, lopy4, lopy, ttgov21old, ttgov21new, ttgofox
|
||||||
;
|
;
|
||||||
@ -74,7 +74,10 @@ build_flags_basic =
|
|||||||
-include "src/hal/${PIOENV}.h"
|
-include "src/hal/${PIOENV}.h"
|
||||||
-include "src/paxcounter.conf"
|
-include "src/paxcounter.conf"
|
||||||
-w
|
-w
|
||||||
'-DARDUINO_LMIC_PROJECT_CONFIG_H=../../../src/lmic_config.h'
|
;use this is you have platformio version >= 4.0.0a15
|
||||||
|
'-DARDUINO_LMIC_PROJECT_CONFIG_H=../../../../../src/lmic_config.h'
|
||||||
|
;use this is you have platformio version < 4.0.0a15
|
||||||
|
;'-DARDUINO_LMIC_PROJECT_CONFIG_H=../../../src/lmic_config.h'
|
||||||
'-DCORE_DEBUG_LEVEL=${common.debug_level}'
|
'-DCORE_DEBUG_LEVEL=${common.debug_level}'
|
||||||
'-DLOG_LOCAL_LEVEL=${common.debug_level}'
|
'-DLOG_LOCAL_LEVEL=${common.debug_level}'
|
||||||
'-DBINTRAY_PACKAGE="${PIOENV}"'
|
'-DBINTRAY_PACKAGE="${PIOENV}"'
|
||||||
|
@ -10,10 +10,10 @@
|
|||||||
* AES encryption using ESP32's hardware AES unit.
|
* AES encryption using ESP32's hardware AES unit.
|
||||||
*******************************************************************************/
|
*******************************************************************************/
|
||||||
|
|
||||||
#include "mbedtls/aes.h"
|
#ifdef USE_MBEDTLS_AES
|
||||||
#include "lmic/oslmic.h"
|
|
||||||
|
|
||||||
#if defined USE_MBEDTLS_AES
|
#include "mbedtls/aes.h"
|
||||||
|
#include "../../lmic/oslmic.h"
|
||||||
|
|
||||||
void lmic_aes_encrypt(u1_t *data, u1_t *key)
|
void lmic_aes_encrypt(u1_t *data, u1_t *key)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user