Other Parts Discussed in Thread: MSP430FR2512
Tool/software: TI C/C++ Compiler
Hello! I noticed that there was this previous thread about msp430-elf-gcc not searching its include paths for devices.csv: https://e2e.ti.com/support/development_tools/compiler/f/343/t/647209?Compiler-MSP430-GCC-OPENSOURCE-Feedback-on-msp430-gcc
msp430_gcc_7-3-1-23
However, GCC still does not appear to be searching for devices.csv in its include path on the latest version of GCC:
[kelvin@batmanbatman ~]$ msp430-elf-gcc -o main.elf main.c -mmcu=msp430fr2512
cc1: warning: devices.csv not found on any include paths.
Please obtain the latest version of the msp430-gcc-support-files archive from:
"software-dl.ti.com/.../index_FDS.html"
and place the full path to the "include" directory containing devices.csv on an include path specified with -I
Defaulting to the hard-coded device data...
cc1: warning: Unrecognized MCU name 'msp430fr2512', assuming that it is just a MSP430 with no ha
Use the -mcpu and -mhwmult options to set these explicitly.
I am on version 7.3.1-24:
[kelvin@batmanbatman ~]$ msp430-elf-gcc --version
msp430-elf-gcc (Mitto Systems Limited - msp430-gcc 7.3.1.24) 7.3.1
Copyright (C) 2017 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
GCC can find its include files because I'm including msp430.h in main.c, and it'll compile without the unrecognized MCU name warning with other, older devices. It will also compile with SP430FR2512 if I add "-I/usr/msp430-elf/include" to the command line arguments.
Can you guys confirm whether or not this is expected behavior, and if there will be a fix any time soon?
Thanks,
Kelvin