移植stm32代码

This commit is contained in:
Qiea
2024-11-10 11:13:57 +08:00
parent 77ddd25170
commit 271bd6efa1
8 changed files with 536 additions and 12 deletions

19
debug.h Normal file
View File

@@ -0,0 +1,19 @@
#ifndef DEBUG_H_
#define DEBUG_H_
#include <stdio.h>
#include <stdarg.h>
#include <stdlib.h>
#include <string.h>
#include <stdint.h>
#include "malloc.h"
typedef uint32_t u32;
typedef uint16_t u16;
typedef uint8_t u8;
void DEBUG(void);
void DEBUG_PRINTF(const char *fmt, ...);
void SDRAM_USED(void);
#endif