Hi all,
I am currently working on adding a new board to the SDK generator. I was working on an old branch, and after I rebase my branch with the "release/2.5.0_rel9_rfp" the generator stopped working. The behavior was the following :
Start generating examples.
generate project: [release debug] [rapidiotk64f_hello_world] [C:/Repos/mcu-sdk-2.0/boards/${board}/demo_apps/hello_world/iar/rapidiotk64f_hello_world.ewp]
generate project: [release debug] [rapidiotk64f_hello_world] [C:/Repos/mcu-sdk-2.0/boards/${board}/demo_apps/hello_world/mdk/rapidiotk64f_hello_world.uvprojx]
.
.
.
106:0: ERROR: Element 'example', attribute 'path': [facet 'pattern'] The value 'boards/${board}/demo_apps/hello_world' is not accepted by the pattern '([$a-zA-Z_\-\s0-9\.\|\(\)']+/?)+'.
106:0: ERROR: Element 'example', attribute 'path': 'boards/${board}/demo_apps/hello_world' is not a valid value of the local atomic type.
As you can see the scrip didn't parse the ${board} expression and created the "${board}" board. After some digging I found that in other working boards in the "mcu-sdk-2.0\bin\generator\records_v1\projects\frdmk64f\sdk.yml" file the "- bin/generator/records_v1/msdk/projects/lib_example/lib_sdk/MK64F12.yml" line was commented out. After I commented this line for my board it worked.
Why do we need to comment that line ?
Thank you,
Razvan.
Razvan,
we do not know the answer, this should be answered by @Holt Sun. It seems it is not blocking so lets wait when he is back from holidays.
Marek