-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Created a very basic task for handling outbound UART messages (#66)
* Created a very basic task for handling outbound UART messages, still needs a lot of work * Adding task into main * Copying ESP32's implementation which should work for our case * Got basic UART terminal working with renode * Adding tmux to docker container, makes it easier to debug serial * trying to make printf redirection work * Printf routing task works!
- Loading branch information
Showing
14 changed files
with
7,948 additions
and
625 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
#ifndef SERIAL_MONITOR_H | ||
#define SERIAL_MONITOR_H | ||
|
||
#include "cmsis_os.h" | ||
|
||
/* Function to queue a message to be sent on the UART stream */ | ||
int serial_print(const char* format, ...); | ||
|
||
/* Defining Temperature Monitor Task */ | ||
void vSerialMonitor(void* pv_params); | ||
|
||
extern osThreadId_t serial_monitor_handle; | ||
extern const osThreadAttr_t serial_monitor_attributes; | ||
|
||
#endif // SERIAL_MONITOR_H |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.