I am able to compile my code with no errors until I add the interrupt handlers. The code I am adding looks like this:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
//------------------------------------------------------------------------------- // The USCI_B0 data ISR is used to move received data from the I2C slave // to the MSP430 memory. It is structured such that it can be used to receive // any 2+ number of bytes by pre-loading RXByteCtr with the byte count. //------------------------------------------------------------------------------- #if defined(__TI_COMPILER_VERSION__) || defined(__IAR_SYSTEMS_ICC__) #pragma vector = USCI_B1_VECTOR __interrupt void USCI_B1_ISR( void ) #elif defined(__GNUC__) void __attribute__ ((interrupt(USCI_B0_VECTOR))) USCI_B0_ISR ( void ) #else #error Compiler not supported! #endif { switch (__even_in_range(UCB1IV,12)) { case 0: break ; // Vector 0: No interrupts case 2: break ; // Vector 2: ALIFG case 4: break ; // Vector 4: NACKIFG case 6: break ; // Vector 6: STTIFG case 8: break ; // Vector 8: STPIFG case 10: // Vector 10: RXIFG // RXByteCtr--; // Decrement RX byte counter // if (RXByteCtr) // { // *PRxData++ = UCB1RXBUF; // Move RX data to address PRxData // if (RXByteCtr == 1 && multiple == 1) // Only one byte left? // UCB1CTL1 |= UCTXSTP; // Generate I2C stop condition // } // else // { // *PRxData = UCB1RXBUF; // Move final RX data to PRxData // __bic_SR_register_on_exit(LPM0_bits); // Exit active CPU // } break ; case 12: // Vector 12: TXIFG // if (TXByteCtr) // Check TX byte counter // { // UCB1TXBUF = *PTxData++; // Load TX buffer // TXByteCtr--; // Decrement TX byte counter // } // else // { // if (stopBit){ // UCB1CTL1 |= UCTXSTP; // I2C stop condition //Set a stop flag if this should be sent out or not // } // UCB1IFG &= ~UCTXIFG; // Clear USCI_B0 TX int flag // __bic_SR_register_on_exit(LPM0_bits); // Exit LPM0 // } default : break ; } } |
The full error I am getting is:
Description Resource Path Location Type
<a href="file:/c:/ti/ccsv6/tools/compiler/dmed/HTML/10099.html">#10099-D</a> program will not fit into lnk_msp430f5529.cmd /tcp_socket line 210 C/C++ Problem
The Full Console Output is :
**** Build of configuration Debug for project tcp_socket ****
"c:\\ti\\ccsv6\\utils\\bin\\gmake" -k all
'Building file: C:/ti/CC3100SDK/cc3100-sdk/examples/tcp_socket/main.c'
'Invoking: MSP430 Compiler'
"c:/ti/ccsv6/tools/compiler/msp430_4.3.4/bin/cl430" -vmspx --abi=coffabi -O3 --opt_for_speed=0 --include_path="c:/ti/ccsv6/ccs_base/msp430/include" --include_path="C:/ti/CC3100SDK/cc3100-sdk/platform/msp430f5529lp/" --include_path="C:/ti/CC3100SDK/cc3100-sdk/simplelink/include" --include_path="C:/ti/CC3100SDK/cc3100-sdk/simplelink/source" --include_path="c:/ti/ccsv6/tools/compiler/msp430_4.3.4/include" -g --define=__CCS__ --define=_USE_CLI_ --define=__MSP430F5529__ --diag_warning=225 --display_error_number --silicon_errata=CPU21 --silicon_errata=CPU22 --silicon_errata=CPU23 --silicon_errata=CPU40 --printf_support=minimal --preproc_with_compile --preproc_dependency="main.pp" "C:/ti/CC3100SDK/cc3100-sdk/examples/tcp_socket/main.c"
"C:/ti/CC3100SDK/cc3100-sdk/examples/tcp_socket/main.c", line 458: warning #169-D: argument of type "const unsigned char *" is incompatible with parameter of type "unsigned char *"
"C:/ti/CC3100SDK/cc3100-sdk/examples/tcp_socket/main.c", line 462: warning #169-D: argument of type "char *" is incompatible with parameter of type "unsigned char *"
"C:/ti/CC3100SDK/cc3100-sdk/examples/tcp_socket/main.c", line 467: warning #112-D: statement is unreachable
"C:/ti/CC3100SDK/cc3100-sdk/examples/tcp_socket/main.c", line 428: warning #179-D: variable "initPlotly" was declared but never referenced
"C:/ti/CC3100SDK/cc3100-sdk/examples/tcp_socket/main.c", line 429: warning #179-D: variable "initStream" was declared but never referenced
"C:/ti/CC3100SDK/cc3100-sdk/examples/tcp_socket/main.c", line 1027: warning #179-D: variable "packetLength" was declared but never referenced
"C:/ti/CC3100SDK/cc3100-sdk/examples/tcp_socket/main.c", line 1059: warning #179-D: variable "WHO_AM_I" was declared but never referenced
"C:/ti/CC3100SDK/cc3100-sdk/examples/tcp_socket/main.c", line 1061: warning #179-D: variable "CTRL_REG1_SET1" was declared but never referenced
"C:/ti/CC3100SDK/cc3100-sdk/examples/tcp_socket/main.c", line 1062: warning #179-D: variable "CTRL_REG2_SET" was declared but never referenced
"C:/ti/CC3100SDK/cc3100-sdk/examples/tcp_socket/main.c", line 1063: warning #179-D: variable "CTRL_REG3_SET" was declared but never referenced
"C:/ti/CC3100SDK/cc3100-sdk/examples/tcp_socket/main.c", line 1064: warning #179-D: variable "CTRL_REG4_SET" was declared but never referenced
"C:/ti/CC3100SDK/cc3100-sdk/examples/tcp_socket/main.c", line 1065: warning #179-D: variable "CTRL_REG5_SET" was declared but never referenced
"C:/ti/CC3100SDK/cc3100-sdk/examples/tcp_socket/main.c", line 1066: warning #179-D: variable "PT_DATA_CFG_SET" was declared but never referenced
"C:/ti/CC3100SDK/cc3100-sdk/examples/tcp_socket/main.c", line 1068: warning #179-D: variable "CTRL_REG1_GET" was declared but never referenced
"C:/ti/CC3100SDK/cc3100-sdk/examples/tcp_socket/main.c", line 1070: warning #179-D: variable "CTRL_REG1_SET2" was declared but never referenced
"C:/ti/CC3100SDK/cc3100-sdk/examples/tcp_socket/main.c", line 1073: warning #179-D: variable "CTRL_REG2_GET" was declared but never referenced
'Finished building: C:/ti/CC3100SDK/cc3100-sdk/examples/tcp_socket/main.c'
' '
'Building file: C:/ti/CC3100SDK/cc3100-sdk/platform/msp430f5529lp/spi.c'
'Invoking: MSP430 Compiler'
"c:/ti/ccsv6/tools/compiler/msp430_4.3.4/bin/cl430" -vmspx --abi=coffabi -O3 --opt_for_speed=0 --include_path="c:/ti/ccsv6/ccs_base/msp430/include" --include_path="C:/ti/CC3100SDK/cc3100-sdk/platform/msp430f5529lp/" --include_path="C:/ti/CC3100SDK/cc3100-sdk/simplelink/include" --include_path="C:/ti/CC3100SDK/cc3100-sdk/simplelink/source" --include_path="c:/ti/ccsv6/tools/compiler/msp430_4.3.4/include" -g --define=__CCS__ --define=_USE_CLI_ --define=__MSP430F5529__ --diag_warning=225 --display_error_number --silicon_errata=CPU21 --silicon_errata=CPU22 --silicon_errata=CPU23 --silicon_errata=CPU40 --printf_support=minimal --preproc_with_compile --preproc_dependency="spi/spi.pp" --obj_directory="spi" "C:/ti/CC3100SDK/cc3100-sdk/platform/msp430f5529lp/spi.c"
'Finished building: C:/ti/CC3100SDK/cc3100-sdk/platform/msp430f5529lp/spi.c'
' '
'Building file: C:/ti/CC3100SDK/cc3100-sdk/simplelink/source/device.c'
'Invoking: MSP430 Compiler'
"c:/ti/ccsv6/tools/compiler/msp430_4.3.4/bin/cl430" -vmspx --abi=coffabi -O3 --opt_for_speed=0 --include_path="c:/ti/ccsv6/ccs_base/msp430/include" --include_path="C:/ti/CC3100SDK/cc3100-sdk/platform/msp430f5529lp/" --include_path="C:/ti/CC3100SDK/cc3100-sdk/simplelink/include" --include_path="C:/ti/CC3100SDK/cc3100-sdk/simplelink/source" --include_path="c:/ti/ccsv6/tools/compiler/msp430_4.3.4/include" -g --define=__CCS__ --define=_USE_CLI_ --define=__MSP430F5529__ --diag_warning=225 --display_error_number --silicon_errata=CPU21 --silicon_errata=CPU22 --silicon_errata=CPU23 --silicon_errata=CPU40 --printf_support=minimal --preproc_with_compile --preproc_dependency="simplelink/source/device.pp" --obj_directory="simplelink/source" "C:/ti/CC3100SDK/cc3100-sdk/simplelink/source/device.c"
"C:/ti/CC3100SDK/cc3100-sdk/simplelink/source/device.c", line 439: warning #190-D: enumerated type mixed with another type
'Finished building: C:/ti/CC3100SDK/cc3100-sdk/simplelink/source/device.c'
' '
'Building file: C:/ti/CC3100SDK/cc3100-sdk/simplelink/source/driver.c'
'Invoking: MSP430 Compiler'
"c:/ti/ccsv6/tools/compiler/msp430_4.3.4/bin/cl430" -vmspx --abi=coffabi -O3 --opt_for_speed=0 --include_path="c:/ti/ccsv6/ccs_base/msp430/include" --include_path="C:/ti/CC3100SDK/cc3100-sdk/platform/msp430f5529lp/" --include_path="C:/ti/CC3100SDK/cc3100-sdk/simplelink/include" --include_path="C:/ti/CC3100SDK/cc3100-sdk/simplelink/source" --include_path="c:/ti/ccsv6/tools/compiler/msp430_4.3.4/include" -g --define=__CCS__ --define=_USE_CLI_ --define=__MSP430F5529__ --diag_warning=225 --display_error_number --silicon_errata=CPU21 --silicon_errata=CPU22 --silicon_errata=CPU23 --silicon_errata=CPU40 --printf_support=minimal --preproc_with_compile --preproc_dependency="simplelink/source/driver.pp" --obj_directory="simplelink/source" "C:/ti/CC3100SDK/cc3100-sdk/simplelink/source/driver.c"
'Finished building: C:/ti/CC3100SDK/cc3100-sdk/simplelink/source/driver.c'
' '
'Building file: C:/ti/CC3100SDK/cc3100-sdk/simplelink/source/flowcont.c'
'Invoking: MSP430 Compiler'
"c:/ti/ccsv6/tools/compiler/msp430_4.3.4/bin/cl430" -vmspx --abi=coffabi -O3 --opt_for_speed=0 --include_path="c:/ti/ccsv6/ccs_base/msp430/include" --include_path="C:/ti/CC3100SDK/cc3100-sdk/platform/msp430f5529lp/" --include_path="C:/ti/CC3100SDK/cc3100-sdk/simplelink/include" --include_path="C:/ti/CC3100SDK/cc3100-sdk/simplelink/source" --include_path="c:/ti/ccsv6/tools/compiler/msp430_4.3.4/include" -g --define=__CCS__ --define=_USE_CLI_ --define=__MSP430F5529__ --diag_warning=225 --display_error_number --silicon_errata=CPU21 --silicon_errata=CPU22 --silicon_errata=CPU23 --silicon_errata=CPU40 --printf_support=minimal --preproc_with_compile --preproc_dependency="simplelink/source/flowcont.pp" --obj_directory="simplelink/source" "C:/ti/CC3100SDK/cc3100-sdk/simplelink/source/flowcont.c"
'Finished building: C:/ti/CC3100SDK/cc3100-sdk/simplelink/source/flowcont.c'
' '
'Building file: C:/ti/CC3100SDK/cc3100-sdk/simplelink/source/fs.c'
'Invoking: MSP430 Compiler'
"c:/ti/ccsv6/tools/compiler/msp430_4.3.4/bin/cl430" -vmspx --abi=coffabi -O3 --opt_for_speed=0 --include_path="c:/ti/ccsv6/ccs_base/msp430/include" --include_path="C:/ti/CC3100SDK/cc3100-sdk/platform/msp430f5529lp/" --include_path="C:/ti/CC3100SDK/cc3100-sdk/simplelink/include" --include_path="C:/ti/CC3100SDK/cc3100-sdk/simplelink/source" --include_path="c:/ti/ccsv6/tools/compiler/msp430_4.3.4/include" -g --define=__CCS__ --define=_USE_CLI_ --define=__MSP430F5529__ --diag_warning=225 --display_error_number --silicon_errata=CPU21 --silicon_errata=CPU22 --silicon_errata=CPU23 --silicon_errata=CPU40 --printf_support=minimal --preproc_with_compile --preproc_dependency="simplelink/source/fs.pp" --obj_directory="simplelink/source" "C:/ti/CC3100SDK/cc3100-sdk/simplelink/source/fs.c"
'Finished building: C:/ti/CC3100SDK/cc3100-sdk/simplelink/source/fs.c'
' '
'Building file: C:/ti/CC3100SDK/cc3100-sdk/simplelink/source/netapp.c'
'Invoking: MSP430 Compiler'
"c:/ti/ccsv6/tools/compiler/msp430_4.3.4/bin/cl430" -vmspx --abi=coffabi -O3 --opt_for_speed=0 --include_path="c:/ti/ccsv6/ccs_base/msp430/include" --include_path="C:/ti/CC3100SDK/cc3100-sdk/platform/msp430f5529lp/" --include_path="C:/ti/CC3100SDK/cc3100-sdk/simplelink/include" --include_path="C:/ti/CC3100SDK/cc3100-sdk/simplelink/source" --include_path="c:/ti/ccsv6/tools/compiler/msp430_4.3.4/include" -g --define=__CCS__ --define=_USE_CLI_ --define=__MSP430F5529__ --diag_warning=225 --display_error_number --silicon_errata=CPU21 --silicon_errata=CPU22 --silicon_errata=CPU23 --silicon_errata=CPU40 --printf_support=minimal --preproc_with_compile --preproc_dependency="simplelink/source/netapp.pp" --obj_directory="simplelink/source" "C:/ti/CC3100SDK/cc3100-sdk/simplelink/source/netapp.c"
'Finished building: C:/ti/CC3100SDK/cc3100-sdk/simplelink/source/netapp.c'
' '
'Building file: C:/ti/CC3100SDK/cc3100-sdk/simplelink/source/netcfg.c'
'Invoking: MSP430 Compiler'
"c:/ti/ccsv6/tools/compiler/msp430_4.3.4/bin/cl430" -vmspx --abi=coffabi -O3 --opt_for_speed=0 --include_path="c:/ti/ccsv6/ccs_base/msp430/include" --include_path="C:/ti/CC3100SDK/cc3100-sdk/platform/msp430f5529lp/" --include_path="C:/ti/CC3100SDK/cc3100-sdk/simplelink/include" --include_path="C:/ti/CC3100SDK/cc3100-sdk/simplelink/source" --include_path="c:/ti/ccsv6/tools/compiler/msp430_4.3.4/include" -g --define=__CCS__ --define=_USE_CLI_ --define=__MSP430F5529__ --diag_warning=225 --display_error_number --silicon_errata=CPU21 --silicon_errata=CPU22 --silicon_errata=CPU23 --silicon_errata=CPU40 --printf_support=minimal --preproc_with_compile --preproc_dependency="simplelink/source/netcfg.pp" --obj_directory="simplelink/source" "C:/ti/CC3100SDK/cc3100-sdk/simplelink/source/netcfg.c"
'Finished building: C:/ti/CC3100SDK/cc3100-sdk/simplelink/source/netcfg.c'
' '
'Building file: C:/ti/CC3100SDK/cc3100-sdk/simplelink/source/nonos.c'
'Invoking: MSP430 Compiler'
"c:/ti/ccsv6/tools/compiler/msp430_4.3.4/bin/cl430" -vmspx --abi=coffabi -O3 --opt_for_speed=0 --include_path="c:/ti/ccsv6/ccs_base/msp430/include" --include_path="C:/ti/CC3100SDK/cc3100-sdk/platform/msp430f5529lp/" --include_path="C:/ti/CC3100SDK/cc3100-sdk/simplelink/include" --include_path="C:/ti/CC3100SDK/cc3100-sdk/simplelink/source" --include_path="c:/ti/ccsv6/tools/compiler/msp430_4.3.4/include" -g --define=__CCS__ --define=_USE_CLI_ --define=__MSP430F5529__ --diag_warning=225 --display_error_number --silicon_errata=CPU21 --silicon_errata=CPU22 --silicon_errata=CPU23 --silicon_errata=CPU40 --printf_support=minimal --preproc_with_compile --preproc_dependency="simplelink/source/nonos.pp" --obj_directory="simplelink/source" "C:/ti/CC3100SDK/cc3100-sdk/simplelink/source/nonos.c"
'Finished building: C:/ti/CC3100SDK/cc3100-sdk/simplelink/source/nonos.c'
' '
'Building file: C:/ti/CC3100SDK/cc3100-sdk/simplelink/source/socket.c'
'Invoking: MSP430 Compiler'
"c:/ti/ccsv6/tools/compiler/msp430_4.3.4/bin/cl430" -vmspx --abi=coffabi -O3 --opt_for_speed=0 --include_path="c:/ti/ccsv6/ccs_base/msp430/include" --include_path="C:/ti/CC3100SDK/cc3100-sdk/platform/msp430f5529lp/" --include_path="C:/ti/CC3100SDK/cc3100-sdk/simplelink/include" --include_path="C:/ti/CC3100SDK/cc3100-sdk/simplelink/source" --include_path="c:/ti/ccsv6/tools/compiler/msp430_4.3.4/include" -g --define=__CCS__ --define=_USE_CLI_ --define=__MSP430F5529__ --diag_warning=225 --display_error_number --silicon_errata=CPU21 --silicon_errata=CPU22 --silicon_errata=CPU23 --silicon_errata=CPU40 --printf_support=minimal --preproc_with_compile --preproc_dependency="simplelink/source/socket.pp" --obj_directory="simplelink/source" "C:/ti/CC3100SDK/cc3100-sdk/simplelink/source/socket.c"
'Finished building: C:/ti/CC3100SDK/cc3100-sdk/simplelink/source/socket.c'
' '
'Building file: C:/ti/CC3100SDK/cc3100-sdk/simplelink/source/spawn.c'
'Invoking: MSP430 Compiler'
"c:/ti/ccsv6/tools/compiler/msp430_4.3.4/bin/cl430" -vmspx --abi=coffabi -O3 --opt_for_speed=0 --include_path="c:/ti/ccsv6/ccs_base/msp430/include" --include_path="C:/ti/CC3100SDK/cc3100-sdk/platform/msp430f5529lp/" --include_path="C:/ti/CC3100SDK/cc3100-sdk/simplelink/include" --include_path="C:/ti/CC3100SDK/cc3100-sdk/simplelink/source" --include_path="c:/ti/ccsv6/tools/compiler/msp430_4.3.4/include" -g --define=__CCS__ --define=_USE_CLI_ --define=__MSP430F5529__ --diag_warning=225 --display_error_number --silicon_errata=CPU21 --silicon_errata=CPU22 --silicon_errata=CPU23 --silicon_errata=CPU40 --printf_support=minimal --preproc_with_compile --preproc_dependency="simplelink/source/spawn.pp" --obj_directory="simplelink/source" "C:/ti/CC3100SDK/cc3100-sdk/simplelink/source/spawn.c"
'Finished building: C:/ti/CC3100SDK/cc3100-sdk/simplelink/source/spawn.c'
' '
'Building file: C:/ti/CC3100SDK/cc3100-sdk/simplelink/source/wlan.c'
'Invoking: MSP430 Compiler'
"c:/ti/ccsv6/tools/compiler/msp430_4.3.4/bin/cl430" -vmspx --abi=coffabi -O3 --opt_for_speed=0 --include_path="c:/ti/ccsv6/ccs_base/msp430/include" --include_path="C:/ti/CC3100SDK/cc3100-sdk/platform/msp430f5529lp/" --include_path="C:/ti/CC3100SDK/cc3100-sdk/simplelink/include" --include_path="C:/ti/CC3100SDK/cc3100-sdk/simplelink/source" --include_path="c:/ti/ccsv6/tools/compiler/msp430_4.3.4/include" -g --define=__CCS__ --define=_USE_CLI_ --define=__MSP430F5529__ --diag_warning=225 --display_error_number --silicon_errata=CPU21 --silicon_errata=CPU22 --silicon_errata=CPU23 --silicon_errata=CPU40 --printf_support=minimal --preproc_with_compile --preproc_dependency="simplelink/source/wlan.pp" --obj_directory="simplelink/source" "C:/ti/CC3100SDK/cc3100-sdk/simplelink/source/wlan.c"
'Finished building: C:/ti/CC3100SDK/cc3100-sdk/simplelink/source/wlan.c'
' '
'Building file: C:/ti/CC3100SDK/cc3100-sdk/platform/msp430f5529lp/cli_uart.c'
'Invoking: MSP430 Compiler'
"c:/ti/ccsv6/tools/compiler/msp430_4.3.4/bin/cl430" -vmspx --abi=coffabi -O3 --opt_for_speed=0 --include_path="c:/ti/ccsv6/ccs_base/msp430/include" --include_path="C:/ti/CC3100SDK/cc3100-sdk/platform/msp430f5529lp/" --include_path="C:/ti/CC3100SDK/cc3100-sdk/simplelink/include" --include_path="C:/ti/CC3100SDK/cc3100-sdk/simplelink/source" --include_path="c:/ti/ccsv6/tools/compiler/msp430_4.3.4/include" -g --define=__CCS__ --define=_USE_CLI_ --define=__MSP430F5529__ --diag_warning=225 --display_error_number --silicon_errata=CPU21 --silicon_errata=CPU22 --silicon_errata=CPU23 --silicon_errata=CPU40 --printf_support=minimal --preproc_with_compile --preproc_dependency="cli_uart/cli_uart.pp" --obj_directory="cli_uart" "C:/ti/CC3100SDK/cc3100-sdk/platform/msp430f5529lp/cli_uart.c"
'Finished building: C:/ti/CC3100SDK/cc3100-sdk/platform/msp430f5529lp/cli_uart.c'
' '
'Building file: C:/ti/CC3100SDK/cc3100-sdk/platform/msp430f5529lp/board.c'
'Invoking: MSP430 Compiler'
"c:/ti/ccsv6/tools/compiler/msp430_4.3.4/bin/cl430" -vmspx --abi=coffabi -O3 --opt_for_speed=0 --include_path="c:/ti/ccsv6/ccs_base/msp430/include" --include_path="C:/ti/CC3100SDK/cc3100-sdk/platform/msp430f5529lp/" --include_path="C:/ti/CC3100SDK/cc3100-sdk/simplelink/include" --include_path="C:/ti/CC3100SDK/cc3100-sdk/simplelink/source" --include_path="c:/ti/ccsv6/tools/compiler/msp430_4.3.4/include" -g --define=__CCS__ --define=_USE_CLI_ --define=__MSP430F5529__ --diag_warning=225 --display_error_number --silicon_errata=CPU21 --silicon_errata=CPU22 --silicon_errata=CPU23 --silicon_errata=CPU40 --printf_support=minimal --preproc_with_compile --preproc_dependency="board/board.pp" --obj_directory="board" "C:/ti/CC3100SDK/cc3100-sdk/platform/msp430f5529lp/board.c"
'Finished building: C:/ti/CC3100SDK/cc3100-sdk/platform/msp430f5529lp/board.c'
' '
'Building target: tcp_socket.out'
'Invoking: MSP430 Linker'
"c:/ti/ccsv6/tools/compiler/msp430_4.3.4/bin/cl430" -vmspx --abi=coffabi -O3 --opt_for_speed=0 -g --define=__CCS__ --define=_USE_CLI_ --define=__MSP430F5529__ --diag_warning=225 --display_error_number --silicon_errata=CPU21 --silicon_errata=CPU22 --silicon_errata=CPU23 --silicon_errata=CPU40 --printf_support=minimal -z -m"tcp_socket.map" --heap_size=0 --stack_size=400 --use_hw_mpy=F5 --cinit_hold_wdt=on -i"c:/ti/ccsv6/ccs_base/msp430/include" -i"c:/ti/ccsv6/tools/compiler/msp430_4.3.4/lib" -i"c:/ti/ccsv6/tools/compiler/msp430_4.3.4/include" -i"c:/ti/ccsv6/ccs_base/msp430/lib" -i"c:/ti/ccsv6/ccs_base/msp430/lib/5xx_6xx_FRxx" --reread_libs --warn_sections --display_error_number --xml_link_info="tcp_socket_linkInfo.xml" --rom_model -o "tcp_socket.out" "./main.obj" "./spi/spi.obj" "./simplelink/source/device.obj" "./simplelink/source/driver.obj" "./simplelink/source/flowcont.obj" "./simplelink/source/fs.obj" "./simplelink/source/netapp.obj" "./simplelink/source/netcfg.obj" "./simplelink/source/nonos.obj" "./simplelink/source/socket.obj" "./simplelink/source/spawn.obj" "./simplelink/source/wlan.obj" "./cli_uart/cli_uart.obj" "./board/board.obj" "../lnk_msp430f5529.cmd" -l"libc.a"
<Linking>
error #10056: symbol "__TI_int45" redefined: first defined in "./main.obj";
redefined in "./board/board.obj"
"../lnk_msp430f5529.cmd", line 210: error #10099-D: program will not fit into
>> Compilation failure
available memory. placement with alignment fails for section "USCI_B1" size
0x4 . Available memory ranges:
INT45 size: 0x2 unused: 0x2 max hole: 0x2
error #10010: errors encountered during linking; "tcp_socket.out" not built
gmake: *** [tcp_socket.out] Error 1
gmake: Target `all' not remade because of errors.
**** Build Finished ****
I am not able to increase optimization to 4 because I then get a optimization error (Type #10192 Failed linktime optimization) which apparently there is a ticket open for but appears to have never been closed...
Any help in resolving this issue would be very much appreciated.
Kas