summaryrefslogtreecommitdiffstats
path: root/esp32/build/esp-idf/esptool_py
diff options
context:
space:
mode:
authorSadeep Madurange <sadeep@asciimx.com>2025-11-01 09:46:52 +0800
committerSadeep Madurange <sadeep@asciimx.com>2025-11-01 09:46:52 +0800
commit9f938ab8ba5af561bd44dbc7142f338ce317a01a (patch)
tree7104ce2ac9456c5895f752eff26bad31f8436978 /esp32/build/esp-idf/esptool_py
downloadetlas-9f938ab8ba5af561bd44dbc7142f338ce317a01a.tar.gz
Etlas project.
Diffstat (limited to 'esp32/build/esp-idf/esptool_py')
-rw-r--r--esp32/build/esp-idf/esptool_py/app-flash_args.in2
-rw-r--r--esp32/build/esp-idf/esptool_py/cmake_install.cmake39
-rw-r--r--esp32/build/esp-idf/esptool_py/flasher_args.json.in24
3 files changed, 65 insertions, 0 deletions
diff --git a/esp32/build/esp-idf/esptool_py/app-flash_args.in b/esp32/build/esp-idf/esptool_py/app-flash_args.in
new file mode 100644
index 0000000..092de65
--- /dev/null
+++ b/esp32/build/esp-idf/esptool_py/app-flash_args.in
@@ -0,0 +1,2 @@
+--flash_mode dio --flash_freq 40m --flash_size detect
+0x10000 $<TARGET_PROPERTY:__idf_build_target,EXECUTABLE_NAME>.bin \ No newline at end of file
diff --git a/esp32/build/esp-idf/esptool_py/cmake_install.cmake b/esp32/build/esp-idf/esptool_py/cmake_install.cmake
new file mode 100644
index 0000000..912ba20
--- /dev/null
+++ b/esp32/build/esp-idf/esptool_py/cmake_install.cmake
@@ -0,0 +1,39 @@
+# Install script for directory: /opt/esp-idf/components/esptool_py
+
+# Set the install prefix
+if(NOT DEFINED CMAKE_INSTALL_PREFIX)
+ set(CMAKE_INSTALL_PREFIX "/usr/local")
+endif()
+string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}")
+
+# Set the install configuration name.
+if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME)
+ if(BUILD_TYPE)
+ string(REGEX REPLACE "^[^A-Za-z0-9_]+" ""
+ CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}")
+ else()
+ set(CMAKE_INSTALL_CONFIG_NAME "")
+ endif()
+ message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"")
+endif()
+
+# Set the component getting installed.
+if(NOT CMAKE_INSTALL_COMPONENT)
+ if(COMPONENT)
+ message(STATUS "Install component: \"${COMPONENT}\"")
+ set(CMAKE_INSTALL_COMPONENT "${COMPONENT}")
+ else()
+ set(CMAKE_INSTALL_COMPONENT)
+ endif()
+endif()
+
+# Is this installation the result of a crosscompile?
+if(NOT DEFINED CMAKE_CROSSCOMPILING)
+ set(CMAKE_CROSSCOMPILING "TRUE")
+endif()
+
+# Set default install directory permissions.
+if(NOT DEFINED CMAKE_OBJDUMP)
+ set(CMAKE_OBJDUMP "/home/sadeep/.espressif/tools/xtensa-esp-elf/esp-13.2.0_20230928/xtensa-esp-elf/bin/xtensa-esp32-elf-objdump")
+endif()
+
diff --git a/esp32/build/esp-idf/esptool_py/flasher_args.json.in b/esp32/build/esp-idf/esptool_py/flasher_args.json.in
new file mode 100644
index 0000000..bdc7d3d
--- /dev/null
+++ b/esp32/build/esp-idf/esptool_py/flasher_args.json.in
@@ -0,0 +1,24 @@
+{
+ "write_flash_args" : [ "--flash_mode", "dio",
+ "--flash_size", "detect",
+ "--flash_freq", "40m" ],
+ "flash_settings" : {
+ "flash_mode": "dio",
+ "flash_size": "detect",
+ "flash_freq": "40m"
+ },
+ "flash_files" : {
+ "0x1000" : "bootloader/bootloader.bin",
+ "0x10000" : "$<TARGET_PROPERTY:__idf_build_target,EXECUTABLE_NAME>.bin",
+ "0x8000" : "partition_table/partition-table.bin"
+ },
+ "bootloader" : { "offset" : "0x1000", "file" : "bootloader/bootloader.bin", "encrypted" : "false" },
+ "app" : { "offset" : "0x10000", "file" : "$<TARGET_PROPERTY:__idf_build_target,EXECUTABLE_NAME>.bin", "encrypted" : "false" },
+ "partition-table" : { "offset" : "0x8000", "file" : "partition_table/partition-table.bin", "encrypted" : "false" },
+ "extra_esptool_args" : {
+ "after" : "hard_reset",
+ "before" : "default_reset",
+ "stub" : true,
+ "chip" : "esp32"
+ }
+}