Problem with init() (in wiring.c) when my init of the UART (unsolved)

It seems that it works if hwsetup() is launched from main()

Then inside main(), I call loop().