mphalport.c 299 B

12345678910111213
  1. #include <furi.h>
  2. #include <stdio.h>
  3. #include "py/mphal.h"
  4. // Send string of given length to stdout, converting \n to \r\n.
  5. void mp_hal_stdout_tx_strn_cooked(const char* str, size_t len) {
  6. printf("%.*s", (int)len, str);
  7. }
  8. void mp_hal_stdout_tx_str(const char* str) {
  9. printf("%s", str);
  10. }