Default behaviour is to run to end of main

This commit is contained in:
Toby Jaffey 2025-12-09 01:19:09 +00:00
parent 7b7b08e626
commit 3cdc9ae0ca
7 changed files with 12 additions and 19 deletions

View file

@ -59,16 +59,3 @@ static uint32_t syscall(uint32_t id, uint32_t param) {
#include "uvm32_common_custom.h"
// provide main, with setup()/loop() flow
void setup(void);
bool loop(void);
#ifndef USE_MAIN
void main(void) {
setup();
while(loop()) {
yield();
}
}
#endif