增加cortex-m33架构支持,支持swm34s芯片
This commit is contained in:
3
mkrtos_bootstrap/inc/math.h
Normal file
3
mkrtos_bootstrap/inc/math.h
Normal file
@@ -0,0 +1,3 @@
|
||||
#pragma once
|
||||
|
||||
double ceil(double x);
|
||||
3
mkrtos_bootstrap/inc/stdbool.h
Normal file
3
mkrtos_bootstrap/inc/stdbool.h
Normal file
@@ -0,0 +1,3 @@
|
||||
#pragma once
|
||||
|
||||
typedef unsigned char bool;
|
||||
11
mkrtos_bootstrap/inc/string.h
Normal file
11
mkrtos_bootstrap/inc/string.h
Normal file
@@ -0,0 +1,11 @@
|
||||
#pragma once
|
||||
|
||||
static inline void memset(void *data, int val, int size)
|
||||
{
|
||||
unsigned int *_d = data;
|
||||
|
||||
for (int i = 0; i < size; i++)
|
||||
{
|
||||
_d[0] = 0;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user