Replies: 10 comments
-
With the |
Beta Was this translation helpful? Give feedback.
-
There's also an example here. |
Beta Was this translation helpful? Give feedback.
-
Technically this only provides logging, true semihosting (with forwarding of libc functions for filesystem access etc) isn't implemented. |
Beta Was this translation helpful? Give feedback.
-
Wow thanks for the quick response! |
Beta Was this translation helpful? Give feedback.
-
Hm it seems that the module isn't available for the stm32f071x8t. Is there any way i can enable it ? I know it exists since i have used it with c before. |
Beta Was this translation helpful? Give feedback.
-
Oh, then there's no support for that in modm. 😧 The F0 is using a Cortex-M0, which is lacking the ITM for asynchronous logging, so the fallback would be to use semihosting IO for synchronous logging, but that's not implemented. |
Beta Was this translation helpful? Give feedback.
-
Booooooo! Using the semihosting IO solution means stopping the MCU during the data transfer (incl. interrupts), and that wasn't acceptable for most of our applications. So I prioritized the SWO async implementation. |
Beta Was this translation helpful? Give feedback.
-
Oh that might be the reason for a lot of my issues... |
Beta Was this translation helpful? Give feedback.
-
I'm closing this, since you've found another solution. |
Beta Was this translation helpful? Give feedback.
-
Hello i was wondering how i could enable semi hosting with modm ?
Beta Was this translation helpful? Give feedback.
All reactions