Open-CMSIS-Pack / devtools

Open-CMSIS-Pack development tools - C++
Apache License 2.0
74 stars 55 forks source link

Improve "error csolution: compiler: value not set" #1569

Closed ReinhardKeil closed 3 months ago

ReinhardKeil commented 3 months ago

The Problem To Be Solved

Toolchain can be specified using the option --toolchain or compiler: node.

(Optional): Suggest A Solution Therefore Change: error csolution: compiler: value not set To: error csolution: compiler undefined, use --toolchain option or add compiler: value to yml input

jkrech commented 3 months ago

using csolution nightly 2024-0624:

cbuild Hello.csolution.yml 
error csolution: processing context 'Hello.Debug+AVH' failed
error csolution: processing context 'Hello.Release+AVH' failed
error csolution: compiler undefined, use '--toolchain' option or add 'compiler: <value>' to yml input
error cbuild: exit status 1