Fixed platform.io config
This commit is contained in:
parent
9bf3287944
commit
adf5e0a7c3
|
@ -0,0 +1,5 @@
|
|||
.pio
|
||||
.vscode/.browse.c_cpp.db*
|
||||
.vscode/c_cpp_properties.json
|
||||
.vscode/launch.json
|
||||
.vscode/ipch
|
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
// See http://go.microsoft.com/fwlink/?LinkId=827846
|
||||
// for the documentation about the extensions.json format
|
||||
"recommendations": [
|
||||
"platformio.platformio-ide"
|
||||
]
|
||||
}
|
|
@ -8,20 +8,28 @@
|
|||
; Please visit documentation for the other options and examples
|
||||
; https://docs.platformio.org/page/projectconf.html
|
||||
|
||||
[env:d1]
|
||||
platform = espressif8266
|
||||
board = esp_wroom_02
|
||||
[platformio]
|
||||
data_dir = data
|
||||
|
||||
[env:esp32]
|
||||
platform = espressif32
|
||||
board = esp-wrover-kit
|
||||
#platform = espressif8266
|
||||
#board = esp_wroom_02
|
||||
#build_flags = -Wl,-Teagle.flash.2m1m.ld
|
||||
build_flags = -DPLATFORM_ESP32
|
||||
framework = arduino
|
||||
monitor_port = /dev/ttyUSB0
|
||||
upload_port = /dev/ttyUSB0
|
||||
monitor_speed = 115200
|
||||
build_flags = -Wl,-Teagle.flash.2m1m.ld
|
||||
lib_deps =
|
||||
https://github.com/mabau/ESPAsyncWebServer.git
|
||||
AsyncTCP
|
||||
NTPClient
|
||||
src_filter = +<*> -<native_main.cpp>
|
||||
|
||||
[env:native]
|
||||
platform = native
|
||||
test_ignore = test_embedded
|
||||
build_flags = -g
|
||||
build_flags = -g -DPLATFORM_NATIVE
|
||||
src_filter = +<*> -<firmware_main.cpp>
|
|
@ -0,0 +1,5 @@
|
|||
|
||||
|
||||
int main() {
|
||||
return 0;
|
||||
}
|
|
@ -0,0 +1,21 @@
|
|||
Load Cell
|
||||
---------
|
||||
Rot E+
|
||||
Schwarz E-
|
||||
Grün (oder Gelb) A-
|
||||
Weiss A+
|
||||
|
||||
|
||||
Connector:
|
||||
----------
|
||||
1 Rot
|
||||
2 Weiss
|
||||
3 gruen
|
||||
4 schwarz
|
||||
|
||||
|
||||
|
||||
Löcher Platine (Abstand)
|
||||
---------------
|
||||
Breite 3.8
|
||||
Länge 2.8
|
Loading…
Reference in New Issue