Skip to content

Commit

Permalink
Cleanup pio ini
Browse files Browse the repository at this point in the history
cziter15 committed Jun 27, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent e36023c commit aec09c2
Showing 1 changed file with 44 additions and 37 deletions.
81 changes: 44 additions & 37 deletions firmware/platformio.ini
Original file line number Diff line number Diff line change
@@ -8,42 +8,49 @@
; Please visit documentation for the other options and examples
; https://docs.platformio.org/page/projectconf.html

[env:esp8266dev]

# Define platform and framework.
platform = espressif8266
board = esp12e
framework = arduino

# Define cpu and flash configuration.
upload_speed = 921600
monitor_speed = 9600
board_build.f_cpu = 80000000L
board_build.f_flash = 80000000L
board_build.flash_mode = qio
board_build.ldscript = eagle.flash.4m1m.ld

# Define library dependencies.
lib_deps =
ksIotFrameworkLib=https://github.com/cziter15/ksIotFrameworkLib
RadioLib=https://github.com/jgromes/RadioLib
DS18B20=https://github.com/cziter15/DS18B20

# Define build flags.
build_flags =
-DUSE_TEMP_SENSOR=1 # Enable temperature sensor.
-DAPP_LOG_ENABLED=1 # Enable logging.
-DPIO_FRAMEWORK_ARDUINO_LWIP2_HIGHER_BANDWIDTH # LWIP2 Higher Bandwidth
-DPIO_FRAMEWORK_ARDUINO_ESPRESSIF_SDK305 # Arduino SDK 3.0.5
-DCORE_DEBUG_LEVEL=0 # Set to 0 to disable debug messages.


# Define OTA parameters.
upload_protocol = espota
upload_port = Raesp.local
upload_flags =
--port=8266
--auth=ota_ksiotframework
[env]
#############################################################################################
lib_deps = ksIotFrameworkLib=https://github.com/cziter15/ksIotFrameworkLib

build_flags =
-DPIO_FRAMEWORK_ARDUINO_ESPRESSIF_SDK305 # ESP SDK 3.0.5
-DPIO_FRAMEWORK_ARDUINO_LWIP2_HIGHER_BANDWIDTH # LWIP higher bandwidth
-DCORE_DEBUG_LEVEL=0 # Set to 0 to disable debug messages.
-fno-exceptions
#############################################################################################

[env:raesp-esp12s]
# Define platform and framework.
platform = espressif8266
board = esp12e
framework = arduino

# Define cpu and flash configuration.
upload_speed = 921600
monitor_speed = 9600
board_build.f_cpu = 80000000L
board_build.f_flash = 80000000L
board_build.flash_mode = qio
board_build.ldscript = eagle.flash.4m1m.ld

# Define library dependencies.
lib_deps =
RadioLib=https://github.com/jgromes/RadioLib
DS18B20=https://github.com/cziter15/DS18B20

# Define build flags.
build_flags =
-DUSE_TEMP_SENSOR=1 # Enable temperature sensor.
-DAPP_LOG_ENABLED=1 # Enable logging.
-DPIO_FRAMEWORK_ARDUINO_LWIP2_HIGHER_BANDWIDTH # LWIP2 Higher Bandwidth
-DPIO_FRAMEWORK_ARDUINO_ESPRESSIF_SDK305 # Arduino SDK 3.0.5

# Define OTA parameters.
upload_protocol = espota
upload_port = Raesp.local
upload_flags =
--port=8266
--auth=ota_ksiotframework

[platformio]
description = Standalone SX1278 & ESP32 based radio-wifi gateway device project. Targeting to support OOK / FSK and maybe LoRA. This is going to be really fun research project that will probably end up as controller for 433MHz based devices.
description = Standalone SX1278 & ESP32 based radio-wifi gateway device project. Targeting to support OOK / FSK and maybe LoRA. This is going to be really fun research project that will probably end up as controller for 433MHz based devices.

0 comments on commit aec09c2

Please sign in to comment.