romix123 / P1-wifi-gateway

21 stars 9 forks source link

Added support for PlatformIO, VSCode and CLion #8

Closed ronnievdc closed 1 year ago

ronnievdc commented 1 year ago

Because the code-base becomes larger, coding via the Arduino IDE has its limitations. This commit adds support for other IDEs like VSCode and CLion via the popular PlatformIO, while keeping the option to use Arduino.'

I tried to keep the changes to a minimum. To get PlatformIO working i made use of this mini-migration guide: https://community.platformio.org/t/tutorial-for-creating-multi-cpp-file-arduino-project/5830/13

I also added an CONTRIBUTE.md to get other developers started on this project.

romix123 commented 1 year ago

Great. ThanksWillexplore the migration this weekend. Also including other devs would be most welcome.Verstuurd vanaf mijn iPadOp 23 nov. 2023 om 00:20 heeft Ronnie @.***> het volgende geschreven:Because the code-base becomes larger, coding via the Arduino IDE has its limitations. This commit adds support for other IDEs like VSCode and CLion via the popular PlatformIO, while keeping the option to use Arduino.' I tried to keep the changes to a minimum. To get PlatformIO working i made use of this mini-migration guide: https://community.platformio.org/t/tutorial-for-creating-multi-cpp-file-arduino-project/5830/13 I also added an CONTRIBUTE.md to get other developers started on this project.

You can view, comment on, or merge this pull request online at:   https://github.com/romix123/P1-wifi-gateway/pull/8

Commit Summary

b4f2d6b Added support for PlatformIO, VSCode and CLion

File Changes (29 files)

M
.gitignore
(140)

A
.idea/inspectionProfiles/Project_Default.xml
(7)

A
.idea/misc.xml
(19)

A
.idea/vcs.xml
(6)

A
.vscode/extensions.json
(10)

A
CONTRIBUTE.md
(58)

A
include/README
(39)

A
lib/README
(46)

A
platformio.ini
(21)

R
src/CRC16.h
(0)

R
src/JSON.h
(0)

R
src/MQTT.h
(0)

R
src/TELNET.h
(0)

R
src/decoder.h
(0)

R
src/functions.h
(0)

R
src/graph.h
(0)

R
src/lang.h
(0)

R
src/logging.h
(0)

R
src/main.cpp
(27)

R
src/newMQTT.h
(0)

R
src/p1debug.h
(0)

A
src/prototypes.h
(134)

A
src/src.ino
(30)

R
src/vars.h
(0)

R
src/webserver.h
(0)

R
src/webserverNL.h
(0)

R
src/wifi.h
(0)

A
test/README
(11)

A
test/dummy.cpp
(14)

Patch Links:

https://github.com/romix123/P1-wifi-gateway/pull/8.patch https://github.com/romix123/P1-wifi-gateway/pull/8.diff

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you are subscribed to this thread.Message ID: @.***>