Update repo
This commit is contained in:
1 parent
ce1a3b44ad
commit
1d67fc7d54
5 files changed
+6
-18
No files matched your search
@@ -1,6 +1,8 @@
|
|||||||
### TI C2000 TMS320F28377S Coreboard V1.3
|
### TI C2000 TMS320F28377S Coreboard V1.3
|
||||||
|
|
||||||
<a href="url"><img src="./images/f28377s_coreboard.png" width="600"></a>
|
<a href="url"><img src="./images/f28377s_coreboard_front.png" width="400"></a>
|
||||||
|
|
||||||
|
<a href="url"><img src="./images/f28377s_coreboard_back.png" width="400"></a>
|
||||||
|
|
||||||
#### TMS320F28377S (LQFP100)
|
#### TMS320F28377S (LQFP100)
|
||||||
- Dimension: 55 mm x 55 mm
|
- Dimension: 55 mm x 55 mm
|
||||||
|
|||||||
@@ -1,17 +1,3 @@
|
|||||||
//#############################################################################
|
|
||||||
//
|
|
||||||
// For running the application open the COM port with the following settings
|
|
||||||
// using a terminal:
|
|
||||||
// - Find correct COM port
|
|
||||||
// - Bits per second = 9600
|
|
||||||
// - Data Bits = 8
|
|
||||||
// - Parity = None
|
|
||||||
// - Stop Bits = 1
|
|
||||||
// - Hardware Control = None
|
|
||||||
// The program will print out the test results on COM port
|
|
||||||
//
|
|
||||||
//#############################################################################
|
|
||||||
|
|
||||||
// Standard includes
|
// Standard includes
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
@@ -66,7 +52,6 @@ uint8_t ucHeap[configTOTAL_HEAP_SIZE];
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
// UART stdout redirection configuration related functions
|
// UART stdout redirection configuration related functions
|
||||||
int uart_count;
|
|
||||||
void UartSetup(void);
|
void UartSetup(void);
|
||||||
void UartPutChar(uint16_t charToWrite);
|
void UartPutChar(uint16_t charToWrite);
|
||||||
|
|
||||||
@@ -171,7 +156,7 @@ void main(void)
|
|||||||
// Create tasks dynamically
|
// Create tasks dynamically
|
||||||
if(xTaskCreate(LED_TaskRed,
|
if(xTaskCreate(LED_TaskRed,
|
||||||
(const char *) "Red LED Task",
|
(const char *) "Red LED Task",
|
||||||
128,
|
256,
|
||||||
NULL,
|
NULL,
|
||||||
tskIDLE_PRIORITY + 2,
|
tskIDLE_PRIORITY + 2,
|
||||||
NULL) != pdPASS) {
|
NULL) != pdPASS) {
|
||||||
@@ -180,7 +165,7 @@ void main(void)
|
|||||||
|
|
||||||
if(xTaskCreate(LED_TaskBlue,
|
if(xTaskCreate(LED_TaskBlue,
|
||||||
(const char *) "Blue LED Task",
|
(const char *) "Blue LED Task",
|
||||||
128,
|
256,
|
||||||
NULL,
|
NULL,
|
||||||
tskIDLE_PRIORITY + 1,
|
tskIDLE_PRIORITY + 1,
|
||||||
NULL) != pdPASS) {
|
NULL) != pdPASS) {
|
||||||
@@ -200,6 +185,7 @@ void main(void)
|
|||||||
// the Red LED task will unblock and toggle the LED exactly every 100 ms.
|
// the Red LED task will unblock and toggle the LED exactly every 100 ms.
|
||||||
// It is created with a higher priority of tskIDLE_PRIORITY + 2.
|
// It is created with a higher priority of tskIDLE_PRIORITY + 2.
|
||||||
void LED_TaskRed(void * pvParameters) {
|
void LED_TaskRed(void * pvParameters) {
|
||||||
|
int uart_count = 0;
|
||||||
while(1) {
|
while(1) {
|
||||||
if(xSemaphoreTake(xSemaphore, portMAX_DELAY) == pdTRUE) {
|
if(xSemaphoreTake(xSemaphore, portMAX_DELAY) == pdTRUE) {
|
||||||
// Toggle red LED
|
// Toggle red LED
|
||||||
|
|||||||
Binary file not shown.
|
Before Width: | Height: | Size: 839 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 1.7 MiB |
Binary file not shown.
|
After Width: | Height: | Size: 1.4 MiB |
Reference in new issue
Block a user