From a76b2fadf6ad4adf86e241e3753a63efe03ef80c Mon Sep 17 00:00:00 2001 From: huangcm <1263938474@qq.com> Date: Thu, 03 Jul 2025 02:49:16 +0000 Subject: [PATCH] feat(fix): close ar100s uart7 debug --- longan/brandy/arisc/ar100s/include/system/debugger.h | 45 ++------------------------------------------- 1 files changed, 2 insertions(+), 43 deletions(-) diff --git a/longan/brandy/arisc/ar100s/include/system/debugger.h b/longan/brandy/arisc/ar100s/include/system/debugger.h index 3621d78..932f2a2 100644 --- a/longan/brandy/arisc/ar100s/include/system/debugger.h +++ b/longan/brandy/arisc/ar100s/include/system/debugger.h @@ -22,7 +22,8 @@ /* extern u32 debug_level; */ -#ifdef CFG_DEBUGGER_PRINTF +#define ENOSYS 88 +// #ifdef CFG_DEBUGGER_PRINTF /* ********************************************************************************************************* * INITIALIZE DEBUGGER @@ -111,47 +112,5 @@ */ s32 set_debug_level(u32 level); -#else -static inline s32 debugger_init(void) -{ - return -ENOSYS; -} - -static inline s32 debugger_exit(void) -{ - return -ENOSYS; -} - -static inline s32 debugger_putc(char ch) -{ - return -ENOSYS; -} - -static inline u32 debugger_get(char *buf) -{ - return -ENOSYS; -} - -static inline s32 debugger_puts(char *string) -{ - return -ENOSYS; -} - -static inline s32 debugger_printf(u32 level, const char *format, ...) -{ - return -ENOSYS; -} - -static inline s32 vprintk(u32 level, const char *format, va_list args) -{ - return -ENOSYS; -} - -static inline s32 set_debug_level(u32 level) -{ - return -ENOSYS; -} - -#endif #endif /* __DEBUGGER_H__ */ -- Gitblit v1.6.2