You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/home/korey/.platformio/packages/toolchain-timsp430/bin/../lib/gcc/msp430/4.6.3/../../../../msp430/include/msp430.h:1802:2: error: #error "Failed to match a default include file"
/home/korey/.platformio/packages/framework-energiamsp430/cores/msp430/Energia.h:366:26: fatal error: pins_energia.h: No such file or directory
This suggests that the msp430.h include file does not have the proper definition passed for this board. I do notice that this board is called:
lpmsp430g2476 in the files and documentation
However, it is an FRAM chip and the proper model name is with FR and not G. I.e. it should be lpmsp430fr2476 to match the other boards like this. There does not seem to be a MSP430G2476, I suppose someone mistook this chip for being a member of the G2 series.
Adding a proper JSON file for the board (in the boards directory, ~/.platformio/platforms/timsp430*/boards), replacing the MSP430G2476 with MSP430FR2476, allows compilation, and this applies both to stable and the current git development version. HOWEVER, a new error pops up:
/home/korey/.platformio/packages/toolchain-timsp430/bin/../lib/gcc/msp430/4.6.3/../../../../msp430/lib/mcpu-430x/mmpy-16/libc.a(puts.o): In function `puts':
/home/robertinant/mspgcc/msp430-libc-20120224/src/./stdlib/puts.c:38: undefined reference to `putchar'
/home/robertinant/mspgcc/msp430-libc-20120224/src/./stdlib/puts.c:42: undefined reference to `putchar'
The robertinant part is, obviously, not me and suggests a precompiled static library with debug symbols. I am not heavily experienced in C programming -- perhaps the static library was not linked properly to stdio.h?
The text was updated successfully, but these errors were encountered:
Getting the errors:
This suggests that the msp430.h include file does not have the proper definition passed for this board. I do notice that this board is called:
lpmsp430g2476 in the files and documentation
However, it is an FRAM chip and the proper model name is with FR and not G. I.e. it should be lpmsp430fr2476 to match the other boards like this. There does not seem to be a MSP430G2476, I suppose someone mistook this chip for being a member of the G2 series.
Adding a proper JSON file for the board (in the boards directory, ~/.platformio/platforms/timsp430*/boards), replacing the MSP430G2476 with MSP430FR2476, allows compilation, and this applies both to stable and the current git development version. HOWEVER, a new error pops up:
The robertinant part is, obviously, not me and suggests a precompiled static library with debug symbols. I am not heavily experienced in C programming -- perhaps the static library was not linked properly to stdio.h?
The text was updated successfully, but these errors were encountered: