10-05-2020, 08:13 PM
Remote PineTime now lets you view debug messages via Arm Semihosting. Check out the demo video here...
https://youtu.be/mMLWgzJSAGI
Implementing Semihosting in your firmware is easy. Here's the code that you need...
https://github.com/lupyuen/remote-pineti...emihosting
Why Semihosting instead of some other more efficient logging mechanism?
Because Semihosting is really easy to implement in our firmware (and also in the Remote PineTime Telegram Bot). It's a simple way to troubleshoot PineTime firmware as it runs.
It's not a good idea to log too many debug messages via Semihosting... But then again we really shouldn't be doing too much logging in our firmware :-)
https://youtu.be/mMLWgzJSAGI
Implementing Semihosting in your firmware is easy. Here's the code that you need...
https://github.com/lupyuen/remote-pineti...emihosting
Why Semihosting instead of some other more efficient logging mechanism?
Because Semihosting is really easy to implement in our firmware (and also in the Remote PineTime Telegram Bot). It's a simple way to troubleshoot PineTime firmware as it runs.
It's not a good idea to log too many debug messages via Semihosting... But then again we really shouldn't be doing too much logging in our firmware :-)