// chip content
NUTOOL_PER.g_cfg_chips = [
    //M251
    { name: "M251FB2AE", pkg: "TSSOP20", type: "M252_C" },
    { name: "M251FC2AE", pkg: "TSSOP20", type: "M252_C" },
    { name: "M251EB2AE", pkg: "TSSOP28", type: "M252_C" },
    { name: "M251EC2AE", pkg: "TSSOP28", type: "M252_C" },
    { name: "M251ZB2AE", pkg: "QFN33",   type: "M252_C" },
    { name: "M251ZC2AE", pkg: "QFN33",   type: "M252_C" },
    { name: "M251ZD2AE", pkg: "QFN33",   type: "M252_D" },
    { name: "M251LC2AE", pkg: "LQFP48",  type: "M252_D" },
    { name: "M251LD2AE", pkg: "LQFP48",  type: "M252_D" },
    { name: "M251LE3AE", pkg: "LQFP48",  type: "M252_E" },
    { name: "M251LG6AE", pkg: "LQFP48",  type: "M252_G" },
    { name: "M251SC2AE", pkg: "LQFP64",  type: "M252_D" },
    { name: "M251SD2AE", pkg: "LQFP64",  type: "M252_D" },
    { name: "M251SE3AE", pkg: "LQFP64",  type: "M252_E" },
    { name: "M251SG6AE", pkg: "LQFP64",  type: "M252_G" },
    { name: "M251KE3AE", pkg: "LQFP128", type: "M252_E" },
    { name: "M251KG6AE", pkg: "LQFP128", type: "M252_G" },

    //M252
    { name: "M252FC2AE", pkg: "TSSOP20", type: "M252_C" },
    { name: "M252EC2AE", pkg: "TSSOP28", type: "M252_C" },
    { name: "M252ZC2AE", pkg: "QFN33",   type: "M252_C" },
    { name: "M252ZD2AE", pkg: "QFN33",   type: "M252_D" },
    { name: "M252LC2AE", pkg: "LQFP48",  type: "M252_D" },
    { name: "M252LD2AE", pkg: "LQFP48",  type: "M252_D" },
    { name: "M252LE3AE", pkg: "LQFP48",  type: "M252_E" },
    { name: "M252LG6AE", pkg: "LQFP48",  type: "M252_G" },
    { name: "M252SC2AE", pkg: "LQFP64",  type: "M252_D" },
    { name: "M252SD2AE", pkg: "LQFP64",  type: "M252_D" },
    { name: "M252SE3AE", pkg: "LQFP64",  type: "M252_E" },
    { name: "M252SG6AE", pkg: "LQFP64",  type: "M252_G" },
    { name: "M252KE3AE", pkg: "LQFP128", type: "M252_E" },
    { name: "M252KG6AE", pkg: "LQFP128", type: "M252_G" },

    //M258_E
    //{ name: "M254SD3AE", pkg: "LQFP64",  type: "M254_E" },
    { name: "M254SE3AE", pkg: "LQFP64",  type: "M254_E" },
    //{ name: "M254QD3AE", pkg: "LQFP80",  type: "M254_E" },
    { name: "M254QE3AE", pkg: "LQFP80",  type: "M254_E" },
    //{ name: "M254KD3AE", pkg: "LQFP128", type: "M254_E" },
    { name: "M254KE3AE", pkg: "LQFP128", type: "M254_E" },
    //{ name: "M254ME3AE", pkg: "LQFP44",  type: "M254_E" },
    //{ name: "M256SD3AE", pkg: "LQFP64",  type: "M256_E" },
    { name: "M256SE3AE", pkg: "LQFP64",  type: "M256_E" },
    //{ name: "M256QD3AE", pkg: "LQFP80",  type: "M256_E" },
    { name: "M256QE3AE", pkg: "LQFP80",  type: "M256_E" },
    //{ name: "M256KD3AE", pkg: "LQFP128", type: "M256_E" },
    { name: "M256KE3AE", pkg: "LQFP128", type: "M256_E" },
    //{ name: "M258SD3AE", pkg: "LQFP64",  type: "M258_E" },
    { name: "M258SE3AE", pkg: "LQFP64",  type: "M258_E" },
    //{ name: "M258QD3AE", pkg: "LQFP80",  type: "M258_E" },
    { name: "M258QE3AE", pkg: "LQFP80",  type: "M258_E" },
    //{ name: "M258KD3AE", pkg: "LQFP128", type: "M258_E" },
    { name: "M258KE3AE", pkg: "LQFP128", type: "M258_E" },
    
    //M256_D
    { name: "M254SD2AE", pkg: "LQFP64",  type: "M254_D" },
    { name: "M254MD2AE", pkg: "LQFP44",  type: "M254_D" },
    { name: "M256SD2AE", pkg: "LQFP64",  type: "M256_D" },
    { name: "M256MD2AE", pkg: "LQFP44",  type: "M256_D" },

    //M258_G
    { name: "M254KG6AE", pkg: "LQFP128", type: "M254_G" },
    { name: "M254SG6AE", pkg: "LQFP64",  type: "M254_G" },
    { name: "M258KG6AE", pkg: "LQFP128", type: "M258_G" },
    { name: "M258QG6AE", pkg: "LQFP80",  type: "M258_G" },
    { name: "M256QG6AE", pkg: "LQFP80",  type: "M256_G" },
    { name: "M258SG6AE", pkg: "LQFP64",  type: "M258_G" }

];

NUTOOL_PER.g_cfg_unusedPerFunctions = {
    //M251/2
    "M252_G":{"SUBSTRING":["DAC1","LCD","TK","UART3","CRYPTO"]},
    "M252_E":{"SUBSTRING":["DAC0","DAC1","OPA","LCD","TK","UART3","CRYPTO"]},
    "M252_D":{"SUBSTRING":["DAC0","DAC1","OPA","PDMA_CH5","PDMA_CH6","PDMA_CH7","EBI","GPIO_PE","USCI2_I2C","USCI2_UART","USCI2_SPI","LCD","TK","UART3","CRYPTO"]},
    "M252_C":{"SUBSTRING":["DAC0","DAC1","OPA","ACMP","UART2","PDMA_CH5","PDMA_CH6","PDMA_CH7","PSIO","BPWM0","BPWM1","SPII2S","EBI","GPIO_PD","GPIO_PE","USCI1_I2C","USCI2_I2C","USCI1_UART","USCI1_SPI","USCI2_UART","USCI2_SPI","LCD","TK","UART3","CRYPTO"]},

    //M254/6/8_E
    "M254_E":{"SUBSTRING":["DAC0","DAC1","OPA","TK","USB","PWM0","PWM1","BPWM1","QSPI","PSIO","EBI","USCI1_I2C","USCI1_UART","USCI1_SPI","USCI2_I2C","USCI2_UART","USCI2_SPI","SPII2S1","I2C1","PDMA_CH5","PDMA_CH6","PDMA_CH7","UART3","CRYPTO"]},
    "M256_E":{"SUBSTRING":["DAC0","DAC1","OPA","USB","PWM0","PWM1","BPWM1","QSPI","PSIO","EBI","USCI1_I2C","USCI1_UART","USCI1_SPI","USCI2_I2C","USCI2_UART","USCI2_SPI","SPII2S1","I2C1","PDMA_CH5","PDMA_CH6","PDMA_CH7","UART3","CRYPTO"]},
    "M258_E":{"SUBSTRING":["DAC0","DAC1","OPA","PWM0","PWM1","BPWM1","QSPI","PSIO","EBI","USCI1_I2C","USCI1_UART","USCI1_SPI","USCI2_I2C","USCI2_UART","USCI2_SPI","SPII2S1","I2C1","PDMA_CH5","PDMA_CH6","PDMA_CH7","UART3","CRYPTO"]},

    //M256_D
    "M254_D":{"SUBSTRING":["DAC0","DAC1","OPA","TK","USB","PWM0","PWM1","QSPI","PSIO","EBI","USCI1_I2C","USCI1_UART","USCI1_SPI","USCI2_I2C","USCI2_UART","USCI2_SPI","SPII2S1","I2C1","PDMA_CH5","PDMA_CH6","PDMA_CH7","UART3","CRYPTO"]},
    "M256_D":{"SUBSTRING":["DAC0","DAC1","OPA","USB","PWM0","PWM1","QSPI","PSIO","EBI","USCI1_I2C","USCI1_UART","USCI1_SPI","USCI2_I2C","USCI2_UART","USCI2_SPI","SPII2S1","I2C1","PDMA_CH5","PDMA_CH6","PDMA_CH7","UART3","CRYPTO"]},

    //M258_G
    "M254_G":{"SUBSTRING":["OPA","TK","PWM0","PWM1","QSPI","PSIO","EBI","USCI2_I2C","USCI2_UART","USCI2_SPI"]},
    "M256_G":{"SUBSTRING":["OPA","USB","PWM0","PWM1","QSPI","PSIO","EBI","USCI2_I2C","USCI2_UART","USCI2_SPI"]},
    "M258_G":{"SUBSTRING":["OPA","PWM0","PWM1","QSPI","PSIO","EBI","USCI2_I2C","USCI2_UART","USCI2_SPI"]},

    "M251FB2AE": {"SUBSTRING": ["USBD"]},
    "M251FC2AE": {"SUBSTRING": ["USBD"]},
    "M251EB2AE": {"SUBSTRING": ["USBD"]},
    "M251EC2AE": {"SUBSTRING": ["USBD"]},
    "M251ZB2AE": {"SUBSTRING": ["USBD"]},
    "M251ZC2AE": {"SUBSTRING": ["USBD"]},
    "M251ZD2AE": {"SUBSTRING": ["USBD"]},
    "M251LC2AE": {"SUBSTRING": ["USBD"]},
    "M251LD2AE": {"SUBSTRING": ["USBD"]},
    "M251LE3AE": {"SUBSTRING": ["USBD"]},
    "M251LG6AE": {"SUBSTRING": ["USBD"]},
    "M251SC2AE": {"SUBSTRING": ["USBD"]},
    "M251SD2AE": {"SUBSTRING": ["USBD"]},
    "M251SE3AE": {"SUBSTRING": ["USBD"]},
    "M251SG6AE": {"SUBSTRING": ["USBD"]},
    "M251KE3AE": {"SUBSTRING": ["USBD"]},
    "M251KG6AE": {"SUBSTRING": ["USBD"]},
}

NUTOOL_PER.g_cfg_downloadBSP = {
    repository: "M251BSP",
    commitID: {
        "V0.41.0006": "4d11ee0cda6856435996053ed24ecbb836bf7037"
    }
}

// relative to the location of the directory containing tags
NUTOOL_PER.g_cfg_projectLoaction = "\\NuCodeGenProj";
NUTOOL_PER.g_cfg_thidrPartyLibLoaction = "";
NUTOOL_PER.g_cfg_thirdPartyLibs = [];
NUTOOL_PER.g_cfg_perFuncMutex = ["USCI0", "USCI1", "USCI2"];
// if you want to dynamically load .txt files, keep this array empty.
NUTOOL_PER.g_cfg_perFunctions = [
'ACMP.txt',
'BPWM0.txt',
'BPWM1.txt',
'CLK.txt',
'CRC.txt',
'CRYPTO.txt',
'DAC0.txt',
'DAC1.txt',
'EADC.txt',
'EBI_BANK0.txt',
'EBI_BANK1.txt',
'EBI_BANK2.txt',
'FMC.txt',
'GPIO_DB.txt',
'GPIO_PA.txt',
'GPIO_PB.txt',
'GPIO_PC.txt',
'GPIO_PD.txt',
'GPIO_PE.txt',
'GPIO_PF.txt',
'I2C0.txt',
'I2C1.txt',
'LCD.txt',
'OPA.txt',
'PDMA_CH0.txt',
'PDMA_CH1.txt',
'PDMA_CH2.txt',
'PDMA_CH3.txt',
'PDMA_CH4.txt',
'PDMA_CH5.txt',
'PDMA_CH6.txt',
'PDMA_CH7.txt',
'PSIO.txt',
'PWM0_CH0CH1.txt',
'PWM0_CH2CH3.txt',
'PWM0_CH4CH5.txt',
'PWM1_CH0CH1.txt',
'PWM1_CH2CH3.txt',
'PWM1_CH4CH5.txt',
'QSPI.txt',
'RTC.txt',
'SC0.txt',
'SPII2S0.txt',
'SPII2S1.txt',
'SYS.txt',
'TK.txt',
'TIMER0.txt',
'TIMER1.txt',
'TIMER2.txt',
'TIMER3.txt',
'UART0.txt',
'UART1.txt',
'UART2.txt',
'UART3.txt',
'USBD.txt',
'USCI0_I2C.txt',
'USCI0_SPI.txt',
'USCI0_UART.txt',
'USCI1_I2C.txt',
'USCI1_SPI.txt',
'USCI1_UART.txt',
'USCI2_I2C.txt',
'USCI2_SPI.txt',
'USCI2_UART.txt',
'WDT.txt',
'WWDT.txt'
];
