Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Removed config generator script #44

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions .env.txt

This file was deleted.

1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,3 @@
.vscode/ipch

config.hpp
.env
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ The previous iteration was a Raspberry Pi-based system. This system is intended
git clone [email protected]:zotbins/ZotbinsCore.git
```

2. Create an `.env` file in the project directory following `.env.txt` as a template.
2. Create an `config.hpp` file in the `include` directory following `config.hpp.txt` as a template.

3. Fill in the values in `.env` with the appropriate values.
3. Fill in the values in `config.hpp` with the appropriate values.

![PlatformIO VSCode Toolbar](docs/images/platformio_toolbar.png)

Expand Down
92 changes: 0 additions & 92 deletions genConfigHpp.py

This file was deleted.

12 changes: 12 additions & 0 deletions include/config.hpp.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#ifndef CONFIG_HPP
#define CONFIG_HPP

namespace Zotbins
{
namespace Config
{
const char *WIFI_SSID = "";
const char *WIFI_PWD = "";
}
}
#endif
1 change: 0 additions & 1 deletion platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ monitor_flags = --raw
monitor_dtr = 0
monitor_rts = 0
test_ignore = test_desktop_*
extra_scripts = pre:genConfigHpp.py

[env:myrelease]
extends = esp32dev
Expand Down