fff
esp-idf
Our great sponsors
fff | esp-idf | |
---|---|---|
12 | 245 | |
717 | 12,379 | |
- | 2.4% | |
3.6 | 10.0 | |
6 months ago | 5 days ago | |
C | C | |
GNU General Public License v3.0 or later | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
fff
- Don't Use Mocks
-
Like seriously why does not one does it ?
Only cool framework in my opinion. I wish I had the guts to delve so deeply into Variadic Macros.
-
commonly used c-unit testing framework in 2022?
I use Unity Fixtues + FFF + CException framework.
-
Relative Newbie to Linux Command Line
For news reading, surely, I'd go with newsboat, perfect for this. Newsboat also fetches Odysee and Youtube channels, and you can integrate mpv to it to watch the videos. No ads, nothing. For file manager, I'm using fff, very minimal and relatively easy to configure.
-
industry standard for Test frameworks?
Also recommend checking out fff.
-
What techniques do you have to develop before hardware is available?
Everything else was covered: Ceedling+Unity+CMock for Unit Testing in C, CppuTest or GoogleTest or other options for C/C++. FFF is also useful when mocking. If you test and develop your modules correctly, they should when they are in your application. If you are developing using an Event-Driven Framework like QP or QML, then I would not test anything to do with the framework, but the functions that are called in each event. Same thing if you are using an RTOS, test what's inside your threads/tasks.
-
Unit Testing in C
Here is link number 1 - Previous text "fff"
There are plenty of frameworks for writing unittests but currently I prefer Unity and fff for creating fakes/stubs.
-
RFC on a C unit testing and Mocking library I am working on
Interesting! Always nice to see more of these kind of test tools for C. I'm currently using fff and Unity
-
What is your method for unit tests?
For unit tests in C, I use Unity for running the tests. Fake all functions that directly interact with hardware using FFF.
esp-idf
-
ESP-IDP and pytest markers for supported targets
IDF contains stuff like https://github.com/espressif/esp-idf/blob/master/pytest.ini and https://github.com/espressif/esp-idf/blob/master/tools/ci/idf_pytest/constants.py which are not part of the pytest-embedded package.
-
Unveiling secrets of the ESP32: creating an open-source Mac layer
ugh.. arduino.
Better to start with ESP-IDF, there's a pretty full featured well documented web server, and a lot more.
https://github.com/espressif/esp-idf/tree/master/examples/pr...
-
ESP32-S3 Usb host hid
Hi, I have device ESP32-S3-DevKitM-1 and i want to catch keystrokes from keyboard. I tried using this https://github.com/tanakamasayuki/EspUsbHost and example from espressif https://github.com/espressif/esp-idf/tree/release/v5.1/examples/peripherals/usb/host/hid/main but when i connect keyboard it is just connecting and disconnecting. Can anyone help me with this?
-
Using ESP32C6 to run wifi and Thread simultaneously
According to this page, coexistence of WiFi and 802.15.4 is now supported. Thread is based on 802.15.4.
The example: https://github.com/espressif/esp-idf/tree/master/examples/openthread/ot_br "The example could also run on a single SoC which supports both Wi-Fi and Thread (e.g., ESP32-C6), but since there is only one RF path in ESP32-C6, which means Wi-Fi and Thread can't receive simultaneously, it has a significant impact on performance. Hence the two SoCs solution is recommended."
- How to Master Esp32
-
ESP32-C3 Wireless Adventure: A Comprehensive Guide to IoT [pdf]
The latest, but it was a few months ago. The results were off by 400 meters, and many persons have the same problems : https://github.com/espressif/esp-idf/issues/8976
-
ESP32 i2c (BMP280) not working with ESP-IDF but OK with Arduino IDE
Use an official I2C example form the IDF. Like this: https://github.com/espressif/esp-idf/blob/master/examples/peripherals/i2c/i2c_simple/main/i2c_simple_main.c I’stand corrected with respect to the call order, it appears the driver install comes later. Your speed is unusually low, use the default speed of 400K. If you still get the error in the setup, use the source: the IDF is fully source distributed. Look into the implementation of the function, which errors occur form which code parts. Use ESP_LOGE or similar calls to get output messages on where you are getting to within the code. So that you learn where it’s expectations aren’t met.
-
How to analyse binary coredump
You'll need the core dump and the ELF file, assuming you have them both, you will need espcoredump.py (Github), but it's easier to install the whole ESP-IDF (docs.esspressif.com) package as the coredump tool has dependencies.
-
Reading external USB mass storage
I habe: https://github.com/espressif/esp-idf/tree/efe919275e8f4516ffd5f99f9a59e9d3efbae281/examples/peripherals/usb/host/msc
What are some alternatives?
arduino-esp32 - Arduino core for the ESP32
MicroPython - MicroPython - a lean and efficient Python implementation for microcontrollers and constrained systems
Google Mock
WiFiManager - ESP8266 WiFi Connection manager with web captive portal
WLED - Control WS2812B and many more types of digital RGB LEDs with an ESP8266 or ESP32 over WiFi!
Google Test - GoogleTest - Google Testing and Mocking Framework
CppUTest - CppUTest unit testing and mocking framework for C/C++
Unity Test API - Simple Unit Testing for C
esptool-js - Javascript implementation of flasher tool for Espressif chips, running in web browser using WebSerial.
esp32-wifi-penetration-tool - Exploring possibilities of ESP32 platform to attack on nearby Wi-Fi networks.
ElegantOTA - OTA updates made slick and simple for everyone!
wolfssl - The wolfSSL library is a small, fast, portable implementation of TLS/SSL for embedded devices to the cloud. wolfSSL supports up to TLS 1.3!