12 #include "../firmware.h"
14 #include "inc/hw_memmap.h"
15 #include "inc/hw_types.h"
17 #include "driverlib/gpio.h"
18 #include "driverlib/pin_map.h"
19 #include "driverlib/sysctl.h"
24 #define GPS_SERIAL UART_GNSS
25 #define CAM_SERIAL UART_CAMERA
27 #define DEBUG_PORT GPS_SERIAL
28 #define NORMAL_PORT CAM_SERIAL
37 setupwatchdoginterrupt();
53 int w=snprintf(buffer,4,
"%x",c);
54 if (w==1) {buffer[1]=buffer[0];buffer[1]=
'0';}
void UART_init(uint8_t uart_num, uint32_t baudrate)
bool UART_getc_nonblocking(uint8_t uart_num, char *c)
int main(void)
Runs all module tests.
bool UART_putc_nonblocking(uint8_t uart_num, char c)
void UART_puts(uint8_t uart_num, char *str)