From 17e9d6b2278ad7c5a12898e35df8d14504c90813 Mon Sep 17 00:00:00 2001 From: solosky Date: Mon, 22 Jan 2024 12:21:18 +0800 Subject: [PATCH] add make gen shortcut --- fw/application/Makefile | 5 +++++ fw/scripts/requirements.txt | 1 + 2 files changed, 6 insertions(+) create mode 100644 fw/scripts/requirements.txt diff --git a/fw/application/Makefile b/fw/application/Makefile index 10f08cdd..5af589ca 100644 --- a/fw/application/Makefile +++ b/fw/application/Makefile @@ -724,6 +724,11 @@ ota: full: settingsgen mergehex --merge $(OUTPUT_DIRECTORY)/settings.hex $(OUTPUT_DIRECTORY)/bootloader.hex $(SDK_ROOT)/components/softdevice/s112/hex/s112_nrf52_7.2.0_softdevice.hex $(OUTPUT_DIRECTORY)/pixljs.hex --output $(OUTPUT_DIRECTORY)/pixljs_all.hex +gen: + python3 ../scripts/amiibo_db_gen.py + python3 ../scripts/i18n_gen.py + python3 ../scripts/resource_gen.py + flash_ocd: default openocd -f interface/cmsis-dap.cfg -c "transport select swd" -f target/nrf52.cfg -d2 -c init -c "reset init" -c halt -c "program $(OUTPUT_DIRECTORY)/pixljs.hex verify" -c "reset" -c exit diff --git a/fw/scripts/requirements.txt b/fw/scripts/requirements.txt new file mode 100644 index 00000000..d90fb7f4 --- /dev/null +++ b/fw/scripts/requirements.txt @@ -0,0 +1 @@ +imageio \ No newline at end of file