forked from ROMEO/obsw
slip working with int driven rx
This commit is contained in:
@ -20,4 +20,12 @@
|
||||
#define PACK_STRUCT_END
|
||||
|
||||
#define LWIP_PLATFORM_ASSERT(x)
|
||||
#define LWIP_PLATFORM_DIAG(x) do { printf x; } while(0)
|
||||
#define LWIP_PLATFORM_DIAG(x) do { printf x; } while(0)
|
||||
|
||||
|
||||
//overwrite protection function, we need ISR aware one, which the default FreeRTOS port does not support
|
||||
#define SYS_ARCH_DECL_PROTECT(lev) uint32_t lev //caution, type is actually sys_prot_t, which is not available here.
|
||||
#define SYS_ARCH_PROTECT(lev) lev = sys_arch_protect_ca0()
|
||||
#define SYS_ARCH_UNPROTECT(lev) sys_arch_unprotect_ca0(lev)
|
||||
uint32_t sys_arch_protect_ca0(void); //caution, type is actually sys_prot_t, which is not available here.
|
||||
void sys_arch_unprotect_ca0(uint32_t pval); //caution, type is actually sys_prot_t, which is not available here.
|
Reference in New Issue
Block a user