Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ti-connected-launchpad
rtos_uip_public
Commits
836122f0
Commit
836122f0
authored
Dec 10, 2015
by
Matthias Wenzl
Browse files
update for current ti-rtos rev
parent
371108a6
Changes
5
Expand all
Hide whitespace changes
Inline
Side-by-side
TM4C1294XL/EK_TM4C1294XL.c
View file @
836122f0
This diff is collapsed.
Click to expand it.
UIP_Task.c
View file @
836122f0
...
...
@@ -45,7 +45,6 @@
#include <clock-arch.h>
#include <server.h>
#include <client.h>
#include <blinkit.h>
#include <driverlib/emac.h>
/*access statically created symbols from cfg file*/
...
...
application.cfg
View file @
836122f0
...
...
@@ -59,3 +59,5 @@ TIRTOS.useUART = true;
Task.idleTaskStackSize = 512;
BIOS.heapSize = (1024*10*2);/*system heap - used for task stacks for example*/
TIRTOS.useI2C = true;
TIRTOS.useSPI = true;
local_inc/EK_TM4C1294XL.h
View file @
836122f0
/*
* Copyright (c) 201
4
, Texas Instruments Incorporated
* Copyright (c) 201
5
, Texas Instruments Incorporated
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
...
...
@@ -34,7 +34,8 @@
*
* @brief EK_TM4C1294XL Board Specific APIs
*
* The EK_TM4C1294XL header file should be included in an application as follows:
* The EK_TM4C1294XL header file should be included in an application as
* follows:
* @code
* #include <EK_TM4C1294XL.h>
* @endcode
...
...
@@ -74,16 +75,9 @@ extern "C" {
#define NUM_RX_DESCRIPTORS 5
/* LEDs on EK_TM4C1294XL are active high. */
#define EK_TM4C1294XL_LED_OFF ( 0)
#define EK_TM4C1294XL_LED_ON (~0)
/* GPIO_Callbacks structure for GPIO interrupts */
/* handled by <Board.h>
* extern const GPIO_Callbacks EK_TM4C1294XL_gpioPortJCallbacks;
*
*/
#define EK_TM4C1294XL_LED_OFF (0)
#define EK_TM4C1294XL_LED_ON (1)
/*!
* @def EK_TM4C1294XL_EMACName
...
...
@@ -100,10 +94,10 @@ typedef enum EK_TM4C1294XL_EMACName {
* @brief Enum of LED names on the EK_TM4C1294XL dev board
*/
typedef
enum
EK_TM4C1294XL_GPIOName
{
EK_TM4C1294XL_
D
1
=
0
,
EK_TM4C1294XL_
D
2
,
EK_TM4C1294XL_
USR_SW
1
,
EK_TM4C1294XL_
USR_SW
2
,
EK_TM4C1294XL_
USR_SW
1
=
0
,
EK_TM4C1294XL_
USR_SW
2
,
EK_TM4C1294XL_
D
1
,
EK_TM4C1294XL_
D
2
,
EK_TM4C1294XL_GPIOCOUNT
}
EK_TM4C1294XL_GPIOName
;
...
...
@@ -113,13 +107,21 @@ typedef enum EK_TM4C1294XL_GPIOName {
* @brief Enum of I2C names on the EK_TM4C1294XL dev board
*/
typedef
enum
EK_TM4C1294XL_I2CName
{
EK_TM4C1294XL_I2C0
=
0
,
EK_TM4C1294XL_I2C2
,
EK_TM4C1294XL_I2C7
,
EK_TM4C1294XL_I2C7
=
0
,
EK_TM4C1294XL_I2C8
,
EK_TM4C1294XL_I2CCOUNT
}
EEK_TM4C1294XL_I2CName
;
}
EK_TM4C1294XL_I2CName
;
/*!
* @def EK_TM4C1294XL_PWMName
* @brief Enum of PWM names on the EK_TM4C1294XL dev board
*/
typedef
enum
EK_TM4C1294XL_PWMName
{
EK_TM4C1294XL_PWM0
=
0
,
EK_TM4C1294XL_PWMCOUNT
}
EK_TM4C1294XL_PWMName
;
/*!
* @def EK_TM4C1294XL_SDSPIName
...
...
@@ -149,9 +151,6 @@ typedef enum EK_TM4C1294XL_SPIName {
*/
typedef
enum
EK_TM4C1294XL_UARTName
{
EK_TM4C1294XL_UART0
=
0
,
EK_TM4C1294XL_UART2
,
EK_TM4C1294XL_UART6
,
EK_TM4C1294XL_UART7
,
EK_TM4C1294XL_UARTCOUNT
}
EK_TM4C1294XL_UARTName
;
...
...
@@ -195,6 +194,15 @@ typedef enum EK_TM4C1294XL_WiFiName {
EK_TM4C1294XL_WIFICOUNT
}
EK_TM4C1294XL_WiFiName
;
/*!
* @brief Initialize the general board specific settings
*
* This function initializes the general board specific settings.
* This includes:
* - Enable clock sources for peripherals
*/
extern
uint32_t
EK_TM4C1294XL_initGeneral
(
uint32_t
sysclock
);
/*EMAC specific functions*/
/*initialize receive and transmit DMA descriptors*/
...
...
@@ -250,16 +258,10 @@ void EK_TM4C1294XL_startEMAC(void);
uint8_t
*
EK_TM4C1294XL_getMACAddr
(
void
);
void
EK_TM4C1294XL_initDMA
(
void
);
/*!
* @brief Initialize the general board specific settings
*
* This function initializes the general board specific settings. This include
* - Enable clock sources for peripherals
*/
extern
uint32_t
EK_TM4C1294XL_initGeneral
(
uint32_t
sysclock
);
/*
* Following function has been deprecated by
* *_Handle EK_TM4C1294XL_initEMAC(uint32_t sysclock, uint8_t *mac_addr)
* */
/*!
* @brief Initialize board specific EMAC settings
*
...
...
@@ -277,7 +279,7 @@ extern uint32_t EK_TM4C1294XL_initGeneral(uint32_t sysclock);
* This function initializes the board specific GPIO settings and
* then calls the GPIO_init API to initialize the GPIO module.
*
* The GPIOs controlled by the GPIO module are determined by the GPIO_
c
onfig
* The GPIOs controlled by the GPIO module are determined by the GPIO_
PinC
onfig
* variable.
*/
extern
void
EK_TM4C1294XL_initGPIO
(
void
);
...
...
@@ -293,6 +295,17 @@ extern void EK_TM4C1294XL_initGPIO(void);
*/
extern
void
EK_TM4C1294XL_initI2C
(
void
);
/*!
* @brief Initialize board specific PWM settings
*
* This function initializes the board specific PWM settings and then calls
* the PWM_init API to initialize the PWM module.
*
* The PWM peripherals controlled by the PWM module are determined by the
* PWM_config variable.
*/
extern
void
EK_TM4C1294XL_initPWM
(
void
);
/*!
* @brief Initialize board specific SDSPI settings
*
...
...
@@ -366,6 +379,9 @@ extern void EK_TM4C1294XL_initWatchdog(void);
*
* The hardware resources controlled by the WiFi module are determined by the
* WiFi_config variable.
*
* A SimpleLink CC3100 device or module is required and must be connected to
* use the WiFi driver.
*/
extern
void
EK_TM4C1294XL_initWiFi
(
void
);
...
...
server.c
View file @
836122f0
...
...
@@ -7,7 +7,6 @@
#include <server.h>
#include "blinkit.h"
#if IS_SERVER
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment