minimig-dev / MinimigAGA-MiST-TC64

Minimig for the MiST board
GNU General Public License v3.0
15 stars 8 forks source link

puts has to be defined weak in 832lib #10

Closed rampa069 closed 1 year ago

rampa069 commented 1 year ago

`diff --git a/lib832/uart.c b/lib832/uart.c index f48b727..1f77933 100644 --- a/lib832/uart.c +++ b/lib832/uart.c @@ -11,7 +11,7 @@ __weak int putchar(int c) }

-int puts(const char msg) +__weak int puts(const char msg) { unsigned char c; int result=0;`

robinsonb5 commented 1 year ago

Thanks for the bug report - there are some more changes to come for the staging branch which will fix this and a few other issues, but for now you can just remove the puts() function from fw/ctrl_boot_832/uart.c - it's not necessary.

rampa069 commented 1 year ago

tnx!

rampa069 commented 1 year ago

closed.