From d9b9f6db75adec714266e754e962e50742ee4d0e Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Fri, 7 Jun 2024 00:38:51 +0100 Subject: add tinyusb to config/submodule/ for pico-sdk don't define it as a "depend" variable in config/git/, because it means putting the files in a subdirectory of an existing project was was already then downloaded, and that means it can't be downloaded first; if the download of it fails, the old download is left intact. this bug isn't currently fixed in the build system, at all, so this and other patches are being made to mitigate it. Signed-off-by: Leah Rowe --- config/git/pico-serprog | 8 -------- config/submodule/pico-sdk/module.list | 1 + config/submodule/pico-sdk/tinyusb/module.cfg | 3 +++ 3 files changed, 4 insertions(+), 8 deletions(-) create mode 100644 config/submodule/pico-sdk/module.list create mode 100644 config/submodule/pico-sdk/tinyusb/module.cfg (limited to 'config') diff --git a/config/git/pico-serprog b/config/git/pico-serprog index 2b07f750..6d46566b 100644 --- a/config/git/pico-serprog +++ b/config/git/pico-serprog @@ -4,12 +4,4 @@ url: https://codeberg.org/libreboot/pico-serprog bkup_url: https://git.disroot.org/libreboot/pico-serprog depend: pico-sdk - depend: rpi-pico-tinyusb -} - -{rpi-pico-tinyusb}{ - rev: 86c416d4c0fb38432460b3e11b08b9de76941bf5 - loc: pico-sdk/lib/tinyusb - url: https://codeberg.org/libreboot/tinyusb - bkup_url: https://github.com/hathach/tinyusb.git } diff --git a/config/submodule/pico-sdk/module.list b/config/submodule/pico-sdk/module.list new file mode 100644 index 00000000..6b4010a6 --- /dev/null +++ b/config/submodule/pico-sdk/module.list @@ -0,0 +1 @@ +lib/tinyusb diff --git a/config/submodule/pico-sdk/tinyusb/module.cfg b/config/submodule/pico-sdk/tinyusb/module.cfg new file mode 100644 index 00000000..68798daa --- /dev/null +++ b/config/submodule/pico-sdk/tinyusb/module.cfg @@ -0,0 +1,3 @@ +subrev="86c416d4c0fb38432460b3e11b08b9de76941bf5" +subrepo="https://codeberg.org/libreboot/tinyusb" +subrepo_bkup="https://github.com/hathach/tinyusb.git" -- cgit v1.2.1