Updated to latest blocksds (Fixes #14)

This commit is contained in:
Gericom
2026-01-04 11:00:33 +01:00
parent e2a8a540e9
commit e4c2fafa74
3 changed files with 12 additions and 2 deletions

View File

@@ -14,7 +14,7 @@ on:
jobs: jobs:
pico_launcher: pico_launcher:
runs-on: ubuntu-latest runs-on: ubuntu-latest
container: skylyrac/blocksds:slim-v1.13.1 container: skylyrac/blocksds:slim-v1.16.0
name: Build Pico Launcher name: Build Pico Launcher
steps: steps:
- name: Checkout repo - name: Checkout repo

View File

@@ -7,7 +7,7 @@ on:
jobs: jobs:
pico_launcher: pico_launcher:
runs-on: ubuntu-latest runs-on: ubuntu-latest
container: skylyrac/blocksds:slim-v1.13.1 container: skylyrac/blocksds:slim-v1.16.0
name: Build Pico Launcher name: Build Pico Launcher
steps: steps:
- name: Checkout repo - name: Checkout repo

View File

@@ -60,6 +60,16 @@ extern "C" void* memalign(size_t alignment, size_t size)
return result; return result;
} }
extern "C" void* calloc(size_t num, size_t size)
{
void* result = malloc(num * size);
if (result)
{
memset(result, 0, num * size);
}
return result;
}
void* operator new(std::size_t blocksize) void* operator new(std::size_t blocksize)
{ {
return malloc(blocksize); return malloc(blocksize);