summaryrefslogtreecommitdiff
path: root/blink/build/esp-idf/esptool_py
diff options
context:
space:
mode:
Diffstat (limited to 'blink/build/esp-idf/esptool_py')
-rw-r--r--blink/build/esp-idf/esptool_py/app-flash_args.in2
-rw-r--r--blink/build/esp-idf/esptool_py/cmake_install.cmake45
-rw-r--r--blink/build/esp-idf/esptool_py/flasher_args.json.in24
3 files changed, 71 insertions, 0 deletions
diff --git a/blink/build/esp-idf/esptool_py/app-flash_args.in b/blink/build/esp-idf/esptool_py/app-flash_args.in
new file mode 100644
index 0000000..c00af76
--- /dev/null
+++ b/blink/build/esp-idf/esptool_py/app-flash_args.in
@@ -0,0 +1,2 @@
+--flash_mode dio --flash_freq 40m --flash_size 2MB
+0x10000 $<TARGET_PROPERTY:__idf_build_target,EXECUTABLE_NAME>.bin \ No newline at end of file
diff --git a/blink/build/esp-idf/esptool_py/cmake_install.cmake b/blink/build/esp-idf/esptool_py/cmake_install.cmake
new file mode 100644
index 0000000..bd9ddc2
--- /dev/null
+++ b/blink/build/esp-idf/esptool_py/cmake_install.cmake
@@ -0,0 +1,45 @@
+# Install script for directory: /home/nik/esp/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 path to fallback-tool for dependency-resolution.
+if(NOT DEFINED CMAKE_OBJDUMP)
+ set(CMAKE_OBJDUMP "/home/nik/.espressif/tools/xtensa-esp-elf/esp-14.2.0_20241119/xtensa-esp-elf/bin/xtensa-esp32-elf-objdump")
+endif()
+
+string(REPLACE ";" "\n" CMAKE_INSTALL_MANIFEST_CONTENT
+ "${CMAKE_INSTALL_MANIFEST_FILES}")
+if(CMAKE_INSTALL_LOCAL_ONLY)
+ file(WRITE "/home/nik/repos/esp32/blink/build/esp-idf/esptool_py/install_local_manifest.txt"
+ "${CMAKE_INSTALL_MANIFEST_CONTENT}")
+endif()
diff --git a/blink/build/esp-idf/esptool_py/flasher_args.json.in b/blink/build/esp-idf/esptool_py/flasher_args.json.in
new file mode 100644
index 0000000..88b3414
--- /dev/null
+++ b/blink/build/esp-idf/esptool_py/flasher_args.json.in
@@ -0,0 +1,24 @@
+{
+ "write_flash_args" : [ "--flash_mode", "dio",
+ "--flash_size", "2MB",
+ "--flash_freq", "40m" ],
+ "flash_settings" : {
+ "flash_mode": "dio",
+ "flash_size": "2MB",
+ "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"
+ }
+}