Simple ESP32 firmware that encrypts messages using the Caesar Cipher algorithm.
- Languages: C17
- Framework / SDK: ESP-IDF
- Hardware: ESP32
- Build Tools: CMake, idf.py
If you haven't set up the ESP-IDF yet, run:
cd ~/esp/esp-idf
./install.sh
. $HOME/esp/esp-idf/export.sh
💡 Tip: To avoid running these commands every time, see the Automated Command section below.
git clone https://github.com/eduabdala/tool-cesar-cipher
cd esp-cesar-cipher
idf.py set-target esp32
idf.py fullclean
idf.py build
idf.py flash -p /dev/ttyUSB0
Create an alias to automate setup and build:
echo "alias idf_build='PROJECT_DIR=\$(pwd) && /home/<user>/esp/esp-idf/install.sh && . \$HOME/esp/esp-idf/export.sh && cd \"\$PROJECT_DIR\" && idf.py fullclean && idf.py build'" >> ~/.bashrc
source ~/.bashrc
Then, just run inside the project directory:
idf_build
- GitHub: eduabdala
- Issues: Open Issues
- License: MIT