btcven / turpial-firmware Goto Github PK
View Code? Open in Web Editor NEWThe firmware for the newest Turpial board
Home Page: https://locha.io
License: Apache License 2.0
The firmware for the newest Turpial board
Home Page: https://locha.io
License: Apache License 2.0
The repo https://gitlab.com/btcven/locha/esp32_SQLite3 is not accessible and create error when I try to build the firmware.
Extracting /home/travis/.espressif/dist/openocd-esp32-linux64-0.10.0-esp32-20191114.tar.gz to /home/travis/.espressif/tools/openocd-esp32/v0.10.0-esp32-20191114
Installing Python environment and packages
ERROR: This script was called from a virtual environment, can not create a virtual environment again
The command "./install.sh" failed and exited with 1 during .
Your build has been stopped.
We need to adapt the code to use the new ESP-IDF version 4, and move from v3 to it.
The code under the libs/
directory needs to be adapted to use the new version of the framework:
Depends on #63.
We currently use the Apache-2.0 license, and it requires to have on each source file a reference to the license in use, in our case Apache-2.0.
/**
* Copyright 2020 btcven and Locha Mesh developers
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/**
* @{
*
* @file
* @brief ************ mandatory code
*
* @author Nicolás Maduro <[email protected]>
* @}
*/
This is an example of how each file should have their license and the respective documentation comment containing the @file
which should be blank, author and a brief description of what the file does. Ideally the author is the one who created the code so when someone modifies it one can know immediately who wrote it and who to ask in case of the need to understand something.
The use case of these buttons is yet to be defined.
#78 implements button logic, but doesn't do anything with it.
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:
git clone [email protected]:btcven/turpial-firmware.git
Expected behavior
When I did compile the project I got this error
gustavosinbandera1@gustavosinbandera1-HP-Laptop-17-bs0xx:~/TEXAS/turpial-firmware$ make
Building application "radio-firmware" for "cc1312-launchpad" with MCU "cc26x2_cc13x2".
/home/gustavosinbandera1/TEXAS/turpial-firmware/main.c: In function 'board_config_cmd':
/home/gustavosinbandera1/TEXAS/turpial-firmware/main.c:200:5: error: implicit declaration of function 'print_board_config' [-Werror=implicit-function-declaration]
print_board_config();
^~~~~~~~~~~~~~~~~~
/home/gustavosinbandera1/TEXAS/turpial-firmware/main.c:198:33: error: unused parameter 'argc' [-Werror=unused-parameter]
static int board_config_cmd(int argc, char **argv)
^~~~
/home/gustavosinbandera1/TEXAS/turpial-firmware/main.c:198:46: error: unused parameter 'argv' [-Werror=unused-parameter]
static int board_config_cmd(int argc, char **argv)
^~~~
cc1: all warnings being treated as errors
make[1]: *** [/home/gustavosinbandera1/TEXAS/turpial-firmware/RIOT/Makefile.base:108: /home/gustavosinbandera1/TEXAS/turpial-firmware/bin/cc1312-launchpad/application_radio-firmware/main.o] Error 1
make: *** [/home/gustavosinbandera1/TEXAS/turpial-firmware/RIOT/Makefile.include:568: /home/gustavosinbandera1/TEXAS/turpial-firmware/bin/cc1312-launchpad/application_radio-firmware.a] Error 2
From https://github.com/btcven/RIOT
* branch 14312a82bccdc0dddff9a7aee13c59261b80e4c4 -> FETCH_HEAD
Submodule path 'RIOT': checked out '14312a82bccdc0dddff9a7aee13c59261b80e4c4'
@valerio-vaccaro opened the issue #7 in the previous repo locha-mesh-app
The repo https://gitlab.com/btcven/locha/esp32_SQLite3 is not accessible and create error when I try to build the firmware.
SQLite3 will not be used in this new firmware
We need SLIP (Serial IP) [RFC 1055] to communicate with the CC1312 (our radio MCU at the moment).
This is to send IP datagrams over a serial line (UART). RIOT-OS supports it natively and ESP-IDF is waiting for this PR espressif/esp-idf#4985 (LWIP SLIP integration).
Remove unused code, and move to Utils
.
Describe the bug
There are some warnings in the code that can be removed easily.
To Reproduce
ìdf.py build
Expected behavior
No warnings
Additional context
../components/Util/src/Base64.cpp:29:13: warning: 'void util::a4_to_a3(uint8_t*, uint8_t*)' defined but not used [-Wunused-function] static void a4_to_a3(std::uint8_t* a3, std::uint8_t* a4) ^~~~~~~~ [916/936] Building CXX object esp-idf/Network/CMakeFiles/__idf_Network.dir/src/WiFi.cpp.obj ../components/Network/src/WiFi.cpp: In member function 'esp_err_t network::WiFi::start()': ../components/Network/src/WiFi.cpp:152:10: warning: unused variable 'is_sta' [-Wunused-variable] bool is_sta = isSta(); ^~~~~~ ../components/Network/src/WiFi.cpp: In member function 'esp_err_t network::WiFi::stop()': ../components/Network/src/WiFi.cpp:191:10: warning: unused variable 'is_sta' [-Wunused-variable] bool is_sta = isSta(); ^~~~~~ [924/936] Building CXX object esp-idf/HMI/CMakeFiles/__idf_HMI.dir/src/HumanInterface.cpp.obj ../components/HMI/src/HumanInterface.cpp:18:21: warning: 'hmi::gpio_evt_queue' defined but not used [-Wunused-variable] static xQueueHandle gpio_evt_queue = nullptr; ^~~~~~~~~~~~~~ [925/936] Building CXX object esp-idf/HMI/CMakeFiles/__idf_HMI.dir/src/UserButton.cpp.obj ../components/HMI/src/UserButton.cpp: In function 'void hmi::interruptIsrHandler(void*)': ../components/HMI/src/UserButton.cpp:12:17: warning: unused variable 'button' [-Wunused-variable] gpio_num_t* button = static_cast(arg); ^~~~~~ ../components/HMI/src/UserButton.cpp: In member function 'void hmi::UserButton::init(gpio_num_t, bool, hmi::callbackFunction, hmi::callbackFunction, hmi::callbackFunction)': ../components/HMI/src/UserButton.cpp:47:16: warning: unused variable 'USER_BUTTON' [-Wunused-variable] gpio_num_t USER_BUTTON = btn->_gpio_btn; ^~~~~~~~~~~ In file included from ../components/HMI/src/UserButton.h:4, from ../components/HMI/src/UserButton.cpp:1: ../components/HMI/src/HumanInterface.h: At global scope: ../components/HMI/src/HumanInterface.h:38:3: warning: 'hmi::state' defined but not used [-Wunused-variable] } state; ^~~~~ [928/936] Building CXX object esp-idf/HMI/CMakeFiles/__idf_HMI.dir/src/UserButtonHandler.cpp.obj ../components/HMI/src/UserButtonHandler.cpp:13:20: warning: 'TAG' defined but not used [-Wunused-variable] static const char* TAG = "USER-BUTTON-HANDLER"; ^~~ [930/936] Building CXX object esp-idf/main/CMakeFiles/__idf_main.dir/main.cpp.obj In file included from ../components/HMI/src/UserButton.h:4, from ../main/main.cpp:29: ../components/HMI/src/HumanInterface.h:38:3: warning: 'hmi::state' defined but not used [-Wunused-variable] } state;
Currently we use the defaults.h file, but it's unergonomic.
Solution: a sdkconfig.defaults file with only the configurations we use.
Describe the bug
On https://github.com/btcven/turpial-firmware when you click on the hyperlink for "CONTRIBUTING.md", it goes to a a 404 page
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Anything would be better than a 404 page
Desktop (please complete the following information):
Additional context
Awesome project. I want to help.
It should do the following at a minimum:
Describe the bug
I have cloned the repo and all looks ok, when I execute `make BOARD=esp32-wrover-kit`` or whatever other esp32 platform, I amgetting this output
"make" -C /home/gustavosinbandera1/TEXAS/turpial-firmware/RIOT/boards/esp32-wrover-kit
"make" -C /home/gustavosinbandera1/TEXAS/turpial-firmware/RIOT/boards/common/esp32
"make" -C /home/gustavosinbandera1/TEXAS/turpial-firmware/RIOT/core
"make" -C /home/gustavosinbandera1/TEXAS/turpial-firmware/RIOT/cpu/esp32
"make" -C /home/gustavosinbandera1/TEXAS/turpial-firmware/RIOT/cpu/esp32/freertos
"make" -C /home/gustavosinbandera1/TEXAS/turpial-firmware/RIOT/cpu/esp32/periph
"make" -C /home/gustavosinbandera1/TEXAS/turpial-firmware/RIOT/cpu/esp32/vendor
"make" -C /home/gustavosinbandera1/TEXAS/turpial-firmware/RIOT/cpu/esp32/vendor/esp-idf
"make" -C /home/gustavosinbandera1/TEXAS/turpial-firmware/RIOT/cpu/esp32/vendor/esp-idf/driver
"make" -C /home/gustavosinbandera1/TEXAS/turpial-firmware/RIOT/cpu/esp32/vendor/esp-idf/esp32
"make" -C /home/gustavosinbandera1/TEXAS/turpial-firmware/RIOT/cpu/esp32/vendor/esp-idf/heap
"make" -C /home/gustavosinbandera1/TEXAS/turpial-firmware/RIOT/cpu/esp32/vendor/esp-idf/nvs_flash
"make" -C /home/gustavosinbandera1/TEXAS/turpial-firmware/RIOT/cpu/esp32/vendor/esp-idf/soc
"make" -C /home/gustavosinbandera1/TEXAS/turpial-firmware/RIOT/cpu/esp32/vendor/esp-idf/spi_flash
"make" -C /home/gustavosinbandera1/TEXAS/turpial-firmware/RIOT/cpu/esp32/vendor/esp-idf/wpa_supplicant
"make" -C /home/gustavosinbandera1/TEXAS/turpial-firmware/RIOT/cpu/esp32/vendor/esp-idf/wpa_supplicant/port
"make" -C /home/gustavosinbandera1/TEXAS/turpial-firmware/RIOT/cpu/esp32/vendor/esp-idf/wpa_supplicant/src/crypto
"make" -C /home/gustavosinbandera1/TEXAS/turpial-firmware/RIOT/cpu/esp_common
"make" -C /home/gustavosinbandera1/TEXAS/turpial-firmware/RIOT/cpu/esp_common/esp-now
"make" -C /home/gustavosinbandera1/TEXAS/turpial-firmware/RIOT/cpu/esp_common/freertos
"make" -C /home/gustavosinbandera1/TEXAS/turpial-firmware/RIOT/cpu/esp_common/periph
"make" -C /home/gustavosinbandera1/TEXAS/turpial-firmware/RIOT/cpu/esp_common/vendor
"make" -C /home/gustavosinbandera1/TEXAS/turpial-firmware/RIOT/cpu/esp_common/vendor/xtensa
"make" -C /home/gustavosinbandera1/TEXAS/turpial-firmware/RIOT/drivers
"make" -C /home/gustavosinbandera1/TEXAS/turpial-firmware/RIOT/drivers/mtd
"make" -C /home/gustavosinbandera1/TEXAS/turpial-firmware/RIOT/drivers/periph_common
"make" -C /home/gustavosinbandera1/TEXAS/turpial-firmware/RIOT/drivers/slipdev
"make" -C /home/gustavosinbandera1/TEXAS/turpial-firmware/RIOT/sys
"make" -C /home/gustavosinbandera1/TEXAS/turpial-firmware/RIOT/sys/auto_init
"make" -C /home/gustavosinbandera1/TEXAS/turpial-firmware/RIOT/sys/div
"make" -C /home/gustavosinbandera1/TEXAS/turpial-firmware/RIOT/sys/event
"make" -C /home/gustavosinbandera1/TEXAS/turpial-firmware/RIOT/sys/evtimer
"make" -C /home/gustavosinbandera1/TEXAS/turpial-firmware/RIOT/sys/fmt
"make" -C /home/gustavosinbandera1/TEXAS/turpial-firmware/RIOT/sys/isrpipe
"make" -C /home/gustavosinbandera1/TEXAS/turpial-firmware/RIOT/sys/log
"make" -C /home/gustavosinbandera1/TEXAS/turpial-firmware/RIOT/sys/luid
"make" -C /home/gustavosinbandera1/TEXAS/turpial-firmware/RIOT/sys/net/application_layer/gcoap
"make" -C /home/gustavosinbandera1/TEXAS/turpial-firmware/RIOT/sys/net/application_layer/nanocoap
"make" -C /home/gustavosinbandera1/TEXAS/turpial-firmware/RIOT/sys/net/crosslayer/inet_csum
"make" -C /home/gustavosinbandera1/TEXAS/turpial-firmware/RIOT/sys/net/crosslayer/netopt
"make" -C /home/gustavosinbandera1/TEXAS/turpial-firmware/RIOT/sys/net/gnrc
"make" -C /home/gustavosinbandera1/TEXAS/turpial-firmware/RIOT/sys/net/gnrc/netapi
"make" -C /home/gustavosinbandera1/TEXAS/turpial-firmware/RIOT/sys/net/gnrc/netif
"make" -C /home/gustavosinbandera1/TEXAS/turpial-firmware/RIOT/sys/net/gnrc/netif/hdr
"make" -C /home/gustavosinbandera1/TEXAS/turpial-firmware/RIOT/sys/net/gnrc/netif/init_devs
"make" -C /home/gustavosinbandera1/TEXAS/turpial-firmware/RIOT/sys/net/gnrc/netreg
"make" -C /home/gustavosinbandera1/TEXAS/turpial-firmware/RIOT/sys/net/gnrc/network_layer/icmpv6
"make" -C /home/gustavosinbandera1/TEXAS/turpial-firmware/RIOT/sys/net/gnrc/network_layer/icmpv6/echo
"make" -C /home/gustavosinbandera1/TEXAS/turpial-firmware/RIOT/sys/net/gnrc/network_layer/ipv6
"make" -C /home/gustavosinbandera1/TEXAS/turpial-firmware/RIOT/sys/net/gnrc/network_layer/ipv6/hdr
"make" -C /home/gustavosinbandera1/TEXAS/turpial-firmware/RIOT/sys/net/gnrc/network_layer/ipv6/nib
"make" -C /home/gustavosinbandera1/TEXAS/turpial-firmware/RIOT/sys/net/gnrc/network_layer/ndp
"make" -C /home/gustavosinbandera1/TEXAS/turpial-firmware/RIOT/sys/net/gnrc/network_layer/sixlowpan
"make" -C /home/gustavosinbandera1/TEXAS/turpial-firmware/RIOT/sys/net/gnrc/network_layer/sixlowpan/ctx
"make" -C /home/gustavosinbandera1/TEXAS/turpial-firmware/RIOT/sys/net/gnrc/network_layer/sixlowpan/frag
"make" -C /home/gustavosinbandera1/TEXAS/turpial-firmware/RIOT/sys/net/gnrc/network_layer/sixlowpan/frag/fb
"make" -C /home/gustavosinbandera1/TEXAS/turpial-firmware/RIOT/sys/net/gnrc/network_layer/sixlowpan/frag/rb
"make" -C /home/gustavosinbandera1/TEXAS/turpial-firmware/RIOT/sys/net/gnrc/network_layer/sixlowpan/iphc
"make" -C /home/gustavosinbandera1/TEXAS/turpial-firmware/RIOT/sys/net/gnrc/network_layer/sixlowpan/nd
"make" -C /home/gustavosinbandera1/TEXAS/turpial-firmware/RIOT/sys/net/gnrc/pkt
"make" -C /home/gustavosinbandera1/TEXAS/turpial-firmware/RIOT/sys/net/gnrc/pktbuf
"make" -C /home/gustavosinbandera1/TEXAS/turpial-firmware/RIOT/sys/net/gnrc/pktbuf_static
"make" -C /home/gustavosinbandera1/TEXAS/turpial-firmware/RIOT/sys/net/gnrc/pktdump
"make" -C /home/gustavosinbandera1/TEXAS/turpial-firmware/RIOT/sys/net/gnrc/sock
"make" -C /home/gustavosinbandera1/TEXAS/turpial-firmware/RIOT/sys/net/gnrc/sock/udp
"make" -C /home/gustavosinbandera1/TEXAS/turpial-firmware/RIOT/sys/net/gnrc/transport_layer/udp
"make" -C /home/gustavosinbandera1/TEXAS/turpial-firmware/RIOT/sys/net/link_layer/l2util
"make" -C /home/gustavosinbandera1/TEXAS/turpial-firmware/RIOT/sys/net/netif
"make" -C /home/gustavosinbandera1/TEXAS/turpial-firmware/RIOT/sys/net/network_layer/icmpv6
"make" -C /home/gustavosinbandera1/TEXAS/turpial-firmware/RIOT/sys/net/network_layer/ipv6/addr
"make" -C /home/gustavosinbandera1/TEXAS/turpial-firmware/RIOT/sys/net/network_layer/ipv6/hdr
"make" -C /home/gustavosinbandera1/TEXAS/turpial-firmware/RIOT/sys/net/network_layer/sixlowpan
"make" -C /home/gustavosinbandera1/TEXAS/turpial-firmware/RIOT/sys/net/sock
"make" -C /home/gustavosinbandera1/TEXAS/turpial-firmware/RIOT/sys/net/sock/async/event
"make" -C /home/gustavosinbandera1/TEXAS/turpial-firmware/RIOT/sys/net/transport_layer/udp
"make" -C /home/gustavosinbandera1/TEXAS/turpial-firmware/RIOT/sys/newlib_syscalls_default
"make" -C /home/gustavosinbandera1/TEXAS/turpial-firmware/RIOT/sys/od
"make" -C /home/gustavosinbandera1/TEXAS/turpial-firmware/RIOT/sys/pm_layered
"make" -C /home/gustavosinbandera1/TEXAS/turpial-firmware/RIOT/sys/posix/inet
"make" -C /home/gustavosinbandera1/TEXAS/turpial-firmware/RIOT/sys/posix/pthread
"make" -C /home/gustavosinbandera1/TEXAS/turpial-firmware/RIOT/sys/ps
"make" -C /home/gustavosinbandera1/TEXAS/turpial-firmware/RIOT/sys/random
"make" -C /home/gustavosinbandera1/TEXAS/turpial-firmware/RIOT/sys/random/tinymt32
"make" -C /home/gustavosinbandera1/TEXAS/turpial-firmware/RIOT/sys/shell
"make" -C /home/gustavosinbandera1/TEXAS/turpial-firmware/RIOT/sys/shell/commands
"make" -C /home/gustavosinbandera1/TEXAS/turpial-firmware/RIOT/sys/stdio_uart
"make" -C /home/gustavosinbandera1/TEXAS/turpial-firmware/RIOT/sys/timex
"make" -C /home/gustavosinbandera1/TEXAS/turpial-firmware/RIOT/sys/tsrb
"make" -C /home/gustavosinbandera1/TEXAS/turpial-firmware/RIOT/sys/xtimer
"make" -C /home/gustavosinbandera1/TEXAS/turpial-firmware/sys
"make" -C /home/gustavosinbandera1/TEXAS/turpial-firmware/sys/cjson
"make" -C /home/gustavosinbandera1/TEXAS/turpial-firmware/sys/net
"make" -C /home/gustavosinbandera1/TEXAS/turpial-firmware/sys/net/coap
"make" -C /home/gustavosinbandera1/TEXAS/turpial-firmware/sys/net/vaina
"make" -C /home/gustavosinbandera1/TEXAS/turpial-firmware/sys/storage
"make" -C /home/gustavosinbandera1/TEXAS/turpial-firmware/sys/storage/nvs
"make" -C /home/gustavosinbandera1/TEXAS/turpial-firmware/sys/storage/settings
/turpial-firmware/bin/esp32-wrover-kit/esp_wifi_ap.a: No such file or directory
make: ***
RIOT module master branch
Some time ago we decided to use BLE as an administration interface, but BLE can brings some red flags regarding privacy.
For the admin interface, using BLE on Android phones, you need to enable permissions regarding the location. We believe this can trigger privacy issues and for this the admin interface must be moved to the secure web server.
The device should be able to connect to other nodes. Send packets, and route packets between nodes.
Currently we use the CC1312 radio MCU to communicate with other nodes, this radio communicates with the ESP32 using UART. As of today, the pins used are defined in the defaults.h
file, however these aren't the pins we'll be going to use for the finished Turpial board and are there just for development purposes.
We need to research and implement a new protocol to communicate with both MCUs, the way to send packets to the network, figure out how to request a route and such things.
To route packets over the network we'll be using AODV over IPv6.
We need to authenticate HTTP requests, so only the administrator can change the configuration.
What we need:
/system/credentials
probable URI).
Describe the bug
C++ exceptions makes the compiler to emit run-time code for that increasing the binary size.
n
).Expected behavior
Small binary 😉
The sys admin. needs to be able to generate a self signed certificate on demand.
This can be a new component named crypto
, security
, or something similar but also can be part of components/Util
Functions of this components are:
Other crypto functions can be added, sha256 generation of Node ID NID
, etc
Currently we're using Platform IO, to build and test the code. It's slow to build the code and uses an old ESP-IDF version.
Describe the bug
../components/Util/src/Base64.cpp:29:13: warning: 'void util::a4_to_a3(uint8_t*, uint8_t*)' defined but not used [-Wunused-function]
static void a4_to_a3(std::uint8_t* a3, std::uint8_t* a4)
^~~~~~~~
[1171/1199] Building CXX object esp-idf/Network/CMakeFiles/__idf_Network.dir/src/WiFi.cpp.obj
In file included from ../components/Network/src/WiFiEventHandler.h:18,
from ../components/Network/src/WiFi.h:22,
from ../components/Network/src/WiFi.cpp:12:
/home/jeandudey/Dev/esp-idf/components/esp_event/include/esp_event_loop.h:2:2: warning: #warning "esp_event_loop.h is deprecated, please include esp_event.h instead" [-Wcpp]
#warning "esp_event_loop.h is deprecated, please include esp_event.h instead"
^~~~~~~
../components/Network/src/WiFi.cpp: In member function 'esp_err_t network::WiFi::init()':
../components/Network/src/WiFi.cpp:113:24: warning: 'void tcpip_adapter_init()' is deprecated [-Wdeprecated-declarations]
tcpip_adapter_init();
^
In file included from /home/jeandudey/Dev/esp-idf/components/esp_netif/include/esp_netif.h:35,
from /home/jeandudey/Dev/esp-idf/components/esp_event/include/esp_event_legacy.h:22,
from /home/jeandudey/Dev/esp-idf/components/esp_event/include/esp_event.h:26,
from ../components/Network/src/WiFi.h:18,
from ../components/Network/src/WiFi.cpp:12:
/home/jeandudey/Dev/esp-idf/components/tcpip_adapter/include/tcpip_adapter.h:34:6: note: declared here
void tcpip_adapter_init(void) __attribute__ ((deprecated));
^~~~~~~~~~~~~~~~~~
../components/Network/src/WiFi.cpp:113:24: warning: 'void tcpip_adapter_init()' is deprecated [-Wdeprecated-declarations]
tcpip_adapter_init();
^
In file included from /home/jeandudey/Dev/esp-idf/components/esp_netif/include/esp_netif.h:35,
from /home/jeandudey/Dev/esp-idf/components/esp_event/include/esp_event_legacy.h:22,
from /home/jeandudey/Dev/esp-idf/components/esp_event/include/esp_event.h:26,
from ../components/Network/src/WiFi.h:18,
from ../components/Network/src/WiFi.cpp:12:
/home/jeandudey/Dev/esp-idf/components/tcpip_adapter/include/tcpip_adapter.h:34:6: note: declared here
void tcpip_adapter_init(void) __attribute__ ((deprecated));
^~~~~~~~~~~~~~~~~~
../components/Network/src/WiFi.cpp:117:50: warning: 'esp_err_t esp_event_loop_init(system_event_cb_t, void*)' is deprecated [-Wdeprecated-declarations]
esp_event_loop_init(&WiFi::eventHandler, this);
^
In file included from /home/jeandudey/Dev/esp-idf/components/esp_event/include/esp_event.h:26,
from ../components/Network/src/WiFi.h:18,
from ../components/Network/src/WiFi.cpp:12:
/home/jeandudey/Dev/esp-idf/components/esp_event/include/esp_event_legacy.h:227:11: note: declared here
esp_err_t esp_event_loop_init(system_event_cb_t cb, void *ctx) __attribute__ ((deprecated));
^~~~~~~~~~~~~~~~~~~
../components/Network/src/WiFi.cpp:117:50: warning: 'esp_err_t esp_event_loop_init(system_event_cb_t, void*)' is deprecated [-Wdeprecated-declarations]
esp_event_loop_init(&WiFi::eventHandler, this);
^
In file included from /home/jeandudey/Dev/esp-idf/components/esp_event/include/esp_event.h:26,
from ../components/Network/src/WiFi.h:18,
from ../components/Network/src/WiFi.cpp:12:
/home/jeandudey/Dev/esp-idf/components/esp_event/include/esp_event_legacy.h:227:11: note: declared here
esp_err_t esp_event_loop_init(system_event_cb_t cb, void *ctx) __attribute__ ((deprecated));
^~~~~~~~~~~~~~~~~~~
[1173/1199] Building CXX object esp-idf/Network/CMakeFiles/__idf_Network.dir/src/WiFiEventHandler.cpp.obj
In file included from ../components/Network/src/WiFiEventHandler.h:18,
from ../components/Network/src/WiFiEventHandler.cpp:1:
/home/jeandudey/Dev/esp-idf/components/esp_event/include/esp_event_loop.h:2:2: warning: #warning "esp_event_loop.h is deprecated, please include esp_event.h instead" [-Wcpp]
#warning "esp_event_loop.h is deprecated, please include esp_event.h instead"
^~~~~~~
[1185/1199] Building CXX object esp-idf/BLEPreferences/CMakeFiles/__idf_BLEPreferences.dir/src/BLEPreferences.cpp.obj
In file included from ../components/Network/src/WiFiEventHandler.h:18,
from ../components/Network/src/WiFi.h:22,
from ../components/BLEPreferences/src/BLEPreferences.cpp:19:
/home/jeandudey/Dev/esp-idf/components/esp_event/include/esp_event_loop.h:2:2: warning: #warning "esp_event_loop.h is deprecated, please include esp_event.h instead" [-Wcpp]
#warning "esp_event_loop.h is deprecated, please include esp_event.h instead"
^~~~~~~
[1191/1199] Building CXX object esp-idf/WS/CMakeFiles/__idf_WS.dir/src/HttpRequest.cpp.obj
In file included from ../components/WS/src/HttpRequest.cpp:44:
../components/Util/src/Base64.h:40:20: warning: 'std::size_t util::base64EncodedLength(const string&)' defined but not used [-Wunused-function]
static std::size_t base64EncodedLength(const std::string& in)
^~~~~~~~~~~~~~~~~~~
[1194/1199] Building CXX object esp-idf/main/CMakeFiles/__idf_main.dir/main.cpp.obj
In file included from ../components/Network/src/WiFiEventHandler.h:18,
from ../components/Network/src/WiFi.h:22,
from ../main/main.cpp:23:
/home/jeandudey/Dev/esp-idf/components/esp_event/include/esp_event_loop.h:2:2: warning: #warning "esp_event_loop.h is deprecated, please include esp_event.h instead" [-Wcpp]
#warning "esp_event_loop.h is deprecated, please include esp_event.h instead"
^~~~~~~
To Reproduce
Expected behavior
Desktop (please complete the following information):
Trying to put together a DIY setup, and I was told by Luis that he thinks the Turpial repo must compile the firmware for my two boards (launchpad+ESP32) and to try it out.
I was able to clone and compile okay, but when I try and flash it as stated here:
https://github.com/btcven/turpial-firmware#flashing-the-firmware
I get this error message:
'Compiler xtensa-esp32-elf-gcc is required but not found in PATH. Aborting.'
Does this mean the launchpad doesn't need the turpial-firmware, and I should just move onto flashing the ESP32 board with the turpial-firmware?
I was able to build and flash the radio-firmware onto the launchpad okay FYI
We need to do a cleanup of the code and follow the overall guidelines at CONTRIBUTING.md.
This can be done progressively.
components/ESC
.components/HMI
.components/HTTP
.components/Network
.components/NVS
.components/Radio
.components/Task
.components/Util
Currently some components are unimplemented:
Each component must has a /test
folder containing all the test cases as described in the PR #70
Describe the bug
trying to use the WiFi class to test the functionality, I saw DTOConfig struct inside wifiDTO.h file need to be added a new two fields to configure "WST" workstation mode, I mean {WST_SSID} and {WST_PASSWORD},
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.