Add header files
This commit is contained in:
parent
e03c1c2a68
commit
3f711a8b87
7
main.c
7
main.c
|
@ -1,12 +1,19 @@
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
#include "tm4c123gh6pm.h"
|
#include "tm4c123gh6pm.h"
|
||||||
|
#include <stdio.h>
|
||||||
|
#include <string.h>
|
||||||
|
#include <stdlib.h>
|
||||||
|
|
||||||
|
|
||||||
#define MAX_FIELD_SIZE 100
|
#define MAX_FIELD_SIZE 100
|
||||||
volatile char nmea_sentence[MAX_FIELD_SIZE];
|
volatile char nmea_sentence[MAX_FIELD_SIZE];
|
||||||
volatile uint8_t nmea_index = 0;
|
volatile uint8_t nmea_index = 0;
|
||||||
volatile bool nmea_ready = false;
|
volatile bool nmea_ready = false;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
void GPIO_PORT_F_init(void)
|
void GPIO_PORT_F_init(void)
|
||||||
{
|
{
|
||||||
SYSCTL_RCGC2_R |= 0x00000020; // ENABLE CLOCK TO GPIOF
|
SYSCTL_RCGC2_R |= 0x00000020; // ENABLE CLOCK TO GPIOF
|
||||||
|
|
Loading…
Reference in New Issue