I have followed the tutorial for creating a custom at command for the esp-at project as described here:
https://docs.espressif.com/projects/esp ... mands.html
However, whenever I run python build.py build (Yes I'm on windows), it does not even compile the c, header and CMakeLists file. How do I get it recognized? I currently use Hercules to test and send the command to the ESP32-C3 directly.
Cannot compile custom at command code
-
- Posts: 1
- Joined: Fri Jan 24, 2025 8:09 am
Cannot compile custom at command code
- Attachments
-
- at_custom.c
- (2.48 KiB) Downloaded 28 times
Re: Cannot compile custom at command code
You should add ESP_AT_CMD_SET_INIT_FN(esp_at_custom_cmd_register, 1); into your app_main.
And all your custom files should be added into cmake file of component where this files is placed.
https://docs.espressif.com/projects/esp ... ystem.html
And all your custom files should be added into cmake file of component where this files is placed.
https://docs.espressif.com/projects/esp ... ystem.html
Who is online
Users browsing this forum: No registered users and 9 guests