Skip to content
Snippets Groups Projects
Commit 0a9c9300 authored by francois's avatar francois
Browse files

added initial support to neOSensor PCB v5 :)

parent 855e6eaf
Branches
Tags
No related merge requests found
...@@ -26,10 +26,12 @@ neOSensor.build.flash_size=4MB ...@@ -26,10 +26,12 @@ neOSensor.build.flash_size=4MB
neOSensor.build.flash_freq=80m neOSensor.build.flash_freq=80m
neOSensor.build.boot=dio neOSensor.build.boot=dio
neOSensor.build.partitions=default neOSensor.build.partitions=default
# [aug.20] for tests, we enable LED2 and we disable SSL # onboard LED2 (except on ESP32 38pins we don't use)
# DISABLE_SSL: flag to disable SSL comms.
# DISABLE_ADC_CAL: flag to disable esp32 ADC advanced calibration # DISABLE_ADC_CAL: flag to disable esp32 ADC advanced calibration
# DISABLE_AP_PASSWD: flag to disable access point password (i.e free to connect to) # DISABLE_AP_PASSWD: flag to disable access point password (i.e free to connect to)
neOSensor.build.defines=-DNEOSENSOR_BOARD -DMQTT_KEEPALIVE=60 -DMQTT_SOCKET_TIMEOUT=60 -DMQTT_MAX_PACKET_SIZE=256 -DLED=2 -DDISABLE_SSL -DDISABLE_AP_PASSWD neOSensor.build.defines=-DNEOSENSOR_BOARD -DMQTT_KEEPALIVE=60 -DMQTT_SOCKET_TIMEOUT=60 -DMQTT_MAX_PACKET_SIZE=256 -DDISABLE_SSL -DDISABLE_AP_PASSWD
#neOSensor.build.defines=-DNEOSENSOR_BOARD -DMQTT_KEEPALIVE=60 -DMQTT_SOCKET_TIMEOUT=60 -DMQTT_MAX_PACKET_SIZE=256 -DLED=2 -DDISABLE_SSL -DDISABLE_AP_PASSWD
#neOSensor.build.defines=-DNEOSENSOR_BOARD -DMQTT_KEEPALIVE=60 -DMQTT_SOCKET_TIMEOUT=60 -DMQTT_MAX_PACKET_SIZE=256 #neOSensor.build.defines=-DNEOSENSOR_BOARD -DMQTT_KEEPALIVE=60 -DMQTT_SOCKET_TIMEOUT=60 -DMQTT_MAX_PACKET_SIZE=256
neOSensor.menu.UploadSpeed.921600=921600 neOSensor.menu.UploadSpeed.921600=921600
......
...@@ -12,6 +12,7 @@ ...@@ -12,6 +12,7 @@
* - noise detector (8bits DAC MCP4706) * - noise detector (8bits DAC MCP4706)
* --- * ---
* *
* F.Thiebolt Mar.21 corrected leds definitions for neOSensor V5 :)
* F.Thiebolt Aug.20 added definitions for future ESP32 version (e.g LED PWM channel) * F.Thiebolt Aug.20 added definitions for future ESP32 version (e.g LED PWM channel)
* set default ADC resolution according to architecture * set default ADC resolution according to architecture
* F.Thiebolt Jun.18 merged neOClock as options to neOSensor * F.Thiebolt Jun.18 merged neOClock as options to neOSensor
...@@ -36,8 +37,8 @@ ...@@ -36,8 +37,8 @@
* Definitions * Definitions
*/ */
#define BOARD_NAME "neOSensor" #define BOARD_NAME "neOSensor"
#define BOARD_REVISION 1.1 #define BOARD_REVISION 1.2
#define BOARD_FWREV 201102 // Firmware revision <year><month><day> in 2 digits each #define BOARD_FWREV 210331 // Firmware revision <year><month><day> in 2 digits each
/* ############################################################################# /* #############################################################################
...@@ -66,7 +67,8 @@ ...@@ -66,7 +67,8 @@
#ifdef ESP8266 #ifdef ESP8266
#define SYS_LED 2 // GPIO2 (ESP8266 embedded led) #define SYS_LED 2 // GPIO2 (ESP8266 embedded led)
#elif defined(ESP32) #elif defined(ESP32)
#define SYS_LED INVALID_GPIO // no system led on ESP32 #define SYS_LED 2 // GPIO2 (ESP32 30pins & green devkit)
// #define SYS_LED INVALID_GPIO // no system led on ESP32 38 pins
#endif #endif
#endif #endif
...@@ -75,7 +77,8 @@ ...@@ -75,7 +77,8 @@
#ifdef ESP8266 #ifdef ESP8266
#define LED 5 // GPIO5 (our main led) #define LED 5 // GPIO5 (our main led)
#elif defined(ESP32) #elif defined(ESP32)
#define LED INVALID_GPIO #define LED 5 // GPIO5 (our main led)
// #define LED INVALID_GPIO
#endif #endif
#endif #endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment