To successfully build this project, carefully follow these steps:
-
Install ESP-IDF: Ensure that you have the ESP-IDF (Espressif IoT Development Framework) correctly installed on your system.
-
Select a Specific Version: Navigate to the ESP-IDF repository and choose the desired version by executing the following command:
git checkout v4.4.5
-
Clone the Project Repository: Clone the project repository using SSH with this command:
git clone [email protected]:yourusername/keybox-core.git
-
Initialize Submodules: Once the repository is cloned, navigate to the project directory and initialize any submodules it may contain:
cd keybox-core git submodule update --init --recursive
-
Configure Wi-Fi and Golioth Cloud Credentials: Access the ESP-IDF menu configuration by running the following command:
idf.py menuconfig
Within the menu configuration interface, navigate to
Component Config
and then selectCredentials
(located at the bottom of the page).After entering the correct credentials, press 'Q' to exit the configuration, and it will prompt you to save your changes.
-
Build and Flash the Project: To build and flash the project, execute the following command:
idf.py build flash
-
Optional: Monitor Logs: If you wish to monitor the logs, use the following command:
idf.py monitor
For additional configuration options and in-depth guidance, consult the ESP-IDF manual.