mirror of
https://github.com/thelsing/knx.git
synced 2024-12-18 19:08:18 +01:00
Add nano.specs to linker to reduce memory footprint and increase HEAP+STACK sizes. (#107)
Reduce buffer size for Segger RTT UP-Buffer.
This commit is contained in:
parent
24c27815cf
commit
f3751b6ccd
@ -34,8 +34,8 @@
|
|||||||
* Default Linker script for the Texas Instruments CC1310
|
* Default Linker script for the Texas Instruments CC1310
|
||||||
*/
|
*/
|
||||||
|
|
||||||
STACKSIZE = 4096+1024;
|
STACKSIZE = 4096;
|
||||||
HEAPSIZE = 2048;
|
HEAPSIZE = 4096;
|
||||||
|
|
||||||
MEMORY
|
MEMORY
|
||||||
{
|
{
|
||||||
|
@ -72,7 +72,7 @@ Revision: $Rev: 18601 $
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef BUFFER_SIZE_UP
|
#ifndef BUFFER_SIZE_UP
|
||||||
#define BUFFER_SIZE_UP (1024) // Size of the buffer for terminal output of target, up to host (Default: 1k)
|
#define BUFFER_SIZE_UP (128) // Size of the buffer for terminal output of target, up to host (Default: 1k)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef BUFFER_SIZE_DOWN
|
#ifndef BUFFER_SIZE_DOWN
|
||||||
|
@ -86,6 +86,10 @@
|
|||||||
<listOptionValue builtIn="false" value="${PROJECT_LOC}/../coresdk_cc13xx_cc26xx/source/ti/devices/cc13x0/driverlib/bin/gcc/driverlib.lib"/>
|
<listOptionValue builtIn="false" value="${PROJECT_LOC}/../coresdk_cc13xx_cc26xx/source/ti/devices/cc13x0/driverlib/bin/gcc/driverlib.lib"/>
|
||||||
<listOptionValue builtIn="false" value="stdc++_nano"/>
|
<listOptionValue builtIn="false" value="stdc++_nano"/>
|
||||||
</option>
|
</option>
|
||||||
|
<option id="com.ti.ccstudio.buildDefinitions.TMS470_GNU_9.0.linkerID.STATIC.339838909" name="Do not link with the shared libraries (-static)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_GNU_9.0.linkerID.STATIC" value="true" valueType="boolean"/>
|
||||||
|
<option IS_BUILTIN_EMPTY="false" IS_VALUE_EMPTY="false" id="com.ti.ccstudio.buildDefinitions.TMS470_GNU_9.0.linkerID.OTHER_FLAGS.356964495" name="Miscellaneous flags" superClass="com.ti.ccstudio.buildDefinitions.TMS470_GNU_9.0.linkerID.OTHER_FLAGS" valueType="stringList">
|
||||||
|
<listOptionValue builtIn="false" value="-specs="nano.specs""/>
|
||||||
|
</option>
|
||||||
<inputType id="com.ti.ccstudio.buildDefinitions.TMS470_GNU_9.0.exeLinker.inputType__CMD_SRCS.1986544566" name="Linker Command Files" superClass="com.ti.ccstudio.buildDefinitions.TMS470_GNU_9.0.exeLinker.inputType__CMD_SRCS"/>
|
<inputType id="com.ti.ccstudio.buildDefinitions.TMS470_GNU_9.0.exeLinker.inputType__CMD_SRCS.1986544566" name="Linker Command Files" superClass="com.ti.ccstudio.buildDefinitions.TMS470_GNU_9.0.exeLinker.inputType__CMD_SRCS"/>
|
||||||
<inputType id="com.ti.ccstudio.buildDefinitions.TMS470_GNU_9.0.exeLinker.inputType__CMD2_SRCS.1363885335" name="Linker Command Files" superClass="com.ti.ccstudio.buildDefinitions.TMS470_GNU_9.0.exeLinker.inputType__CMD2_SRCS"/>
|
<inputType id="com.ti.ccstudio.buildDefinitions.TMS470_GNU_9.0.exeLinker.inputType__CMD2_SRCS.1363885335" name="Linker Command Files" superClass="com.ti.ccstudio.buildDefinitions.TMS470_GNU_9.0.exeLinker.inputType__CMD2_SRCS"/>
|
||||||
<inputType id="com.ti.ccstudio.buildDefinitions.TMS470_GNU_9.0.exeLinker.inputType__GEN_CMDS.1581516728" name="Generated Linker Command Files" superClass="com.ti.ccstudio.buildDefinitions.TMS470_GNU_9.0.exeLinker.inputType__GEN_CMDS"/>
|
<inputType id="com.ti.ccstudio.buildDefinitions.TMS470_GNU_9.0.exeLinker.inputType__GEN_CMDS.1581516728" name="Generated Linker Command Files" superClass="com.ti.ccstudio.buildDefinitions.TMS470_GNU_9.0.exeLinker.inputType__GEN_CMDS"/>
|
||||||
|
@ -34,7 +34,7 @@ void setup()
|
|||||||
|
|
||||||
if (knx.configured())
|
if (knx.configured())
|
||||||
{
|
{
|
||||||
printf("configured %d\n", knx.paramByte(5));
|
println("configured");
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
println("not configured");
|
println("not configured");
|
||||||
|
Loading…
Reference in New Issue
Block a user