Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(bw): build fails for some radios when using GCC 13 or later #5731

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions radio/src/bin_allocator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -96,11 +96,11 @@ typedef BinAllocator<40,300> BinAllocator_slots1;
typedef BinAllocator<80,100> BinAllocator_slots2;
#elif defined(CCMRAM)
#if defined(DEBUG)
typedef BinAllocator<28,400> BinAllocator_slots1;
typedef BinAllocator<92,90> BinAllocator_slots2;
typedef BinAllocator<28,380> BinAllocator_slots1;
typedef BinAllocator<92,84> BinAllocator_slots2;
#else
typedef BinAllocator<28,415> BinAllocator_slots1;
typedef BinAllocator<92,100> BinAllocator_slots2;
typedef BinAllocator<92,98> BinAllocator_slots2;
#endif
#else
typedef BinAllocator<28,200> BinAllocator_slots1;
Expand Down
8 changes: 8 additions & 0 deletions radio/src/syscalls.c
Original file line number Diff line number Diff line change
Expand Up @@ -134,3 +134,11 @@ extern void _kill(int pid, int sig)
{
return;
}

extern void __assert_func (const char *p1, int p2, const char *p3, const char *p4)
{
asm("BKPT");
#if defined(DEBUG)
while(1);
#endif
}
Loading