Skip to content

Commit d4bbec4

Browse files
authored
Merge pull request #120 from kshitij-sisodia-arm/feature/mleco-4001
MLECO-4001: Update cmsis-pack-example to use toolbox v1.5.0
2 parents 890ea8b + 27567fa commit d4bbec4

File tree

10 files changed

+49
-37
lines changed

10 files changed

+49
-37
lines changed

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,4 +113,6 @@ packlist.txt
113113
*.cprj
114114
RTE/
115115
out/
116-
tmp/
116+
tmp/
117+
*.cbuild.yml
118+
*.cbuild-idx.yml

cmsis-pack-examples/.cdefault.yml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
# SPDX-FileCopyrightText: Copyright 2023 Arm Limited and/or its
2+
# affiliates <[email protected]>
3+
# SPDX-License-Identifier: Apache-2.0
4+
#
5+
# Licensed under the Apache License, Version 2.0 (the "License");
6+
# you may not use this file except in compliance with the License.
7+
# You may obtain a copy of the License at
8+
#
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
# Unless required by applicable law or agreed to in writing, software
12+
# distributed under the License is distributed on an "AS IS" BASIS,
13+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
# See the License for the specific language governing permissions and
15+
# limitations under the License.
16+
17+
# yaml-language-server: $schema=https://raw.githubusercontent.com/Open-CMSIS-Pack/devtools/schemas/projmgr/1.5.0/tools/projmgr/schemas/cdefault.schema.json
18+
19+
default:
20+
# Note that we need [email protected] or higher to compile for Corstone-310 target.
21+
compiler: AC6
22+
23+
misc:
24+
- for-compiler: AC6
25+
CPP:
26+
- -std=c++14 -fno-exceptions -Wno-license-management -fno-rtti
27+
C:
28+
- -std=c99 -Wno-license-management
29+
Link:
30+
- --entry=Reset_Handler
31+
- --verbose
32+
- --callgraph_file='callgraph'
33+
- --map
34+
- --info=sizes,totals,unused,compression,inline,summarysizes
35+
- --list='diagnostics.map'
36+
- --diag_suppress=L6439W,L6314W,L9931W

cmsis-pack-examples/common/common.clayer.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
# See the License for the specific language governing permissions and
1515
# limitations under the License.
1616

17-
# yaml-language-server: $schema=https://raw.githubusercontent.com/Open-CMSIS-Pack/devtools/schemas/projmgr/1.2.0/tools/projmgr/schemas/clayer.schema.json
17+
# yaml-language-server: $schema=https://raw.githubusercontent.com/Open-CMSIS-Pack/devtools/schemas/projmgr/1.5.0/tools/projmgr/schemas/clayer.schema.json
1818

1919
layer:
2020

cmsis-pack-examples/device/alif-ensemble/alif-ensemble-E7-device.clayer.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
# See the License for the specific language governing permissions and
1515
# limitations under the License.
1616

17-
# yaml-language-server: $schema=https://raw.githubusercontent.com/Open-CMSIS-Pack/devtools/schemas/projmgr/1.2.0/tools/projmgr/schemas/clayer.schema.json
17+
# yaml-language-server: $schema=https://raw.githubusercontent.com/Open-CMSIS-Pack/devtools/schemas/projmgr/1.5.0/tools/projmgr/schemas/clayer.schema.json
1818

1919
layer:
2020
description: Alif Ensemble E7 ML islands' CPU device layer (High-Performance and High-Efficiency Arm Cortex-M55 CPUs).

cmsis-pack-examples/device/corstone/corstone-device.clayer.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
# See the License for the specific language governing permissions and
1515
# limitations under the License.
1616

17-
# yaml-language-server: $schema=https://raw.githubusercontent.com/Open-CMSIS-Pack/devtools/schemas/projmgr/1.2.0/tools/projmgr/schemas/clayer.schema.json
17+
# yaml-language-server: $schema=https://raw.githubusercontent.com/Open-CMSIS-Pack/devtools/schemas/projmgr/1.5.0/tools/projmgr/schemas/clayer.schema.json
1818

1919
layer:
2020

cmsis-pack-examples/device/frdm-k64f/frdm-k64f-device.clayer.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
# See the License for the specific language governing permissions and
1515
# limitations under the License.
1616

17-
# yaml-language-server: $schema=https://raw.githubusercontent.com/Open-CMSIS-Pack/devtools/schemas/projmgr/1.2.0/tools/projmgr/schemas/clayer.schema.json
17+
# yaml-language-server: $schema=https://raw.githubusercontent.com/Open-CMSIS-Pack/devtools/schemas/projmgr/1.5.0/tools/projmgr/schemas/clayer.schema.json
1818

1919
layer:
2020

@@ -31,10 +31,6 @@ layer:
3131
- file: include/uart_stdout.h
3232
- file: include/BoardInit.hpp
3333

34-
misc:
35-
- ASM:
36-
- -masm=gnu
37-
3834
components:
3935
- component: NXP::Device:CMSIS:MK64F12_header
4036
- component: NXP::Device:CMSIS:MK64F12_system

cmsis-pack-examples/device/stm32f746-discovery/stm32f746-discovery-device.clayer.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
# See the License for the specific language governing permissions and
1515
# limitations under the License.
1616

17-
# yaml-language-server: $schema=https://raw.githubusercontent.com/Open-CMSIS-Pack/devtools/schemas/projmgr/1.2.0/tools/projmgr/schemas/clayer.schema.json
17+
# yaml-language-server: $schema=https://raw.githubusercontent.com/Open-CMSIS-Pack/devtools/schemas/projmgr/1.5.0/tools/projmgr/schemas/clayer.schema.json
1818

1919
layer:
2020

cmsis-pack-examples/kws/kws.cproject.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
# See the License for the specific language governing permissions and
1515
# limitations under the License.
1616

17-
# yaml-language-server: $schema=https://raw.githubusercontent.com/Open-CMSIS-Pack/devtools/schemas/projmgr/1.2.0/tools/projmgr/schemas/cproject.schema.json
17+
# yaml-language-server: $schema=https://raw.githubusercontent.com/Open-CMSIS-Pack/devtools/schemas/projmgr/1.5.0/tools/projmgr/schemas/cproject.schema.json
1818

1919
project:
2020

cmsis-pack-examples/mlek.csolution.yml

Lines changed: 3 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -14,27 +14,10 @@
1414
# See the License for the specific language governing permissions and
1515
# limitations under the License.
1616

17-
# yaml-language-server: $schema=https://raw.githubusercontent.com/Open-CMSIS-Pack/devtools/schemas/projmgr/1.2.0/tools/projmgr/schemas/csolution.schema.json
17+
# yaml-language-server: $schema=https://raw.githubusercontent.com/Open-CMSIS-Pack/devtools/schemas/projmgr/1.5.0/tools/projmgr/schemas/csolution.schema.json
1818

1919
solution:
2020

21-
# Note that we need [email protected] or higher to compile for Corstone-310 target.
22-
compiler: AC6
23-
24-
misc:
25-
- CPP:
26-
- -std=c++14 -fno-exceptions -Wno-license-management -fno-rtti
27-
- C:
28-
- -std=c99 -Wno-license-management
29-
- Link:
30-
- --entry=Reset_Handler
31-
- --verbose
32-
- --callgraph_file='callgraph'
33-
- --map
34-
- --info=sizes,totals,unused,compression,inline,summarysizes
35-
- --list='diagnostics.map'
36-
- --diag_suppress=L6439W,L6314W,L9931W
37-
3821
packs:
3922
- pack: ARM::[email protected]
4023
- pack: Arm::[email protected]
@@ -56,17 +39,12 @@ solution:
5639
- type: Debug
5740
compiler: AC6
5841
debug: on
59-
misc:
60-
- C*:
61-
- -O0
62-
- -g
42+
optimize: none
6343

6444
- type: Release
6545
compiler: AC6
6646
debug: off
67-
misc:
68-
- C*:
69-
- -Ofast
47+
optimize: speed
7048

7149
target-types:
7250
- type: AVH-SSE-300-U55

cmsis-pack-examples/object-detection/object-detection.cproject.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
# See the License for the specific language governing permissions and
1515
# limitations under the License.
1616

17-
# yaml-language-server: $schema=https://raw.githubusercontent.com/Open-CMSIS-Pack/devtools/schemas/projmgr/1.2.0/tools/projmgr/schemas/cproject.schema.json
17+
# yaml-language-server: $schema=https://raw.githubusercontent.com/Open-CMSIS-Pack/devtools/schemas/projmgr/1.5.0/tools/projmgr/schemas/cproject.schema.json
1818

1919
project:
2020

0 commit comments

Comments
 (0)