This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

EK-TM4C1294XL: Arm-based microcontrollers forum

Part Number: EK-TM4C1294XL

Hi,

We configured the ccs project to do unit test (using parasoft).

while generating the test suits and test cases .

/resized-image/__size/1200x426/__key/communityserver-discussions-components-files/908/2273.ERROR.png

bellow is the linker script:-

Fullscreen
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/*
* Copyright (c) 2013, Texas Instruments Incorporated
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* * Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
*
* * Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
*
* * Neither the name of Texas Instruments Incorporated nor the names of
* its contributors may be used to endorse or promote products derived
* from this software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

  • Hi,

     From the linker file perspective, the only thing I see missing er file is the --retain=g_pfnVectors. Other than that I don't notice an issue with the linker file. I think the issue is related to your application as the error complains about the .const needing 0x2c12b bytes while there is only 0x281b8 bytes of flash left in the memory. Your .text (your application) is too big and hence there is no space left for the .const. Please note there is only 1MB flash in the device.