Update repo
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
% var moduleName = "mcbsp"
|
||||
% var module = system.modules['/driverlib/' + moduleName + '.js'];
|
||||
%if (module != null)
|
||||
%{
|
||||
//*****************************************************************************
|
||||
//
|
||||
// MCBSP Configurations
|
||||
//
|
||||
//*****************************************************************************
|
||||
% for(var i = 0; i < module.$instances.length; i++) {
|
||||
% var instance = module.$instances[i];
|
||||
% let modInst = instance[moduleName];
|
||||
% let solution = modInst.$solution;
|
||||
%let peripheral = system.deviceData.peripherals[solution.peripheralName];
|
||||
#define `instance.$name`_BASE `peripheral.name`_BASE
|
||||
void `instance.$name`_init();
|
||||
% }
|
||||
%}
|
||||
Reference in New Issue
Block a user