Skip to content

Commit

Permalink
Allow build with PlatformIO (rbroker#35)
Browse files Browse the repository at this point in the history
* Allow build with PlatformIO

* fix platform
  • Loading branch information
gekkekoe committed Mar 19, 2024
1 parent c8490ae commit 37d9a46
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
ecodan-ha-local/build/
.vscode
.vscode
.pio
20 changes: 20 additions & 0 deletions platformio.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
[platformio]
src_dir=${PROJECT_DIR}/ecodan-ha-local

[env]
platform = espressif32
framework = arduino
monitor_speed = 115200
; for linux
monitor_port = /dev/ttyUSB0
upload_port = /dev/ttyUSB0
; for osx
; monitor_port = /dev/cu.usbserial-0001
; upload_port = /dev/cu.usbserial-0001
; for other platforms see: https://docs.platformio.org/en/latest/projectconf/sections/env/options/upload/upload_port.html
lib_deps =
ArduinoJson @ 7.0.3
MQTT @ 2.5.2

[env:esp32dev]
board = esp32dev

0 comments on commit 37d9a46

Please sign in to comment.