How to add custom parameter to hardware board settings?
3 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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 commentaires
Réponses (0)
Voir également
Catégories
En savoir plus sur Deployment, Integration, and Supported Hardware dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!