|
K-FSW v1.2.1-59-gcaca356
KFSW: modular flight software on Zephyr, for small satellites
|
Macros | |
| #define | KFSW_SEMIHOST_MAX_WRITE 256U |
Functions | |
| int | kfsw_semihost_write (const char *text, size_t size) |
| int kfsw_semihost_write | ( | const char * | text, |
| size_t | size | ||
| ) |
#include <semihost.h>
Write one bounded text record to the debugger, without waiting for access.
Requires KFSW_SEMIHOST and deliberate debugger semihost enablement before execution. An attached probe does not establish handler readiness. The debugger must remain attached throughout the call; detach can race the guard. No ISR, interrupt-masked or unprivileged calls are accepted. Concurrent calls are skipped. Host latency is unbounded. Does not log failures or retry writes.
| text | Record bytes, owned by the caller until return. |
| size | Number of bytes, from 1 through KFSW_SEMIHOST_MAX_WRITE. |