From 2f126ed6f5adee10a272a428f5455c8c991f548f Mon Sep 17 00:00:00 2001 From: jgromes Date: Mon, 25 Mar 2024 20:57:07 +0100 Subject: [PATCH] Define a board for CI runs --- .github/workflows/main.yml | 2 +- examples/LoRaWAN/LoRaWAN_ABP/configABP.h | 2 +- examples/LoRaWAN/LoRaWAN_Reference/config.h | 2 +- examples/LoRaWAN/LoRaWAN_Starter/config.h | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 595f68a66..31dcf040e 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -164,7 +164,7 @@ jobs: else # apply special flags for LoRaWAN if [[ ${example} =~ "LoRaWAN" ]]; then - flags="-DRADIOLIB_LORAWAN_DEV_ADDR=0 -DRADIOLIB_LORAWAN_NWKS_KEY=0 -DRADIOLIB_LORAWAN_SNWKSINT_KEY=0 -DRADIOLIB_LORAWAN_NWKSENC_KEY=0 -DRADIOLIB_LORAWAN_APPS_KEY=0 -DRADIOLIB_LORAWAN_APP_KEY=0 -DRADIOLIB_LORAWAN_NWK_KEY=0 -DRADIOLIB_LORAWAN_DEV_EUI=0" + flags="-DRADIOLIB_LORAWAN_DEV_ADDR=0 -DRADIOLIB_LORAWAN_NWKS_KEY=0 -DRADIOLIB_LORAWAN_SNWKSINT_KEY=0 -DRADIOLIB_LORAWAN_NWKSENC_KEY=0 -DRADIOLIB_LORAWAN_APPS_KEY=0 -DRADIOLIB_LORAWAN_APP_KEY=0 -DRADIOLIB_LORAWAN_NWK_KEY=0 -DRADIOLIB_LORAWAN_DEV_EUI=0 -DARDUINO_TTGO_LORA32_V1" fi # build sketch diff --git a/examples/LoRaWAN/LoRaWAN_ABP/configABP.h b/examples/LoRaWAN/LoRaWAN_ABP/configABP.h index 2a0f89f3e..5d8d29e18 100644 --- a/examples/LoRaWAN/LoRaWAN_ABP/configABP.h +++ b/examples/LoRaWAN/LoRaWAN_ABP/configABP.h @@ -95,7 +95,7 @@ const uint8_t subBand = 0; // For US915, change this to 2, otherwise leave on 0 // SX1262 radio = new Module(8, 14, 12, 13); // SX1278 pin order: Module(NSS/CS, DIO0, RESET, DIO1); - SX1278 radio = new Module(10, 2, 9, 3); + // SX1278 radio = new Module(10, 2, 9, 3); #endif diff --git a/examples/LoRaWAN/LoRaWAN_Reference/config.h b/examples/LoRaWAN/LoRaWAN_Reference/config.h index cfd6604f2..b9c1bf71d 100644 --- a/examples/LoRaWAN/LoRaWAN_Reference/config.h +++ b/examples/LoRaWAN/LoRaWAN_Reference/config.h @@ -92,7 +92,7 @@ const uint8_t subBand = 0; // For US915, change this to 2, otherwise leave on 0 // SX1262 radio = new Module(8, 14, 12, 13); // SX1278 pin order: Module(NSS/CS, DIO0, RESET, DIO1); - SX1278 radio = new Module(10, 2, 9, 3); + // SX1278 radio = new Module(10, 2, 9, 3); #endif diff --git a/examples/LoRaWAN/LoRaWAN_Starter/config.h b/examples/LoRaWAN/LoRaWAN_Starter/config.h index cfd6604f2..b9c1bf71d 100644 --- a/examples/LoRaWAN/LoRaWAN_Starter/config.h +++ b/examples/LoRaWAN/LoRaWAN_Starter/config.h @@ -92,7 +92,7 @@ const uint8_t subBand = 0; // For US915, change this to 2, otherwise leave on 0 // SX1262 radio = new Module(8, 14, 12, 13); // SX1278 pin order: Module(NSS/CS, DIO0, RESET, DIO1); - SX1278 radio = new Module(10, 2, 9, 3); + // SX1278 radio = new Module(10, 2, 9, 3); #endif