[realtek-ambz2] Use external FreeRTOS port

This commit is contained in:
Kuba Szczodrzyński
2023-05-23 15:14:59 +02:00
parent 620e457eb6
commit c40bdd68af
4 changed files with 20 additions and 8 deletions

View File

@@ -1,12 +0,0 @@
/* Copyright (c) Kuba Szczodrzyński 2022-04-22. */
#include <stdint.h>
// for some reason, cmsis_os.c does not link properly when this method is inlined in core_cmFunc.h
// (or I am too stupid to understand this)
__attribute__((weak)) uint32_t __get_IPSR()
{
uint32_t result;
asm volatile ("MRS %0, ipsr" : "=r" (result) );
return result;
}