Sprinter: добавить отладку C-исходников и интеграцию VS Code

This commit is contained in:
2026-09-15 17:58:41 +03:00
parent 50c6e56b7b
commit e4695b8281
62 changed files with 7147 additions and 27 deletions
+17
View File
@@ -0,0 +1,17 @@
#include <sdbg.h>
volatile int total;
#define AUTHOR_LOG(tag, text) SDBG_LOG(tag, text)
int main(void)
{
total = 1;
AUTHOR_LOG(after_one,
"total=" "{total}");
#if 0
SDBG_LOG(inactive, "should not exist");
#endif
total = 2;
return total;
}