Skip to content

Commit d57f84e

Browse files
Update test files
1 parent de66f06 commit d57f84e

File tree

8 files changed

+87
-42
lines changed

8 files changed

+87
-42
lines changed

resources/queries/boards/board_test_1/BoardToDevice.json

Lines changed: 0 additions & 9 deletions
This file was deleted.

resources/queries/boards/board_test_1/BoardToSocket.json

Lines changed: 0 additions & 6 deletions
This file was deleted.

resources/queries/boards/board_test_1/Boards.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
{
2-
"uid": "UNI_CLICKER",
3-
"name": "UNI Clicker",
4-
"icon": "images/boards/clicker-uni.png",
2+
"uid": "BOARD_TEST",
3+
"name": "TEST BOARD",
4+
"icon": "images/boards/board-generic.png",
55
"default_device": "NULL",
66
"soldered_device": "NULL",
77
"category": "Supporting tools",
88
"mikrobus_count": 4,
99
"sort_order": 8,
1010
"min_pin_count": 0,
1111
"display_socket": "NO_DISPLAY",
12-
"sdk_config": "{\"_MSDK_BOARD_NAME_\":\"UNI_CLICKER\", \"HAS_MIKROBUS\":\"true\"}",
12+
"sdk_config": "{\"_MSDK_BOARD_NAME_\":\"BOARD_TEST\", \"HAS_MIKROBUS\":\"true\"}",
1313
"necto_config": "NULL",
1414
"display": "NO_DISPLAY",
1515
"package_uid": "NULL"
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
{
2+
"board_uid": "BOARD_TEST",
3+
"tables": [
4+
{
5+
"BoardToDevice": {
6+
"device_uid": {
7+
"regexes": {
8+
"like": ["CARD", "SIBRAIN"],
9+
"not_like": ["V7"]
10+
}
11+
}
12+
}
13+
},
14+
{
15+
"BoardToSocket": {
16+
"socket_uid": ["SIBRAIN_SOCKET"]
17+
}
18+
},
19+
{
20+
"SDKToBoard": {
21+
"sdk_uid": "2.11.1+"
22+
}
23+
}
24+
]
25+
}

resources/queries/boards/board_test_1/SDKToBoard.json

Lines changed: 0 additions & 4 deletions
This file was deleted.
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"def_file": "TEST_DEVICE.json",
3+
"family_uid": "TEST_FAMILY",
4+
"flash": 1024,
5+
"icon": "images/mcu_cards/TEST_DEVICE.png",
6+
"max_speed": "216.000",
7+
"name": "TEST_DEVICE_NAME",
8+
"ram": 327680,
9+
"sdk_config": "{\"MCU_NAME\":\"TEST_DEVICE\",\"CORE_NAME\":\"TEST_DEVICE_CORE\",\"_MSDK_HAL_LOW_LEVEL_TARGET_\":\"mikroe\",\"_MSDK_ETH_PHY_CHIP_\":\"&lan8720PhyDriver\",\"_MSDK_MCU_CARD_NAME_\":\"TEST_DEVICE_CARD_NAME\"}",
10+
"necto_config": "NULL",
11+
"uid": "TEST_DEVICE_CARD_NAME",
12+
"vendor": "TEST_DEVICE_VENDOR",
13+
"compiler_flags": "NULL",
14+
"linker_flags": "NULL",
15+
"tft_socket": 1,
16+
"sdk_support": 1,
17+
"installer_package": "NULL"
18+
}

resources/queries/cards/card_test_1/Devices.sql

Lines changed: 0 additions & 19 deletions
This file was deleted.
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
{
2+
"device_uid": "TEST_DEVICE_CARD_NAME",
3+
"tables": [
4+
{
5+
"BoardToDevice": {
6+
"board_uid": "TEST_BOARD_UID"
7+
}
8+
},
9+
{
10+
"CompilerToDevice": {
11+
"compiler_uid": ["mikrocarm", "gcc_arm_none_eabi"]
12+
}
13+
},
14+
{
15+
"DebuggerToDevice": {
16+
"debugger_uid": ["codegrip", "mikroprog_arm"]
17+
}
18+
},
19+
{
20+
"DeviceToPackage": {
21+
"package_uid": ["176/LQFP", "176/UFBGA"]
22+
}
23+
},
24+
{
25+
"DeviceToSocket": {
26+
"socket_uid": ["SIBRAIN_SOCKET"]
27+
}
28+
},
29+
{
30+
"ProgrammerToDevice": {
31+
"programer_uid": ["codegrip", "mikroprog_arm", "gdb_general"]
32+
}
33+
},
34+
{
35+
"SDKToDevice": {
36+
"sdk_uid": "2.11.1+"
37+
}
38+
}
39+
]
40+
}

0 commit comments

Comments
 (0)