|
|
10 månader sedan | |
|---|---|---|
| .. | ||
| .helper | 3 år sedan | |
| components | 10 månader sedan | |
| include | 1 år sedan | |
| lib | 5 år sedan | |
| main | 11 månader sedan | |
| test | 11 månader sedan | |
| .gitignore | 2 år sedan | |
| CMakeLists.txt | 1 år sedan | |
| README.md | 10 månader sedan | |
| dependencies.lock | 1 år sedan | |
| partitions.csv | 5 år sedan | |
| platformio.ini | 1 år sedan | |
| sdkconfig.defaults | 11 månader sedan | |
| sdkconfig.esp32cam-board-rev3.defaults | 3 år sedan | |
| sdkconfig.esp32cam-cpu-freq-240.defaults | 3 år sedan | |
| sdkconfig.esp32cam-debug.defaults | 3 år sedan | |
| sdkconfig.esp32cam-dev-himem.defaults | 3 år sedan | |
| sdkconfig.esp32cam-dev-task-analysis.defaults | 3 år sedan | |
| sdkconfig.esp32cam-dev.defaults | 3 år sedan | |
git clone https://github.com/jomjol/AI-on-the-edge-device.git
cd AI-on-the-edge-device
git checkout main
git submodule update --init
cd /components/submodule-name (e.g. tflite-micro-example)
git checkout VERSION (e.g. HASH of latest tflite-micro-example build)
cd ../../ (at the code level)
git submodule update --init
You may need to manually delete some directories in the 'components' folder beforehand, as they were not deleted during checkout (before update -- init)
See further down to build it within an IDE.
cd code
platformio run --environment esp32cam
pio run --target upload --upload-port /dev/ttyUSB0
Alternatively you also can set the UART device in platformio.ini, eg. upload_port = /dev/ttyUSB0
pio device monitor -p /dev/ttyUSB0
git clone this project
in Linux:
git clone https://github.com/jomjol/AI-on-the-edge-device.git
cd AI-on-the-edge-device
git checkout main
git submodule update --init
in VS code, open the AI-on-the-edge-device/code
cd AI-on-the-edge-device/code && code .open a pio terminal (click on the terminal sign in the bottom menu bar)
make sure you are in the code directory
To build, type platformio run --environment esp32cam
Connect the device and type pio device monitor. There you will see your device and can copy the name to the next instruction
Add upload_port = you_device_port to the platformio.ini file
make sure an sd card with the contents of the sd_card folder is inserted and you have changed the wifi details
pio run --target erase to erase the flash
pio run --target upload this will upload the bootloader.bin, partitions.bin,firmware.bin from the code/.pio/build/esp32cam/ folder.
pio device monitor to observe the logs via uart
If you create or rename a parameter, make sure to update its documentation in ../param-docs/parameter-pages! Check the ../param-docs/README.md for more information.