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_raw_public
Commits
06e2e18c
Commit
06e2e18c
authored
Oct 28, 2015
by
Matthias Wenzl
Browse files
minor adaptions - comments/parameter/variable cleanup
parent
ce0b80f8
Changes
4
Hide whitespace changes
Inline
Side-by-side
Blink_Task.c
View file @
06e2e18c
/*
* ======== Blink_Task.c ========
* Author: Michael Kramer / Matthias Wenzl
*/
#include <stdbool.h>
#include <inc/hw_memmap.h>
...
...
@@ -57,7 +58,6 @@ int setup_Blink_Task(led_descriptor_t *led_desc, uint32_t wait_ticks)
{
Task_Params
taskLedParams
;
Task_Handle
taskLed
;
uint32_t
ui32Strength
,
ui32PinType
;
Error_Block
eb
;
/*configure gpio port_base according to led*/
...
...
StartBIOS.c
View file @
06e2e18c
/*
* CCSv6 project using TI-RTOS and a custom network driver
* providing an ndk-less base environment
* CCSv6 project using TI-RTOS
*
*/
...
...
@@ -26,8 +25,6 @@
/* TI-RTOS Header files */
#include <ti/drivers/UART.h>
/* Drivers Header files*/
//#include <ti/drivers/GPIO.h>
/*Board Header files */
#include <Board.h>
...
...
@@ -51,13 +48,6 @@ int main(void)
/* Call board init functions. */
ui32SysClock
=
Board_initGeneral
(
120
*
1000
*
1000
);
//
// Initialize the UART for console I/O.
//
// UARTStdioConfig(0, 115200, ui32SysClock);
led_desc
[
0
].
port_base
=
GPIO_PORTN_BASE
;
led_desc
[
0
].
led
=
GPIO_PIN_1
;
/*Initialize+start Blink Task*/
...
...
@@ -71,7 +61,7 @@ int main(void)
System_printf
(
"Created Blink Task2
\n
"
);
/*Initialize+start UART Task*/
(
void
)
setup_UART_Task
(
0
,
0
);
(
void
)
setup_UART_Task
();
System_printf
(
"Created UART Task
\n
"
);
/* SysMin will only print to the console upon calling flush or exit */
...
...
UART_Task.c
View file @
06e2e18c
...
...
@@ -78,11 +78,10 @@ void UARTFxn(UArg arg0, UArg arg1)
/*
* setup task function
*/
int
setup_UART_Task
(
led_descriptor_t
*
led_desc
,
uint32_t
wait_ticks
)
int
setup_UART_Task
(
void
)
{
Task_Params
taskUARTParams
;
Task_Handle
taskUART
;
uint32_t
ui32Strength
,
ui32PinType
;
Error_Block
eb
;
...
...
local_inc/UART_Task.h
View file @
06e2e18c
...
...
@@ -40,7 +40,7 @@ void UARTFxn(UArg arg0, UArg arg1);
*
* \return always zero. In case of error the system halts.
*/
int
setup_UART_Task
();
int
setup_UART_Task
(
void
);
...
...
Write
Preview
Markdown
is supported
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