Skip to content

Commit

Permalink
Bump tools version to v2.0.0-4
Browse files Browse the repository at this point in the history
Fixes #84
  • Loading branch information
will-v-pi committed Sep 17, 2024
1 parent d1e78fa commit 0930490
Show file tree
Hide file tree
Showing 3 changed files with 71 additions and 5 deletions.
68 changes: 67 additions & 1 deletion data/0.16.0/github-cache.json
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,8 @@
"v2.0.0-0",
"v2.0.0-1",
"v2.0.0-2",
"v2.0.0-3"
"v2.0.0-3",
"v2.0.0-4"
],
"githubApiCache-3-1-v1.5.1-0": {
"assets": [
Expand Down Expand Up @@ -617,6 +618,71 @@
],
"assetsUrl": "https://api.github.com/repos/raspberrypi/pico-sdk-tools/releases/174135764/assets"
},
"githubApiCache-3-1-v2.0.0-4": {
"assets": [
{
"id": 193192683,
"name": "openocd-0.12.0+dev-aarch64-lin.tar.gz",
"browser_download_url": "https://github.com/raspberrypi/pico-sdk-tools/releases/download/v2.0.0-4/openocd-0.12.0%2Bdev-aarch64-lin.tar.gz"
},
{
"id": 193194432,
"name": "openocd-0.12.0+dev-arm64-mac.zip",
"browser_download_url": "https://github.com/raspberrypi/pico-sdk-tools/releases/download/v2.0.0-4/openocd-0.12.0%2Bdev-arm64-mac.zip"
},
{
"id": 193193748,
"name": "openocd-0.12.0+dev-x64-win.zip",
"browser_download_url": "https://github.com/raspberrypi/pico-sdk-tools/releases/download/v2.0.0-4/openocd-0.12.0%2Bdev-x64-win.zip"
},
{
"id": 193192582,
"name": "openocd-0.12.0+dev-x86_64-lin.tar.gz",
"browser_download_url": "https://github.com/raspberrypi/pico-sdk-tools/releases/download/v2.0.0-4/openocd-0.12.0%2Bdev-x86_64-lin.tar.gz"
},
{
"id": 193192681,
"name": "pico-sdk-tools-2.0.0-aarch64-lin.tar.gz",
"browser_download_url": "https://github.com/raspberrypi/pico-sdk-tools/releases/download/v2.0.0-4/pico-sdk-tools-2.0.0-aarch64-lin.tar.gz"
},
{
"id": 193194434,
"name": "pico-sdk-tools-2.0.0-mac.zip",
"browser_download_url": "https://github.com/raspberrypi/pico-sdk-tools/releases/download/v2.0.0-4/pico-sdk-tools-2.0.0-mac.zip"
},
{
"id": 193193746,
"name": "pico-sdk-tools-2.0.0-x64-win.zip",
"browser_download_url": "https://github.com/raspberrypi/pico-sdk-tools/releases/download/v2.0.0-4/pico-sdk-tools-2.0.0-x64-win.zip"
},
{
"id": 193192583,
"name": "pico-sdk-tools-2.0.0-x86_64-lin.tar.gz",
"browser_download_url": "https://github.com/raspberrypi/pico-sdk-tools/releases/download/v2.0.0-4/pico-sdk-tools-2.0.0-x86_64-lin.tar.gz"
},
{
"id": 193192682,
"name": "picotool-2.0.0-aarch64-lin.tar.gz",
"browser_download_url": "https://github.com/raspberrypi/pico-sdk-tools/releases/download/v2.0.0-4/picotool-2.0.0-aarch64-lin.tar.gz"
},
{
"id": 193194433,
"name": "picotool-2.0.0-mac.zip",
"browser_download_url": "https://github.com/raspberrypi/pico-sdk-tools/releases/download/v2.0.0-4/picotool-2.0.0-mac.zip"
},
{
"id": 193193747,
"name": "picotool-2.0.0-x64-win.zip",
"browser_download_url": "https://github.com/raspberrypi/pico-sdk-tools/releases/download/v2.0.0-4/picotool-2.0.0-x64-win.zip"
},
{
"id": 193192581,
"name": "picotool-2.0.0-x86_64-lin.tar.gz",
"browser_download_url": "https://github.com/raspberrypi/pico-sdk-tools/releases/download/v2.0.0-4/picotool-2.0.0-x86_64-lin.tar.gz"
}
],
"assetsUrl": "https://api.github.com/repos/raspberrypi/pico-sdk-tools/releases/175505012/assets"
},
"githubApiCache-4-0": [
"2.0.0"
],
Expand Down
2 changes: 1 addition & 1 deletion scripts/genCache.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
["1.5.1", "2.0.0"],
["v3.28.6", "v3.29.6"],
["v1.12.1"],
["v1.5.1-0", "v2.0.0-0", "v2.0.0-1", "v2.0.0-2", "v2.0.0-3"],
["v1.5.1-0", "v2.0.0-0", "v2.0.0-1", "v2.0.0-2", "v2.0.0-3", "v2.0.0-4"],
["2.0.0"]
]

Expand Down
6 changes: 3 additions & 3 deletions src/utils/download.mts
Original file line number Diff line number Diff line change
Expand Up @@ -63,19 +63,19 @@ const TOOLS_RELEASES: { [key: string]: string } = {
// eslint-disable-next-line @typescript-eslint/naming-convention
"1.5.1": "v1.5.1-0",
// eslint-disable-next-line @typescript-eslint/naming-convention
"2.0.0": "v2.0.0-3",
"2.0.0": "v2.0.0-4",
};

/// Release tags for picotool
const PICOTOOL_RELEASES: { [key: string]: string } = {
// eslint-disable-next-line @typescript-eslint/naming-convention
"2.0.0": "v2.0.0-3",
"2.0.0": "v2.0.0-4",
};

/// Release tags for openocd
const OPENOCD_RELEASES: { [key: string]: string } = {
// eslint-disable-next-line @typescript-eslint/naming-convention
"0.12.0+dev": "v2.0.0-3",
"0.12.0+dev": "v2.0.0-4",
};

/// Translate nodejs platform names to cmake platform names
Expand Down

0 comments on commit 0930490

Please sign in to comment.