authorNathael Pajani <nathael.pajani@ed3l.fr>
Sat, 16 Feb 2019 11:59:23 +0000 (12:59 +0100)
committerNathael Pajani <nathael.pajani@ed3l.fr>
Sat, 16 Feb 2019 11:59:23 +0000 (12:59 +0100)
- Add support for LPC822
- Add support for LPC1224FBD48/121 and LPC1226FBD48/301 variants of LPC12XX
- align existing fields to allow bigger flash and RAM sizes

lpctools_parts.def

index 2852a8b..5af2626 100644 (file)
 
 # Line format :
 
-#       part info             |        flash             | reset  |       ram         |    ram      |   UU
-#                             |                      nb  | vector |                   |   buffer    | encode
-# part_id      part name      | base addr    size   sect | offset | base addr   size  |  off   size |   ?
+#       part info             |        flash              | reset  |        ram         |    ram      |   UU
+#                             |                       nb  | vector |                    |   buffer    | encode
+# part_id      part name      | base addr    size    sect | offset | base addr    size  |  off   size |   ?
 
 # LPC81X Familly
-0x00008100, LPC810M021FN8,      0x00000000, 0x1000, 4,     0x04,    0x10000000, 0x0400, 0x300, 0x100,   0
-0x00008122, LPC812M101JDH20,    0x00000000, 0x4000, 16,    0x04,    0x10000000, 0x1000, 0x800, 0x400,   0
+0x00008100, LPC810M021FN8,      0x00000000,  0x1000,  4,    0x04,    0x10000000,  0x0400, 0x300, 0x100,   0
+0x00008122, LPC812M101JDH20,    0x00000000,  0x4000, 16,    0x04,    0x10000000,  0x1000, 0x800, 0x400,   0
+
+# LPC82X Familly
+0x00008222, LPC822M101JDH20J,   0x00000000,  0x4000,  16,    0x04,    0x10000000, 0x1000, 0x800, 0x400,   0
 
 # LPC11XX Familly
-0x2540102B, LPC1114FHN33/302,   0x00000000, 0x8000,  8,    0x04,    0x10000000, 0x2000, 0x800, 0x400,   1
-0x4d80002b, LPC11A04UK,         0x00000000, 0x8000,  8,    0x04,    0x10000000, 0x2000, 0x800, 0x400,   1
+0x2540102B, LPC1114FHN33/302,   0x00000000,  0x8000,  8,    0x04,    0x10000000,  0x2000, 0x800, 0x400,   1
+0x4d80002b, LPC11A04UK,         0x00000000,  0x8000,  8,    0x04,    0x10000000,  0x2000, 0x800, 0x400,   1
 
 # LPC12XX Familly
-0x3640C02B, LPC1224FBD48/101,   0x00000000, 0x8000,  8,    0x04,    0x10000000, 0x1000, 0x800, 0x400,   1
+0x3640C02B, LPC1224FBD48/101,   0x00000000,  0x8000,  8,    0x04,    0x10000000,  0x1000, 0x800, 0x400,   1
+0x3642C02B, LPC1224FBD48/121,   0x00000000,  0x8000,  8,    0x04,    0x10000000,  0x1000, 0x800, 0x400,   1
+0x3660002B, LPC1226FBD48/301,   0x00000000, 0x18000, 24,    0x04,    0x10000000,  0x2000, 0x800, 0x400,   1
 
 # LPC17XX Familly
-0x26011922, LPC1764FBD100,      0x00000000, 0x10000, 16,   0x04,    0x10000000, 0x4000, 0x800, 0x800,   1
+0x26011922, LPC1764FBD100,      0x00000000, 0x10000, 16,    0x04,    0x10000000,  0x4000, 0x800, 0x800,   1
 
-# LPC5411x Familly
-0x36454114, LPC54114J256,      0x00000000, 0x40000, 8,   0x0,    0x20010000, 0x30000, 0x0, 0x100,   0
+# LPC541XX Familly
+0x36454114, LPC54114J256,       0x00000000, 0x40000,  8,    0x04,    0x20010000, 0x30000, 0x000, 0x100,   0