diff --git a/boards.txt b/boards.txt index 6d0161a2..486ce39f 100644 --- a/boards.txt +++ b/boards.txt @@ -7,6 +7,7 @@ menu.LORAWAN_UPLINKMODE=LORAWAN_UPLINKMODE menu.LORAWAN_Net_Reserve=LORAWAN_Net_Reservation menu.LORAWAN_AT_SUPPORT=LORAWAN_AT_SUPPORT menu.LORAWAN_RGB=LORAWAN_RGB +menu.LORAWAN_PREAMBLE_LENGTH=LORAWAN_PREAMBLE_LENGTH menu.LORAWAN_DebugLevel=LoRaWan Debug Level ############################################################## @@ -88,6 +89,11 @@ CubeCell-Board.menu.LORAWAN_RGB.1.build.RGB=1 CubeCell-Board.menu.LORAWAN_RGB.0=DEACTIVE CubeCell-Board.menu.LORAWAN_RGB.0.build.RGB=0 +CubeCell-Board.menu.LORAWAN_PREAMBLE_LENGTH.0=8(default) +CubeCell-Board.menu.LORAWAN_PREAMBLE_LENGTH.0.build.LORAWAN_PREAMBLE_LENGTH=8 +CubeCell-Board.menu.LORAWAN_PREAMBLE_LENGTH.1=16(For M00 and M00L) +CubeCell-Board.menu.LORAWAN_PREAMBLE_LENGTH.1.build.LORAWAN_PREAMBLE_LENGTH=16 + CubeCell-Board.menu.LORAWAN_DebugLevel.0=None CubeCell-Board.menu.LORAWAN_DebugLevel.0.build.LORAWAN_DebugLevel=0 CubeCell-Board.menu.LORAWAN_DebugLevel.1=Freq @@ -174,6 +180,10 @@ CubeCell-Capsule.menu.LORAWAN_RGB.1.build.RGB=1 CubeCell-Capsule.menu.LORAWAN_RGB.0=DEACTIVE CubeCell-Capsule.menu.LORAWAN_RGB.0.build.RGB=0 +CubeCell-Capsule.menu.LORAWAN_PREAMBLE_LENGTH.0=8(default) +CubeCell-Capsule.menu.LORAWAN_PREAMBLE_LENGTH.0.build.LORAWAN_PREAMBLE_LENGTH=8 +CubeCell-Capsule.menu.LORAWAN_PREAMBLE_LENGTH.1=16(For M00 and M00L) +CubeCell-Capsule.menu.LORAWAN_PREAMBLE_LENGTH.1.build.LORAWAN_PREAMBLE_LENGTH=16 CubeCell-Capsule.menu.LORAWAN_DebugLevel.0=None CubeCell-Capsule.menu.LORAWAN_DebugLevel.0.build.LORAWAN_DebugLevel=0 @@ -259,6 +269,11 @@ CubeCell-Module.menu.LORAWAN_AT_SUPPORT.1.build.LORAWAN_AT_SUPPORT=0 CubeCell-Module.menu.LORAWAN_RGB.0=DEACTIVE CubeCell-Module.menu.LORAWAN_RGB.0.build.RGB=0 +CubeCell-Module.menu.LORAWAN_PREAMBLE_LENGTH.0=8(default) +CubeCell-Module.menu.LORAWAN_PREAMBLE_LENGTH.0.build.LORAWAN_PREAMBLE_LENGTH=8 +CubeCell-Module.menu.LORAWAN_PREAMBLE_LENGTH.1=16(For M00 and M00L) +CubeCell-Module.menu.LORAWAN_PREAMBLE_LENGTH.1.build.LORAWAN_PREAMBLE_LENGTH=16 + CubeCell-Module.menu.LORAWAN_DebugLevel.0=None CubeCell-Module.menu.LORAWAN_DebugLevel.0.build.LORAWAN_DebugLevel=0 CubeCell-Module.menu.LORAWAN_DebugLevel.1=Freq @@ -346,6 +361,11 @@ CubeCell-BoardPlus.menu.LORAWAN_RGB.1.build.RGB=1 CubeCell-BoardPlus.menu.LORAWAN_RGB.0=DEACTIVE CubeCell-BoardPlus.menu.LORAWAN_RGB.0.build.RGB=0 +CubeCell-BoardPlus.menu.LORAWAN_PREAMBLE_LENGTH.0=8(default) +CubeCell-BoardPlus.menu.LORAWAN_PREAMBLE_LENGTH.0.build.LORAWAN_PREAMBLE_LENGTH=8 +CubeCell-BoardPlus.menu.LORAWAN_PREAMBLE_LENGTH.1=16(For M00 and M00L) +CubeCell-BoardPlus.menu.LORAWAN_PREAMBLE_LENGTH.1.build.LORAWAN_PREAMBLE_LENGTH=16 + CubeCell-BoardPlus.menu.LORAWAN_DebugLevel.0=None CubeCell-BoardPlus.menu.LORAWAN_DebugLevel.0.build.LORAWAN_DebugLevel=0 CubeCell-BoardPlus.menu.LORAWAN_DebugLevel.1=Freq @@ -432,6 +452,10 @@ CubeCell-GPS.menu.LORAWAN_RGB.1.build.RGB=1 CubeCell-GPS.menu.LORAWAN_RGB.0=DEACTIVE CubeCell-GPS.menu.LORAWAN_RGB.0.build.RGB=0 +CubeCell-GPS.menu.LORAWAN_PREAMBLE_LENGTH.0=8(default) +CubeCell-GPS.menu.LORAWAN_PREAMBLE_LENGTH.0.build.LORAWAN_PREAMBLE_LENGTH=8 +CubeCell-GPS.menu.LORAWAN_PREAMBLE_LENGTH.1=16(For M00 and M00L) +CubeCell-GPS.menu.LORAWAN_PREAMBLE_LENGTH.1.build.LORAWAN_PREAMBLE_LENGTH=16 CubeCell-GPS.menu.LORAWAN_DebugLevel.0=None CubeCell-GPS.menu.LORAWAN_DebugLevel.0.build.LORAWAN_DebugLevel=0 @@ -517,6 +541,12 @@ CubeCell-ModulePlus.menu.LORAWAN_AT_SUPPORT.1.build.LORAWAN_AT_SUPPORT=0 CubeCell-ModulePlus.menu.LORAWAN_RGB.0=DEACTIVE CubeCell-ModulePlus.menu.LORAWAN_RGB.0.build.RGB=0 +CubeCell-ModulePlus.menu.LORAWAN_PREAMBLE_LENGTH.0=8(default) +CubeCell-ModulePlus.menu.LORAWAN_PREAMBLE_LENGTH.0.build.LORAWAN_PREAMBLE_LENGTH=8 +CubeCell-ModulePlus.menu.LORAWAN_PREAMBLE_LENGTH.1=16(For M00 and M00L) +CubeCell-ModulePlus.menu.LORAWAN_PREAMBLE_LENGTH.1.build.LORAWAN_PREAMBLE_LENGTH=16 + + CubeCell-ModulePlus.menu.LORAWAN_DebugLevel.0=None CubeCell-ModulePlus.menu.LORAWAN_DebugLevel.0.build.LORAWAN_DebugLevel=0 CubeCell-ModulePlus.menu.LORAWAN_DebugLevel.1=Freq @@ -600,6 +630,11 @@ CubeCell-1/2AA.menu.LORAWAN_AT_SUPPORT.1.build.LORAWAN_AT_SUPPORT=0 CubeCell-1/2AA.menu.LORAWAN_RGB.0=DEACTIVE CubeCell-1/2AA.menu.LORAWAN_RGB.0.build.RGB=0 +CubeCell-1/2AA.menu.LORAWAN_PREAMBLE_LENGTH.0=8(default) +CubeCell-1/2AA.menu.LORAWAN_PREAMBLE_LENGTH.0.build.LORAWAN_PREAMBLE_LENGTH=8 +CubeCell-1/2AA.menu.LORAWAN_PREAMBLE_LENGTH.1=16(For M00 and M00L) +CubeCell-1/2AA.menu.LORAWAN_PREAMBLE_LENGTH.1.build.LORAWAN_PREAMBLE_LENGTH=16 + CubeCell-1/2AA.menu.LORAWAN_DebugLevel.0=None CubeCell-1/2AA.menu.LORAWAN_DebugLevel.0.build.LORAWAN_DebugLevel=0 CubeCell-1/2AA.menu.LORAWAN_DebugLevel.1=Freq @@ -687,6 +722,11 @@ CubeCell-Board-PRO.menu.LORAWAN_RGB.1.build.RGB=1 CubeCell-Board-PRO.menu.LORAWAN_RGB.0=DEACTIVE CubeCell-Board-PRO.menu.LORAWAN_RGB.0.build.RGB=0 +CubeCell-Board-PRO.menu.LORAWAN_PREAMBLE_LENGTH.0=8(default) +CubeCell-Board-PRO.menu.LORAWAN_PREAMBLE_LENGTH.0.build.LORAWAN_PREAMBLE_LENGTH=8 +CubeCell-Board-PRO.menu.LORAWAN_PREAMBLE_LENGTH.1=16(For M00 and M00L) +CubeCell-Board-PRO.menu.LORAWAN_PREAMBLE_LENGTH.1.build.LORAWAN_PREAMBLE_LENGTH=16 + CubeCell-Board-PRO.menu.LORAWAN_DebugLevel.0=None CubeCell-Board-PRO.menu.LORAWAN_DebugLevel.0.build.LORAWAN_DebugLevel=0 CubeCell-Board-PRO.menu.LORAWAN_DebugLevel.1=Freq diff --git a/libraries/LoraWan102/src/loramac/region/RegionAS923.c b/libraries/LoraWan102/src/loramac/region/RegionAS923.c index c4bea765..f994c6f9 100644 --- a/libraries/LoraWan102/src/loramac/region/RegionAS923.c +++ b/libraries/LoraWan102/src/loramac/region/RegionAS923.c @@ -696,7 +696,7 @@ bool RegionAS923TxConfig( TxConfigParams_t* txConfig, int8_t* txPower, TimerTime else { modem = MODEM_LORA; - Radio.SetTxConfig( modem, phyTxPower, 0, bandwidth, phyDr, 1, 16, false, true, 0, 0, false, 3e3 ); + Radio.SetTxConfig( modem, phyTxPower, 0, bandwidth, phyDr, 1, LORAWAN_PREAMBLE_LENGTH, false, true, 0, 0, false, 3e3 ); } FREQ_PRINTF("TX on freq %u Hz at DR %d\r\n", (unsigned int)Channels[txConfig->Channel].Frequency, txConfig->Datarate); // Setup maximum payload lenght of the radio driver diff --git a/libraries/LoraWan102/src/loramac/region/RegionAU915.c b/libraries/LoraWan102/src/loramac/region/RegionAU915.c index 74b004ed..f2c09c46 100644 --- a/libraries/LoraWan102/src/loramac/region/RegionAU915.c +++ b/libraries/LoraWan102/src/loramac/region/RegionAU915.c @@ -593,7 +593,7 @@ bool RegionAU915TxConfig( TxConfigParams_t* txConfig, int8_t* txPower, TimerTime Radio.SetChannel( Channels[txConfig->Channel].Frequency ); Radio.SetMaxPayloadLength( MODEM_LORA, txConfig->PktLen ); - Radio.SetTxConfig( MODEM_LORA, phyTxPower, 0, bandwidth, phyDr, 1, 16, false, true, 0, 0, false, 3e3 ); + Radio.SetTxConfig( MODEM_LORA, phyTxPower, 0, bandwidth, phyDr, 1, LORAWAN_PREAMBLE_LENGTH, false, true, 0, 0, false, 3e3 ); FREQ_PRINTF("TX on freq %u Hz at DR %d\r\n", (unsigned int)Channels[txConfig->Channel].Frequency, txConfig->Datarate); *txTimeOnAir = Radio.TimeOnAir( MODEM_LORA, txConfig->PktLen ); diff --git a/libraries/LoraWan102/src/loramac/region/RegionCN470.c b/libraries/LoraWan102/src/loramac/region/RegionCN470.c index 9ad84c9c..1db08793 100644 --- a/libraries/LoraWan102/src/loramac/region/RegionCN470.c +++ b/libraries/LoraWan102/src/loramac/region/RegionCN470.c @@ -559,7 +559,7 @@ bool RegionCN470TxConfig( TxConfigParams_t* txConfig, int8_t* txPower, TimerTime // Setup the radio frequency Radio.SetChannel( Channels[txConfig->Channel].Frequency ); - Radio.SetTxConfig( MODEM_LORA, phyTxPower, 0, 0, phyDr, 1, 16, false, true, 0, 0, false, 4000 ); + Radio.SetTxConfig( MODEM_LORA, phyTxPower, 0, 0, phyDr, 1, LORAWAN_PREAMBLE_LENGTH, false, true, 0, 0, false, 4000 ); FREQ_PRINTF("TX on freq %u Hz at DR %d power %d\r\n", (unsigned int)Channels[txConfig->Channel].Frequency, txConfig->Datarate,phyTxPower); // Setup maximum payload lenght of the radio driver diff --git a/libraries/LoraWan102/src/loramac/region/RegionCN779.c b/libraries/LoraWan102/src/loramac/region/RegionCN779.c index 1fc4c5b1..50f1100e 100644 --- a/libraries/LoraWan102/src/loramac/region/RegionCN779.c +++ b/libraries/LoraWan102/src/loramac/region/RegionCN779.c @@ -633,7 +633,7 @@ bool RegionCN779TxConfig( TxConfigParams_t* txConfig, int8_t* txPower, TimerTime else { modem = MODEM_LORA; - Radio.SetTxConfig( modem, phyTxPower, 0, bandwidth, phyDr, 1, 16, false, true, 0, 0, false, 3e3 ); + Radio.SetTxConfig( modem, phyTxPower, 0, bandwidth, phyDr, 1, LORAWAN_PREAMBLE_LENGTH, false, true, 0, 0, false, 3e3 ); } FREQ_PRINTF("TX on freq %u Hz at DR %d\r\n", (unsigned int)Channels[txConfig->Channel].Frequency, txConfig->Datarate); // Setup maximum payload lenght of the radio driver diff --git a/libraries/LoraWan102/src/loramac/region/RegionEU433.c b/libraries/LoraWan102/src/loramac/region/RegionEU433.c index c75bbbd3..5268a2ac 100644 --- a/libraries/LoraWan102/src/loramac/region/RegionEU433.c +++ b/libraries/LoraWan102/src/loramac/region/RegionEU433.c @@ -633,7 +633,7 @@ bool RegionEU433TxConfig( TxConfigParams_t* txConfig, int8_t* txPower, TimerTime else { modem = MODEM_LORA; - Radio.SetTxConfig( modem, phyTxPower, 0, bandwidth, phyDr, 1, 16, false, true, 0, 0, false, 3e3 ); + Radio.SetTxConfig( modem, phyTxPower, 0, bandwidth, phyDr, 1, LORAWAN_PREAMBLE_LENGTH, false, true, 0, 0, false, 3e3 ); } FREQ_PRINTF("TX on freq %u Hz at DR %d\r\n", (unsigned int)Channels[txConfig->Channel].Frequency, txConfig->Datarate); // Setup maximum payload lenght of the radio driver diff --git a/libraries/LoraWan102/src/loramac/region/RegionEU868.c b/libraries/LoraWan102/src/loramac/region/RegionEU868.c index 72d3a4d8..392e3fd1 100644 --- a/libraries/LoraWan102/src/loramac/region/RegionEU868.c +++ b/libraries/LoraWan102/src/loramac/region/RegionEU868.c @@ -663,7 +663,7 @@ bool RegionEU868TxConfig( TxConfigParams_t* txConfig, int8_t* txPower, TimerTime else { modem = MODEM_LORA; - Radio.SetTxConfig( modem, phyTxPower, 0, bandwidth, phyDr, 1, 16, false, true, 0, 0, false, 3000 ); + Radio.SetTxConfig( modem, phyTxPower, 0, bandwidth, phyDr, 1, LORAWAN_PREAMBLE_LENGTH, false, true, 0, 0, false, 3000 ); } FREQ_PRINTF("TX on freq %u Hz at DR %d\r\n", (unsigned int)Channels[txConfig->Channel].Frequency, txConfig->Datarate); // Setup maximum payload lenght of the radio driver diff --git a/libraries/LoraWan102/src/loramac/region/RegionIN865.c b/libraries/LoraWan102/src/loramac/region/RegionIN865.c index b2606a90..a788e23a 100644 --- a/libraries/LoraWan102/src/loramac/region/RegionIN865.c +++ b/libraries/LoraWan102/src/loramac/region/RegionIN865.c @@ -637,7 +637,7 @@ bool RegionIN865TxConfig( TxConfigParams_t* txConfig, int8_t* txPower, TimerTime else { modem = MODEM_LORA; - Radio.SetTxConfig( modem, phyTxPower, 0, bandwidth, phyDr, 1, 16, false, true, 0, 0, false, 3e3 ); + Radio.SetTxConfig( modem, phyTxPower, 0, bandwidth, phyDr, 1, LORAWAN_PREAMBLE_LENGTH, false, true, 0, 0, false, 3e3 ); } FREQ_PRINTF("TX on freq %u Hz at DR %d\r\n", (unsigned int)Channels[txConfig->Channel].Frequency, txConfig->Datarate); // Setup maximum payload lenght of the radio driver diff --git a/libraries/LoraWan102/src/loramac/region/RegionKR920.c b/libraries/LoraWan102/src/loramac/region/RegionKR920.c index 8dee58e5..1d28cf3d 100644 --- a/libraries/LoraWan102/src/loramac/region/RegionKR920.c +++ b/libraries/LoraWan102/src/loramac/region/RegionKR920.c @@ -636,7 +636,7 @@ bool RegionKR920TxConfig( TxConfigParams_t* txConfig, int8_t* txPower, TimerTime // Setup the radio frequency Radio.SetChannel( Channels[txConfig->Channel].Frequency ); - Radio.SetTxConfig( MODEM_LORA, phyTxPower, 0, bandwidth, phyDr, 1, 16, false, true, 0, 0, false, 4e3 ); + Radio.SetTxConfig( MODEM_LORA, phyTxPower, 0, bandwidth, phyDr, 1, LORAWAN_PREAMBLE_LENGTH, false, true, 0, 0, false, 4e3 ); FREQ_PRINTF("TX on freq %u Hz at DR %d\r\n", (unsigned int)Channels[txConfig->Channel].Frequency, txConfig->Datarate); // Setup maximum payload lenght of the radio driver diff --git a/libraries/LoraWan102/src/loramac/region/RegionUS915-Hybrid.c b/libraries/LoraWan102/src/loramac/region/RegionUS915-Hybrid.c index 3af73345..21c94485 100644 --- a/libraries/LoraWan102/src/loramac/region/RegionUS915-Hybrid.c +++ b/libraries/LoraWan102/src/loramac/region/RegionUS915-Hybrid.c @@ -693,7 +693,7 @@ bool RegionUS915HybridTxConfig( TxConfigParams_t* txConfig, int8_t* txPower, Tim Radio.SetChannel( Channels[txConfig->Channel].Frequency ); Radio.SetMaxPayloadLength( MODEM_LORA, txConfig->PktLen ); - Radio.SetTxConfig( MODEM_LORA, phyTxPower, 0, bandwidth, phyDr, 1, 16, false, true, 0, 0, false, 3e3 ); + Radio.SetTxConfig( MODEM_LORA, phyTxPower, 0, bandwidth, phyDr, 1, LORAWAN_PREAMBLE_LENGTH, false, true, 0, 0, false, 3e3 ); FREQ_PRINTF("TX on freq %u Hz at DR %d\r\n", (unsigned int)Channels[txConfig->Channel].Frequency, txConfig->Datarate); *txTimeOnAir = Radio.TimeOnAir( MODEM_LORA, txConfig->PktLen ); diff --git a/libraries/LoraWan102/src/loramac/region/RegionUS915.c b/libraries/LoraWan102/src/loramac/region/RegionUS915.c index 2835ffd8..be081a61 100644 --- a/libraries/LoraWan102/src/loramac/region/RegionUS915.c +++ b/libraries/LoraWan102/src/loramac/region/RegionUS915.c @@ -602,7 +602,7 @@ bool RegionUS915TxConfig( TxConfigParams_t* txConfig, int8_t* txPower, TimerTime Radio.SetChannel( Channels[txConfig->Channel].Frequency ); Radio.SetMaxPayloadLength( MODEM_LORA, txConfig->PktLen ); - Radio.SetTxConfig( MODEM_LORA, phyTxPower, 0, bandwidth, phyDr, 1, 16, false, true, 0, 0, false, 3e3 ); + Radio.SetTxConfig( MODEM_LORA, phyTxPower, 0, bandwidth, phyDr, 1, LORAWAN_PREAMBLE_LENGTH, false, true, 0, 0, false, 3e3 ); FREQ_PRINTF("TX on freq %u Hz at DR %d power %d dBm\r\n", (unsigned int)Channels[txConfig->Channel].Frequency, txConfig->Datarate,phyTxPower); *txTimeOnAir = Radio.TimeOnAir( MODEM_LORA, txConfig->PktLen ); diff --git a/platform.txt b/platform.txt index f43ca093..2041925e 100644 --- a/platform.txt +++ b/platform.txt @@ -36,7 +36,7 @@ compiler.as.cmd.asr650x=arm-none-eabi-as compiler.ar.cmd.asr650x=arm-none-eabi-ar compiler.objcopy.cmd.asr650x=arm-none-eabi-objcopy compiler.size.cmd.asr650x=arm-none-eabi-size -compiler.cpreprocessor.flags.asr650x=-D{build.band} -D{build.board} -DARDUINO={runtime.ide.version} -DACTIVE_REGION=LORAMAC_{build.band} -DLORAWAN_DEVEUI_AUTO={build.LORAWAN_DEVEUI_AUTO} -DLORAWAN_CLASS={build.LORAWAN_CLASS} -DLORAWAN_NETMODE={build.LORAWAN_NETMODE} -DLORAWAN_ADR={build.LORAWAN_ADR} -DLORAWAN_UPLINKMODE={build.LORAWAN_UPLINKMODE} -DLORAWAN_NET_RESERVE={build.LORAWAN_Net_Reserve} -DAT_SUPPORT={build.LORAWAN_AT_SUPPORT} -DLoraWan_RGB={build.RGB} -DLoRaWAN_DEBUG_LEVEL={build.LORAWAN_DebugLevel} -DSOFT_SE -DCY_CORE_ID=0 -DCONFIG_LORA_USE_TCXO -DCONFIG_MANUFACTURER="ASR" -DCONFIG_DEVICE_MODEL="6501" -DCONFIG_VERSION="v4.0" -DARDUINO_ARCH_ASR650X -D__{build.core}__ -D__{build.mcu}__ -DF_CPU={build.f_cpu} "-I{compiler.sdk.path}/board/" "-I{compiler.sdk.path}/board/src/" "-I{compiler.sdk.path}/board/inc/" "-I{compiler.sdk.path}/lora/radio/" "-I{compiler.sdk.path}/device/sx126x/" "-I{runtime.platform.path}/cores/loramac" "-I{runtime.platform.path}/cores/loramac/region/" "-I{compiler.sdk.path}/lora/" "-I{compiler.sdk.path}/lora/system/" "-I{compiler.sdk.path}/lora/system/crypto/" "-I{compiler.sdk.path}/port/" "-I{compiler.sdk.path}/port/include/" "-I{compiler.sdk.path}/projects/" "-I{compiler.sdk.path}/projects/PSoC4/" "-I{compiler.sdk.path}/cores/" "-I{compiler.sdk.path}/Serial/" "-I{compiler.sdk.path}/Wire/" "-I{compiler.sdk.path}/SPI/" +compiler.cpreprocessor.flags.asr650x=-D{build.band} -D{build.board} -DARDUINO={runtime.ide.version} -DACTIVE_REGION=LORAMAC_{build.band} -DLORAWAN_PREAMBLE_LENGTH={build.LORAWAN_PREAMBLE_LENGTH} -DLORAWAN_DEVEUI_AUTO={build.LORAWAN_DEVEUI_AUTO} -DLORAWAN_CLASS={build.LORAWAN_CLASS} -DLORAWAN_NETMODE={build.LORAWAN_NETMODE} -DLORAWAN_ADR={build.LORAWAN_ADR} -DLORAWAN_UPLINKMODE={build.LORAWAN_UPLINKMODE} -DLORAWAN_NET_RESERVE={build.LORAWAN_Net_Reserve} -DAT_SUPPORT={build.LORAWAN_AT_SUPPORT} -DLoraWan_RGB={build.RGB} -DLoRaWAN_DEBUG_LEVEL={build.LORAWAN_DebugLevel} -DSOFT_SE -DCY_CORE_ID=0 -DCONFIG_LORA_USE_TCXO -DCONFIG_MANUFACTURER="ASR" -DCONFIG_DEVICE_MODEL="6501" -DCONFIG_VERSION="v4.0" -DARDUINO_ARCH_ASR650X -D__{build.core}__ -D__{build.mcu}__ -DF_CPU={build.f_cpu} "-I{compiler.sdk.path}/board/" "-I{compiler.sdk.path}/board/src/" "-I{compiler.sdk.path}/board/inc/" "-I{compiler.sdk.path}/lora/radio/" "-I{compiler.sdk.path}/device/sx126x/" "-I{runtime.platform.path}/cores/loramac" "-I{runtime.platform.path}/cores/loramac/region/" "-I{compiler.sdk.path}/lora/" "-I{compiler.sdk.path}/lora/system/" "-I{compiler.sdk.path}/lora/system/crypto/" "-I{compiler.sdk.path}/port/" "-I{compiler.sdk.path}/port/include/" "-I{compiler.sdk.path}/projects/" "-I{compiler.sdk.path}/projects/PSoC4/" "-I{compiler.sdk.path}/cores/" "-I{compiler.sdk.path}/Serial/" "-I{compiler.sdk.path}/Wire/" "-I{compiler.sdk.path}/SPI/" compiler.c.flags.asr650x=-mcpu=cortex-m0plus -mthumb -g -gdwarf-2 -MMD -w -Os -mapcs-frame -mthumb-interwork -Wall -ffunction-sections -fdata-sections -ffat-lto-objects -Os -fno-common -fno-builtin-printf -fno-builtin-fflush -fno-builtin-sprintf -fno-builtin-snprintf -Wno-strict-aliasing -c compiler.cpp.flags.asr650x=-mcpu=cortex-m0plus -mthumb -w -Wall -g -gdwarf-2 -MMD -Os -mapcs-frame -mthumb-interwork -fno-common -ffat-lto-objects -ffunction-sections -fdata-sections -fno-builtin-printf -fno-builtin-sprintf -fno-builtin-snprintf -fno-builtin-fflush -Wno-strict-aliasing -c -fno-exceptions -fexceptions -fno-rtti compiler.S.flags.asr650x=-mcpu=cortex-m0plus -mthumb -c -x assembler-with-cpp -g -w -gdwarf-2 "-I{compiler.sdk.path}/projects/PSoC4"