Skip to content

Commit

Permalink
Update test files
Browse files Browse the repository at this point in the history
  • Loading branch information
StrahinjaJacimovic committed Aug 23, 2024
1 parent de66f06 commit d57f84e
Show file tree
Hide file tree
Showing 8 changed files with 87 additions and 42 deletions.
9 changes: 0 additions & 9 deletions resources/queries/boards/board_test_1/BoardToDevice.json

This file was deleted.

6 changes: 0 additions & 6 deletions resources/queries/boards/board_test_1/BoardToSocket.json

This file was deleted.

8 changes: 4 additions & 4 deletions resources/queries/boards/board_test_1/Boards.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
{
"uid": "UNI_CLICKER",
"name": "UNI Clicker",
"icon": "images/boards/clicker-uni.png",
"uid": "BOARD_TEST",
"name": "TEST BOARD",
"icon": "images/boards/board-generic.png",
"default_device": "NULL",
"soldered_device": "NULL",
"category": "Supporting tools",
"mikrobus_count": 4,
"sort_order": 8,
"min_pin_count": 0,
"display_socket": "NO_DISPLAY",
"sdk_config": "{\"_MSDK_BOARD_NAME_\":\"UNI_CLICKER\", \"HAS_MIKROBUS\":\"true\"}",
"sdk_config": "{\"_MSDK_BOARD_NAME_\":\"BOARD_TEST\", \"HAS_MIKROBUS\":\"true\"}",
"necto_config": "NULL",
"display": "NO_DISPLAY",
"package_uid": "NULL"
Expand Down
25 changes: 25 additions & 0 deletions resources/queries/boards/board_test_1/LinkerTables.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"board_uid": "BOARD_TEST",
"tables": [
{
"BoardToDevice": {
"device_uid": {
"regexes": {
"like": ["CARD", "SIBRAIN"],
"not_like": ["V7"]
}
}
}
},
{
"BoardToSocket": {
"socket_uid": ["SIBRAIN_SOCKET"]
}
},
{
"SDKToBoard": {
"sdk_uid": "2.11.1+"
}
}
]
}
4 changes: 0 additions & 4 deletions resources/queries/boards/board_test_1/SDKToBoard.json

This file was deleted.

18 changes: 18 additions & 0 deletions resources/queries/cards/card_test_1/Devices.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"def_file": "TEST_DEVICE.json",
"family_uid": "TEST_FAMILY",
"flash": 1024,
"icon": "images/mcu_cards/TEST_DEVICE.png",
"max_speed": "216.000",
"name": "TEST_DEVICE_NAME",
"ram": 327680,
"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\"}",
"necto_config": "NULL",
"uid": "TEST_DEVICE_CARD_NAME",
"vendor": "TEST_DEVICE_VENDOR",
"compiler_flags": "NULL",
"linker_flags": "NULL",
"tft_socket": 1,
"sdk_support": 1,
"installer_package": "NULL"
}
19 changes: 0 additions & 19 deletions resources/queries/cards/card_test_1/Devices.sql

This file was deleted.

40 changes: 40 additions & 0 deletions resources/queries/cards/card_test_1/LinkerTables.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
{
"device_uid": "TEST_DEVICE_CARD_NAME",
"tables": [
{
"BoardToDevice": {
"board_uid": "TEST_BOARD_UID"
}
},
{
"CompilerToDevice": {
"compiler_uid": ["mikrocarm", "gcc_arm_none_eabi"]
}
},
{
"DebuggerToDevice": {
"debugger_uid": ["codegrip", "mikroprog_arm"]
}
},
{
"DeviceToPackage": {
"package_uid": ["176/LQFP", "176/UFBGA"]
}
},
{
"DeviceToSocket": {
"socket_uid": ["SIBRAIN_SOCKET"]
}
},
{
"ProgrammerToDevice": {
"programer_uid": ["codegrip", "mikroprog_arm", "gdb_general"]
}
},
{
"SDKToDevice": {
"sdk_uid": "2.11.1+"
}
}
]
}

0 comments on commit d57f84e

Please sign in to comment.