Assume you have completed the driver/firmware setup, and
tt-smi
can run without error.
sudo apt install \
git \
python3-dev \
#pragma description "ESP-IDF Second Stage Bootloader Image" | |
#pragma authors "https://github.com/espressif/esp-idf" | |
#pragma magic [ E9 ] @ 0x00 | |
// Based on the ESP-IDF documentation for the image format. | |
// https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-reference/system/app_image_format.html | |
enum esp_chip_id_t: u16 { | |
ESP_CHIP_ID_ESP32 = 0, | |
ESP_CHIP_ID_ESP32S2 = 2, |
meta: | |
id: esp | |
file-extension: bin | |
endian: le | |
seq: | |
- id: header | |
type: image_header | |
- id: extended_header | |
type: image_extended_header |
diff --git a/tools/idf_py_actions/create_ext.py b/tools/idf_py_actions/create_ext.py | |
index 00d9fa2881..ec41d46e24 100644 | |
--- a/tools/idf_py_actions/create_ext.py | |
+++ b/tools/idf_py_actions/create_ext.py | |
@@ -2,14 +2,57 @@ | |
# SPDX-License-Identifier: Apache-2.0 | |
import os | |
import re | |
+import shutil | |
import sys |
{ | |
description = "ESP-IDF"; | |
outputs = { | |
self, | |
nixpkgs, | |
... | |
}: let | |
system = "x86_64-linux"; |