[PATCH] [MSP430] Fix device name symbol defined for MSP430i series of devices

DJ Delorie dj@redhat.com
Mon Jun 4 17:26:00 GMT 2018


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);
> +      else

Do you need to TOUPPER the parts of target_mcu after char 7 ?



More information about the Gcc-patches mailing list