mirror of
https://github.com/lumapu/ahoy.git
synced 2025-05-24 22:36:10 +02:00
refactored directory structure
revert PR #401 (no class, pasted to app.cpp)
This commit is contained in:
parent
f5b66af793
commit
58bc1f1d8a
25 changed files with 40 additions and 369 deletions
28
tools/esp8266/src/config/config_override_example.h
Normal file
28
tools/esp8266/src/config/config_override_example.h
Normal file
|
@ -0,0 +1,28 @@
|
|||
//-----------------------------------------------------------------------------
|
||||
// 2022 Ahoy, https://www.mikrocontroller.net/topic/525778
|
||||
// Creative Commons - http://creativecommons.org/licenses/by-nc-sa/3.0/de/
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
#ifndef __CONFIG_OVERRIDE_H__
|
||||
#define __CONFIG_OVERRIDE_H__
|
||||
|
||||
// override fallback WiFi info
|
||||
#define FB_WIFI_OVERRIDDEN
|
||||
|
||||
// each ovveride must be preceeded with an #undef statement
|
||||
#undef FB_WIFI_SSID
|
||||
#define FB_WIFI_SSID "MY_SSID"
|
||||
|
||||
// each ovveride must be preceeded with an #undef statement
|
||||
#undef FB_WIFI_PWD
|
||||
#define FB_WIFI_PWD "MY_WIFI_KEY"
|
||||
|
||||
// ESP32 default pinout
|
||||
#undef DEF_RF24_CS_PIN
|
||||
#define DEF_RF24_CS_PIN 5
|
||||
#undef DEF_RF24_CE_PIN
|
||||
#define DEF_RF24_CE_PIN 4
|
||||
#undef DEF_RF24_IRQ_PIN
|
||||
#define DEF_RF24_IRQ_PIN 16
|
||||
|
||||
#endif /*__CONFIG_OVERRIDE_H__*/
|
Loading…
Add table
Add a link
Reference in a new issue