P1P2Monitor: Added platformio configuration for the P1P2Monitor #125
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hi @Arnold-n
I have created platformio configuration for the Monitor. This allows you to use VSCode for development which is much mode comfortable.
You can display error and warnings:
You can define build profiles. Which means that you can setup Arduino BSP and libraries as you wish in very easy way. Such definitions allows you to define different versions of libraries for each version as the configuration is stored together with sources.
And probably also debug code (I have not tried it yet) - https://www.youtube.com/watch?v=T7OGXvEXY9Y
Another possible advantage is to use Copilot for code refactoring, improvements and writing of unit tests.
I have created configurations for both the Monitor and the Bridge.
Bridge build:
CONFIGURATION: https://docs.platformio.org/page/boards/espressif8266/esp12e.html
PLATFORM: Espressif 8266 (4.2.1) > Espressif ESP8266 ESP-12E
HARDWARE: ESP8266 80MHz, 80KB RAM, 4MB Flash
PACKAGES:
LDF: Library Dependency Finder -> https://bit.ly/configure-pio-ldf
LDF Modes: Finder ~ chain, Compatibility ~ soft
Found 41 compatible libraries
Scanning dependencies...
Dependency Graph
|-- ESP AsyncTCP @ 2.0.1
|-- ArduinoJson @ 6.11.5
|-- WiFiManager @ 2.0.17
|-- AsyncMqttClient @ 0.9.0
|-- ESP Telnet @ 2.0.0+sha.90f9546
|-- lwIP_w5500 @ 1
|-- ArduinoOTA @ 1.0
|-- DNSServer @ 1.1.1
|-- EEPROM @ 1.0
|-- ESP8266AVRISP @ 1.0
|-- ESP8266HTTPClient @ 1.2
|-- ESP8266mDNS @ 1.2
|-- ESP8266WebServer @ 1.0
|-- ESP8266WiFi @ 1.0
|-- SPI @ 1.0