修复bootstap的bug,并添加renode仿真脚本支持

This commit is contained in:
zhangzheng
2023-12-31 16:35:26 +08:00
parent 53e9890939
commit 2c6989cd24
33 changed files with 1496 additions and 88 deletions

View File

@@ -1,5 +1,5 @@
#define HEAP_SIZE 0
#define HEAP_SIZE 512
#define STACK_SIZE 1024
#if defined(__CC_ARM)

View File

@@ -3,6 +3,18 @@
int main(int argc, char *args[])
{
printf("print test0.\n");
printf("print test1.\n");
printf("print test2.\n");
float a = 1.1;
float b = 1.2;
float c;
while (1)
{
c = a + b;
printf("%c %d %f\n", 'a', 1234, 1.1);
printf("%c %d %lf\n", 'a', 1234, a * b);
}
return 0;
}

View File

@@ -9,7 +9,7 @@ void printf_test(void)
float b = 1.2;
float c;
while (1)
// while (1)
{
c = a + b;
printf("%c %d %f\n", 'a', 1234, 1.1);