mirror of
https://github.com/Lurkars/esp-ena.git
synced 2026-05-08 20:10:37 +02:00
add support for platformio
This commit is contained in:
+1
-1
@@ -2,6 +2,6 @@ idf_component_register(
|
||||
SRCS
|
||||
"main.c"
|
||||
"display-interface.c"
|
||||
"wifi.c"
|
||||
"wifi/espidf-v4.0.c"
|
||||
INCLUDE_DIRS ""
|
||||
)
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
#ifdef FRAMEWORK_espidf
|
||||
// Copyright 2020 Lukas Haubaum
|
||||
//
|
||||
// Licensed under the GNU Affero General Public License, Version 3;
|
||||
@@ -169,4 +170,5 @@ void wifi_start(void)
|
||||
bool wifi_is_connected(void)
|
||||
{
|
||||
return connected;
|
||||
}
|
||||
}
|
||||
#endif
|
||||
@@ -0,0 +1,3 @@
|
||||
#ifdef FRAMEWORK_zephyr
|
||||
#error WIFI not implemented, yet
|
||||
#endif
|
||||
Reference in New Issue
Block a user