Initial Commit

This commit is contained in:
cnlohr
2024-03-24 17:33:38 -07:00
commit 0cc3b139d0
82 changed files with 22400 additions and 0 deletions
+23
View File
@@ -0,0 +1,23 @@
# The following lines of boilerplate have to be in your project's
# CMakeLists in this exact order for cmake to work correctly
cmake_minimum_required(VERSION 3.5)
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
add_custom_target(stub_bootload
# If the swadge is running reboot it into the bootloader.
COMMAND make -C ../tools/reboot_into_bootloader reboot
COMMAND sleep 0.5
)
#add_dependencies(flash before_flash)
add_custom_target(stub_run
#Sometimes the swadge needs a kick to get rebooted
COMMAND sleep 0.5
COMMAND esptool.py --before no_reset --after no_reset load_ram ../tools/bootload_reboot_stub/bootload_reboot_stub.bin
)
project(usb_sandbox)