diff --git a/database b/database index 13da8683..6572fdee 160000 --- a/database +++ b/database @@ -1 +1 @@ -Subproject commit 13da86838ba39f882a81a9fabe030b4c653854c9 +Subproject commit 6572fdeeadd23a45d71188b2acda9ff6552e1bbf diff --git a/devices.json b/devices.json index 68df05f7..48915484 100644 --- a/devices.json +++ b/devices.json @@ -139,6 +139,18 @@ "col_bias" : 1, "fuzz": 1 }, + "LCMXO2-640HC": { + "packages": ["QFN32"], + "idcode": "0x012b9043", + "frames": 209, + "bits_per_frame": 888, + "pad_bits_after_frame": 0, + "pad_bits_before_frame": 0, + "max_row" : 8, + "max_col" : 17, + "col_bias" : 1, + "fuzz": 1 + }, "LCMXO2-1200HC": { "packages": ["QFN32"], "idcode": "0x012ba043", diff --git a/libtrellis/src/Tile.cpp b/libtrellis/src/Tile.cpp index e832e704..60caf809 100644 --- a/libtrellis/src/Tile.cpp +++ b/libtrellis/src/Tile.cpp @@ -27,6 +27,8 @@ static const regex tile_r_re(R"([A-Za-z0-9_]*R(\d+))"); map, pair> center_map = { // 256HC {make_pair(7, 9), make_pair(3, 4)}, + // 640HC + {make_pair(8, 17), make_pair(3, 7)}, // 1200HC {make_pair(12, 21), make_pair(6, 12)} };