gfroerli / firmware

Firmware for the water temperature sensor project
GNU General Public License v3.0
6 stars 1 forks source link

Remove semihosting #55

Closed dbrgn closed 4 years ago

dbrgn commented 4 years ago

This allows running the code without gdb being attached.

For debug logging, we should probably use serial output, it's faster and we can keep the debug code in the firmware in case we need to debug a problem "in the field".

dbrgn commented 4 years ago

Can you change it to actually use the UART for debugging?

That depends on the serial fixes in the HAL, which in turn is blocked by the I2C fix PR. We can fix it in our fork, but I'd prefer a long-term solution.

dbrgn commented 4 years ago

Serial output works now! :tada:

serial

This branch is now based on #56, so that should be merged first.

dbrgn commented 4 years ago

Yeah, let's do that :slightly_smiling_face: