Commit 2c8f4fd2 authored by Matthias Wenzl's avatar Matthias Wenzl
Browse files

update to ti-rtos 2.16

parent 836122f0
This diff is collapsed.
......@@ -67,7 +67,7 @@ int main(void)
/*Initialize UIP Stack - calls led_server, httpd or client depending on configuration of uip/uip-conf.h */
(void) setup_UIP_Task(ui32SysClock);
System_printf("Created UIP Task\n");
System_flush();
/* SysMin will only print to the console upon calling flush or exit */
......
......@@ -123,7 +123,7 @@ void NetFxn(UArg arg0, UArg arg1)
#if ETH_USE_EVENT
my_network_events = EK_TM4C1294XL_initEMAC(sysclock,NULL/*use built in mac*/);
if(my_network_events == NULL) {
System_abort("Could initialize EMAC");
System_abort("Could not initialize EMAC");
}
#endif
......
/*
* rtos base-system configuration
* (c) DIScoVER 2015
* rtos base-system configuration for TI-RTOS 2.16 and above
* (c) DIScoVER 2015, 2016
*/
/*
......@@ -36,9 +36,13 @@ System.SupportProxy = SysMin;
/* ================ Kernel configuration ================ */
/* Use Custom library */
var BIOS = xdc.useModule('ti.sysbios.BIOS');
//less debug capabilites, but faster and smaller
BIOS.libType = BIOS.LibType_Custom;
BIOS.logsEnabled = true;
BIOS.assertsEnabled = true;
//slower and bigger, but full debug capabilities
//BIOS.libType = BIOS.LibType_Debug;
BIOS.logsEnabled = false;
BIOS.assertsEnabled = false;
/*** Network stack memory pool - fixed size head ***/
var heapBufParams = new HeapBuf.Params();
......@@ -48,16 +52,19 @@ Program.global.cfg_netHeap = HeapBuf.create(heapBufParams);
/* ================ Driver configuration ================ */
var TIRTOS = xdc.useModule('ti.tirtos.TIRTOS');
/*
Per driver configuration is not neccessary anymore.
TIRTOS and XDC automatically detect which driver is
used by the application and link the modules when needed.
\cite{TI-RTOS 2.16 User Guide}
*/
var driversConfig = xdc.useModule('ti.drivers.Config');
TIRTOS.supportsGPIO = false;
TIRTOS.useGPIO = false;
//deactivate assertions and logging for drivers
driversConfig.libType = driversConfig.LibType_NonInstrumented;
TIRTOS.supportsUART = true;
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;
#
# This file was generated based on the configuration script:
# /home/matthias/git/connected_launchpad_rtos_uip/application.cfg
# /home/wenzl/git/connected_launchpad_rtos_uip/application.cfg
#
# This makefile may be included in other makefiles that need to build
# the libraries containing the compiled source files generated as
......@@ -14,7 +14,7 @@
#
# The absolute path to the generated source directory (at the time the
# sources were generated) is:
# /home/matthias/git/connected_launchpad_rtos_uip/src
# /home/wenzl/git/connected_launchpad_rtos_uip/src
#
GEN_SRC_DIR ?= ../src
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment