Community
Participate
Working Groups
Build Identifier: RTSC/XDCTools 3.20.01.42-eng If a space character is placed in a Hwi function name, the error output looks like: "package/cfg/tilt1_configuration_p430.c", line 1398: error: expected an identifier "package/cfg/tilt1_configuration_p430.c", line 1402: error: expected a "(" which doesn't help the user much in figuring out what is wrong. Reproducible: Always Steps to Reproduce: 1. Create a valid Hwi instance. 2. Insert a space character within the hwiFxn name. 3. Build
We need to do a check when and xdc.services.intern.xsr.Extern is created with a name containing spaces. This can't happen during a parse of .xdc files, so it should be sufficient to validate when handling assignments of the form "&..." to pointer types (in Proto.Adr).
fixed by adding a check when "&..." assignments are made.
added test $TREES/xdctest/xdctest-b06/ecl/ecl325021 for this fix.
OK, I think its worse -- because now its more anomalous. Steps to Reproduce: 1. Create a valid Hwi instance. 2. Insert a space character within the hwiFxn name. 3. Save the configuration The Hwi instance will no longer appear in the Outline View window.
Since we should be checking the sanity of assignments in the underlying tool (so we can properly trap bogus identifiers, we need to fix xgconf to properly handle the situation were this error occurs. Once xgconf can handle the error we can restore the fix previously made.
When a users enters a new function name value for a model node, I added a check to verify the function name is valid and does not contain spaces. If it is not valid an error is logged and an error message pops up. The new value is not applied.
Fixed
Fix has been checked into xdcconfig-l branch.
Verified in CCS 5.4.0.40 and SYS/BIOS 6.35.0.20 that an error dialog box is raised when I attempt to enter a Hwi function name that has a space character in it.
shipped in 3.25.00.48: http://downloads.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/rtsc/3_25_00_48/index_FDS.html.