Part Number: MSP-EXP432E401Y
Other Parts Discussed in Thread: SYSCONFIG, MSP432E411Y, MSP432E401Y
When adding a USB interface in sysconfig, I get the following compiler error:
subdir_rules.mk:26: recipe for target 'syscfg/ti_usblib_config.obj' failed "C:/ti/simplelink_msp432e4_sdk_4_20_00_12/source/ti/devices/msp432e4/inc/msp432.h", line 53: fatal error #35: #error directive: "Failed to match a default include file" 1 catastrophic error detected in the compilation of "syscfg/ti_usblib_config.c".
/**
* These arguments were used when this file was generated. They will be automatically applied on subsequent loads
* via the GUI or CLI. Run CLI with '--help' for additional information on how to override these arguments.
* @cliArgs --device "MSP432E" --package "128 Pin QFP|32x32" --part "MSP432E401YTPDT" --product "simplelink_msp432e4_sdk@4.20.00.12"
* @versions {"tool":"1.17.0+3128"}
*/
const Settings = scripting.addModule("/ti/usblib/Settings", {}, false);
const Settings1 = Settings.addInstance();
Settings1.$name = "CONFIG_USB_0";
Settings1.usb.$assign = "USB0";
Settings1.usb.dmPin.$assign = "PL7";
Settings1.usb.dpPin.$assign = "PL6";
Settings1.usb.idPin.$assign = "PB0";
Settings1.usb.vbusPin.$assign = "PB1";
Settings1.stringDescriptor.$name = "usb_string0";
Settings1.configuration.$name = "usb_configuration0";
Settings1.configuration.hid.$name = "usb_hid0";
Which is somehow strange as the sysconfig generated file ti_usblib_config.h contains an include for <ti/devices/msp432e4/inc/msp432.h>:
******************************************************************************/ #ifndef __MSP432_H__ #define __MSP432_H__ /****************************************************************************** * MSP432 devices * ******************************************************************************/ #if defined (__MSP432E411Y__) #include "msp432e411y.h" #elif defined (__MSP432E401Y__) #include "msp432e401y.h" /****************************************************************************** * Failed to match a default include file * ******************************************************************************/ #else #error "Failed to match a default include file" #endif #endif /* __MSP432_H__ */
So using a __MSP432E401Y_, it should resolve to that condition. Why do I get the error?
Clean and rebuild does not help.