luat_shell_idf5.c 306 B

12345678910111213141516171819202122
  1. #include "luat_base.h"
  2. #include "luat_shell.h"
  3. #include "luat_uart.h"
  4. #include "luat_log.h"
  5. #define LUAT_LOG_TAG "shell"
  6. typedef struct {
  7. size_t len;
  8. char buff[0];
  9. }uart_data;
  10. void luat_shell_write(char* buff, size_t len) {
  11. luat_uart_write(0, buff, len);
  12. }
  13. void luat_shell_notify_recv(void) {
  14. }