[2/4,MSP430] Update hard-coded MCU data
diff mbox series

Message ID 08f52326-1fe1-abfe-8d1e-67dd0ba432fd@mittosystems.com
State New
Headers show
Series
  • Add methods to extract MCU data from file
Related show

Commit Message

Jozef Lawrynowicz June 27, 2018, 11:52 a.m. UTC
> The second patch updates the hard-coded MCU data to the latest version.

Patch
diff mbox series

From 7da6e1edcffc1fa1a93dde5e23c87f9653132768 Mon Sep 17 00:00:00 2001
From: Jozef Lawrynowicz <jozef.l@mittosystems.com>
Date: Mon, 25 Jun 2018 19:56:53 +0100
Subject: [PATCH 2/4] MSP430 - Devices 1.1 Update hard-coded MCU data

2018-06-27  Jozef Lawrynowicz  <jozef.l@mittosystems.com>

gcc/config/msp430/

	* msp430-devices.c (hard_msp430_mcu_data): Add new devices.
---
 gcc/config/msp430/msp430-devices.c | 30 +++++++++++++++++++++++++-----
 1 file changed, 25 insertions(+), 5 deletions(-)

diff --git a/gcc/config/msp430/msp430-devices.c b/gcc/config/msp430/msp430-devices.c
index f20b379..fff5554 100644
--- a/gcc/config/msp430/msp430-devices.c
+++ b/gcc/config/msp430/msp430-devices.c
@@ -13,7 +13,7 @@ 
 
 struct t_msp430_mcu_data extracted_mcu_data;
 /* Initialized at the bottom for improved readability.  */
-extern struct t_msp430_mcu_data hard_msp430_mcu_data[605];
+extern struct t_msp430_mcu_data hard_msp430_mcu_data[626];
 
 /* This function only needs to be executed once, but it can be first called
    from a number of different locations.  */
@@ -60,10 +60,9 @@  msp430_extract_mcu_data (const char * mcu_name)
     }
 }
 
-/* The data in this structure has been extracted from version 1.194 of the
-   devices.csv file released by TI in September 2016.  */
-
-struct t_msp430_mcu_data hard_msp430_mcu_data[605] =
+/* The data in this structure has been extracted from version 1.205 of the
+   devices.csv file released by TI in April 2018.  */
+struct t_msp430_mcu_data hard_msp430_mcu_data[626] =
 {
   { "cc430f5123",2,8 },
   { "cc430f5125",2,8 },
@@ -479,13 +478,22 @@  struct t_msp430_mcu_data hard_msp430_mcu_data[605] =
   { "msp430fg6426",2,8 },
   { "msp430fg6625",2,8 },
   { "msp430fg6626",2,8 },
+  { "msp430fr2000",2,0 },
   { "msp430fr2032",2,0 },
   { "msp430fr2033",2,0 },
+  { "msp430fr2100",2,0 },
   { "msp430fr2110",2,0 },
   { "msp430fr2111",2,0 },
+  { "msp430fr2153",2,8 },
+  { "msp430fr2155",2,8 },
   { "msp430fr2310",2,0 },
   { "msp430fr2311",2,0 },
+  { "msp430fr2353",2,8 },
+  { "msp430fr2355",2,8 },
+  { "msp430fr2422",2,8 },
   { "msp430fr2433",2,8 },
+  { "msp430fr2512",2,8 },
+  { "msp430fr2522",2,8 },
   { "msp430fr2532",2,8 },
   { "msp430fr2533",2,8 },
   { "msp430fr2632",2,8 },
@@ -494,6 +502,9 @@  struct t_msp430_mcu_data hard_msp430_mcu_data[605] =
   { "msp430fr4131",2,0 },
   { "msp430fr4132",2,0 },
   { "msp430fr4133",2,0 },
+  { "msp430fr5041",2,8 },
+  { "msp430fr5043",2,8 },
+  { "msp430fr50431",2,8 },
   { "msp430fr5720",2,8 },
   { "msp430fr5721",2,8 },
   { "msp430fr5722",2,8 },
@@ -560,6 +571,15 @@  struct t_msp430_mcu_data hard_msp430_mcu_data[605] =
   { "msp430fr5994",2,8 },
   { "msp430fr59941",2,8 },
   { "msp430fr5xx_6xxgeneric",2,8 },
+  { "msp430fr6035",2,8 },
+  { "msp430fr6037",2,8 },
+  { "msp430fr60371",2,8 },
+  { "msp430fr6041",2,8 },
+  { "msp430fr6043",2,8 },
+  { "msp430fr60431",2,8 },
+  { "msp430fr6045",2,8 },
+  { "msp430fr6047",2,8 },
+  { "msp430fr60471",2,8 },
   { "msp430fr6820",2,8 },
   { "msp430fr6822",2,8 },
   { "msp430fr68221",2,8 },
-- 
2.7.4