Skip to content

Commit d3f0569

Browse files
Merge pull request #722 from MikroElektronika/update/templates-update
Updated Project Template for mikroSDK for NECTO release
2 parents 23ecaea + 9a01d2d commit d3f0569

4 files changed

Lines changed: 15 additions & 17 deletions

File tree

scripts/package.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -462,7 +462,7 @@ def package_card_files(repo_root, files_root_dir, path_list, sdk_version):
462462

463463
return archive_list
464464

465-
def package_templates_files(templates_root_path, path_list, necto_version, assets, metadata_content, lvgl_version):
465+
def package_templates_files(templates_root_path, path_list, necto_version, metadata_content):
466466
for folder in path_list:
467467
folder_path = os.path.join(templates_root_path, folder)
468468
archive_folder_name = f'templates_{necto_version}_{folder.replace('project_templates/', '')}.7z'
@@ -618,9 +618,7 @@ def str2bool(v):
618618
os.path.join(repo_dir, f'templates/necto/{necto_version}'),
619619
templates_folders,
620620
necto_version,
621-
assets,
622-
metadata_content,
623-
lvgl_version
621+
metadata_content
624622
)
625623

626624
if os.path.exists(os.path.join(repo_dir, 'resources/queries')) and not args.templates_update:

templates/necto/dev/project_templates/0_mikrosdk2/template.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "Standard project",
3-
"type": "mikrosdk",
3+
"type": "standard",
44
"language": "C",
55
"description": "Create a standard project in C language. Suitable for most common development.",
66
"project_file": "CMakeLists.txt",
Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
{
2-
"name": "Standard project",
3-
"type": "mikrosdk",
4-
"language": "C",
5-
"description": "Create a standard project in C language. Suitable for most common development.",
6-
"project_file": "CMakeLists.txt",
7-
"open_in_editor": ["main.c"],
8-
"icon": "fa-code",
9-
"files": ["CMakeLists.txt", "main.c"],
10-
"files_included": "**CMakeLists.txt:** Configuration file to build your project.\n**main.c:** Source file with empty main function.",
11-
"outputs": "**.hex:** Hexadecimal binary for MCU flashing.\n**.bin:** Raw binary for various deployment options.",
12-
"requirements": "No specific requirements."
2+
"name": "Standard project",
3+
"type": "standard",
4+
"language": "C",
5+
"description": "Create a standard project in C language. Suitable for most common development.",
6+
"project_file": "CMakeLists.txt",
7+
"open_in_editor": ["main.c"],
8+
"icon": "fa-code",
9+
"files": ["CMakeLists.txt", "main.c"],
10+
"files_included": "**CMakeLists.txt:** Configuration file to build your project.\n**main.c:** Source file with empty main function.",
11+
"outputs": "**.hex:** Hexadecimal binary for MCU flashing.\n**.bin:** Raw binary for various deployment options.",
12+
"requirements": "No specific requirements."
1313
}

templates/necto/live/project_templates/0_mikrosdk2/template.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "Standard project",
3-
"type": "mikrosdk",
3+
"type": "standard",
44
"language": "C",
55
"description": "Create a standard project in C language. Suitable for most common development.",
66
"project_file": "CMakeLists.txt",

0 commit comments

Comments
 (0)