How to add custom parameter to hardware board settings?

2 visualizaciones (últimos 30 días)
Victor Kulikov
Victor Kulikov el 17 de Dic. de 2020
Editada: Victor Kulikov el 18 de Dic. de 2020
Hello!
I'm learning to create custom targets.
Approach described here looks very promising for me, but as far as I don't have any idea about reference target to start with, I have started from scratch:
tgtFolder = 'c:/project/myTarget';
tgt = createTarget('myTarget', tgtFolder);
hw = createHardware('myHw');
map(tgt,hw,'myHw');
show(tgt);
saveTarget(tgt);
At this point my target hardware resources looks like this:
However CPU Clock have no sence to my particular target, and I want to remove Clocking group at all and replace it with my own groups and parameters.
How can I achieve this?
Also I want somehow to access desired parameters from
loader.LoadCommand = 'matlab:myHook';
hook.
Please advice something.
EDIT:
Probably this is not possible to fully control target hardware resources appearance via that interface as it was designed for particular processors and not flexible enough, so I got down to manual editing xml files and now I'm able to make my own parameters and groups there.
However I still need to figure out how to pass hCS and buildInfo to my loader.LoadCommand.

Respuestas (0)

Categorías

Más información sobre Deployment, Integration, and Supported Hardware en Help Center y File Exchange.

Etiquetas

Productos


Versión

R2020b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by