How to add custom parameter to hardware board settings?
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
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.
0 Kommentare
Antworten (0)
Siehe auch
Kategorien
Mehr zu Deployment, Integration, and Supported Hardware finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!