Merge pull request #23 from cyberman54/test

updated board definitions for LoPy/LoPy4
This commit is contained in:
Verkehrsrot authored and GitHub committed 2018-04-03 16:42:24 +02:00
commit 3552f05409
4 files changed
+11 -6

No files matched your search

+5 -2
View File
@@ -12,8 +12,8 @@
[platformio] [platformio]
;env_default = heltec_wifi_lora_32 ;env_default = heltec_wifi_lora_32
;env_default = ttgov1 ;env_default = ttgov1
env_default = ttgov2 ;env_default = ttgov2
;env_default = lopy env_default = lopy
;env_default = lopy4 ;env_default = lopy4
;env_default = lolin32lite_lora ;env_default = lolin32lite_lora
;env_default = lolin32_lora ;env_default = lolin32_lora
@@ -47,6 +47,7 @@ platform = espressif32
board = esp32dev board = esp32dev
framework = arduino framework = arduino
monitor_baud = 115200 monitor_baud = 115200
upload_speed = 921600
lib_deps = lib_deps =
U8g2 U8g2
ESP32 BLE Arduino@>=0.4.9 ESP32 BLE Arduino@>=0.4.9
@@ -95,6 +96,7 @@ platform = espressif32
board = esp32dev board = esp32dev
framework = arduino framework = arduino
monitor_baud = 115200 monitor_baud = 115200
upload_speed = 921600
lib_deps = lib_deps =
U8g2@>2.21.7 U8g2@>2.21.7
ESP32 BLE Arduino@>=0.4.9 ESP32 BLE Arduino@>=0.4.9
@@ -119,6 +121,7 @@ platform = espressif32
board = esp32dev board = esp32dev
framework = arduino framework = arduino
monitor_baud = 115200 monitor_baud = 115200
upload_speed = 921600
lib_deps = lib_deps =
U8g2@>2.21.7 U8g2@>2.21.7
ESP32 BLE Arduino@>=0.4.9 ESP32 BLE Arduino@>=0.4.9
+2 -1
View File
@@ -1,7 +1,8 @@
// Hardware related definitions for Pycom LoPy Board (not: LoPy4) // Hardware related definitions for Pycom LoPy Board (not: LoPy4)
#define CFG_sx1272_radio 1 #define CFG_sx1272_radio 1
#define HAS_RGB_LED 0 // WS2812B RGB LED #define HAS_LED NOT_A_PIN // we use RGB LED on LoPy
#define HAS_RGB_LED 0 // WS2812B RGB LED on GPIO0
// Hardware pin definitions for Pycom LoPy board // Hardware pin definitions for Pycom LoPy board
#define PIN_SPI_SS 17 #define PIN_SPI_SS 17
+2 -1
View File
@@ -1,7 +1,8 @@
// Hardware related definitions for Pycom LoPy Board (not: LoPy4) // Hardware related definitions for Pycom LoPy Board (not: LoPy4)
#define CFG_sx1276_radio 1 #define CFG_sx1276_radio 1
#define HAS_RGB_LED 0 // WS2812B RGB LED #define HAS_LED NOT_A_PIN // we use RGB LED on LoPy4
#define HAS_RGB_LED 0 // WS2812B RGB LED on GPIO0
// Hardware pin definitions for Pycom LoPy4 board // Hardware pin definitions for Pycom LoPy4 board
#define PIN_SPI_SS 18 #define PIN_SPI_SS 18
+2 -2
View File
@@ -3,7 +3,7 @@
#define PROGNAME "PAXCNT" #define PROGNAME "PAXCNT"
// Verbose enables serial output // Verbose enables serial output
//#define VERBOSE 1 // comment out to silence the device, for mute use build option #define VERBOSE 1 // comment out to silence the device, for mute use build option
// set this to include BLE counting and vendor filter functions // set this to include BLE counting and vendor filter functions
#define VENDORFILTER 1 // comment out if you want to count things, not people #define VENDORFILTER 1 // comment out if you want to count things, not people
@@ -29,7 +29,7 @@
#define RCMDPORT 2 // LoRaWAN Port on which device listenes for remote commands #define RCMDPORT 2 // LoRaWAN Port on which device listenes for remote commands
// Default RGB LED luminosity (in %) // Default RGB LED luminosity (in %)
#define RGBLUMINOSITY 50 // 50% #define RGBLUMINOSITY 30 // 30%
// LMIC settings // LMIC settings
// define hardware independent LMIC settings here, settings of standard library in /lmic/config.h will be ignored // define hardware independent LMIC settings here, settings of standard library in /lmic/config.h will be ignored