clang work with lpc54

This commit is contained in:
hathach
2024-04-23 10:03:17 +07:00
parent 31a44c0b7e
commit d486a56ded
6 changed files with 88 additions and 64 deletions

View File

@@ -226,6 +226,7 @@ uint32_t board_millis(void) {
#endif
#ifndef __ICCARM__
// Implement _start() since we use linker flag '-nostartfiles'.
// Requires defined __STARTUP_CLEAR_BSS,
extern int main(void);
@@ -240,3 +241,5 @@ void _exit (int __status) {
while (1) {}
}
#endif
#endif