This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
On 04/06/18 18:26, DJ Delorie wrote:
Jozef Lawrynowicz <jozef.l@mittosystems.com> writes:+ if (strncmp (target_mcu, "msp430i", 7) == 0) + snprintf (mcu_name, sizeof (mcu_name) - 1, "__MSP430i%s__", + target_mcu + 7); + elseDo you need to TOUPPER the parts of target_mcu after char 7 ?
For the currently released msp430i* devices, only digits follow the i, so no upper or lower case conversion is needed.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |