-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #143 from MikroElektronika/improvement/usb-schemas…
…-stm32l412-22 Added USB schemas for STM32L412/422 MCUs
- Loading branch information
Showing
12 changed files
with
2,136 additions
and
0 deletions.
There are no files selected for viewing
178 changes: 178 additions & 0 deletions
178
ARM/gcc_clang/schemas/STM32L412C8/STM32L412C8_USB.schema
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,178 @@ | ||
{ | ||
"compiler_flags": "", | ||
"linker_flags": "", | ||
"def_path": "ARM/gcc-arm-none-eabi/core/def/STM32L412C8.json", | ||
"flash": 131071, | ||
"ram": 49151, | ||
"settings": { | ||
"clock": "80", | ||
"scheme": "STM32L412C8_USB", | ||
"mcu": "STM32L412C8", | ||
"core": "M4EF", | ||
"delay_src_path": "delays/m4ef/__lib_delays.c", | ||
"name": null, | ||
"config_registers": [ | ||
{ | ||
"fields": [ | ||
{ | ||
"key": "MSION", | ||
"value": "00000000" | ||
}, | ||
{ | ||
"key": "MSIPLLEN", | ||
"value": "00000000" | ||
}, | ||
{ | ||
"key": "MSIRGSEL", | ||
"value": "00000000" | ||
}, | ||
{ | ||
"key": "MSIRANGE", | ||
"value": "00000060" | ||
}, | ||
{ | ||
"key": "HSION", | ||
"value": "00000100" | ||
}, | ||
{ | ||
"key": "HSIKERON", | ||
"value": "00000000" | ||
}, | ||
{ | ||
"key": "HSIASFS", | ||
"value": "00000800" | ||
}, | ||
{ | ||
"key": "HSEON", | ||
"value": "00000000" | ||
}, | ||
{ | ||
"key": "HSEBYP", | ||
"value": "00000000" | ||
}, | ||
{ | ||
"key": "CSSON", | ||
"value": "00000000" | ||
}, | ||
{ | ||
"key": "PLLON", | ||
"value": "01000000" | ||
}, | ||
{ | ||
"key": "PLLSAI1ON", | ||
"value": "00000000" | ||
} | ||
], | ||
"key": "RCC_CR" | ||
}, | ||
{ | ||
"fields": [ | ||
{ | ||
"key": "SW", | ||
"value": "00000003" | ||
}, | ||
{ | ||
"key": "HPRE", | ||
"value": "00000000" | ||
}, | ||
{ | ||
"key": "PPRE1", | ||
"value": "00000000" | ||
}, | ||
{ | ||
"key": "PPRE2", | ||
"value": "00000000" | ||
}, | ||
{ | ||
"key": "STOPWUCK", | ||
"value": "00000000" | ||
}, | ||
{ | ||
"key": "MCOSEL", | ||
"value": "00000000" | ||
}, | ||
{ | ||
"key": "MCOPRE", | ||
"value": "00000000" | ||
} | ||
], | ||
"key": "RCC_CFGR" | ||
}, | ||
{ | ||
"fields": [ | ||
{ | ||
"key": "PLLSRC", | ||
"value": "00000002" | ||
}, | ||
{ | ||
"key": "PLLM", | ||
"value": "00000000" | ||
}, | ||
{ | ||
"key": "PLLN", | ||
"value": "00000a00" | ||
}, | ||
{ | ||
"key": "PLLPEN", | ||
"value": "00000000" | ||
}, | ||
{ | ||
"key": "PLLP", | ||
"value": "00000000" | ||
}, | ||
{ | ||
"key": "PLLQEN", | ||
"value": "00000000" | ||
}, | ||
{ | ||
"key": "PLLQ", | ||
"value": "00000000" | ||
}, | ||
{ | ||
"key": "PLLREN", | ||
"value": "01000000" | ||
}, | ||
{ | ||
"key": "PLLR", | ||
"value": "00000000" | ||
} | ||
], | ||
"key": "RCC_PLLCFGR" | ||
}, | ||
{ | ||
"fields": [ | ||
{ | ||
"key": "LSION", | ||
"value": "00000000" | ||
}, | ||
{ | ||
"key": "MSISRANGE", | ||
"value": "00000600" | ||
} | ||
], | ||
"key": "RCC_CSR" | ||
}, | ||
{ | ||
"fields": { | ||
"key": "VCORE", | ||
"value": "00000200" | ||
}, | ||
"key": "PWR_CR1" | ||
}, | ||
{ | ||
"fields": { | ||
"key": "HSI48ON", | ||
"value": "00000001" | ||
}, | ||
"key": "RCC_CRRCR" | ||
}, | ||
{ | ||
"fields": { | ||
"key": "CLK48SEL", | ||
"value": "00000000" | ||
}, | ||
"key": "RCC_CCIPR" | ||
} | ||
] | ||
} | ||
} |
178 changes: 178 additions & 0 deletions
178
ARM/gcc_clang/schemas/STM32L412CB/STM32L412CB_USB.schema
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,178 @@ | ||
{ | ||
"compiler_flags": "", | ||
"linker_flags": "", | ||
"def_path": "ARM/gcc-arm-none-eabi/core/def/STM32L412CB.json", | ||
"flash": 131071, | ||
"ram": 49151, | ||
"settings": { | ||
"clock": "80", | ||
"scheme": "STM32L412CB_USB", | ||
"mcu": "STM32L412CB", | ||
"core": "M4EF", | ||
"delay_src_path": "delays/m4ef/__lib_delays.c", | ||
"name": null, | ||
"config_registers": [ | ||
{ | ||
"fields": [ | ||
{ | ||
"key": "MSION", | ||
"value": "00000000" | ||
}, | ||
{ | ||
"key": "MSIPLLEN", | ||
"value": "00000000" | ||
}, | ||
{ | ||
"key": "MSIRGSEL", | ||
"value": "00000000" | ||
}, | ||
{ | ||
"key": "MSIRANGE", | ||
"value": "00000060" | ||
}, | ||
{ | ||
"key": "HSION", | ||
"value": "00000100" | ||
}, | ||
{ | ||
"key": "HSIKERON", | ||
"value": "00000000" | ||
}, | ||
{ | ||
"key": "HSIASFS", | ||
"value": "00000800" | ||
}, | ||
{ | ||
"key": "HSEON", | ||
"value": "00000000" | ||
}, | ||
{ | ||
"key": "HSEBYP", | ||
"value": "00000000" | ||
}, | ||
{ | ||
"key": "CSSON", | ||
"value": "00000000" | ||
}, | ||
{ | ||
"key": "PLLON", | ||
"value": "01000000" | ||
}, | ||
{ | ||
"key": "PLLSAI1ON", | ||
"value": "00000000" | ||
} | ||
], | ||
"key": "RCC_CR" | ||
}, | ||
{ | ||
"fields": [ | ||
{ | ||
"key": "SW", | ||
"value": "00000003" | ||
}, | ||
{ | ||
"key": "HPRE", | ||
"value": "00000000" | ||
}, | ||
{ | ||
"key": "PPRE1", | ||
"value": "00000000" | ||
}, | ||
{ | ||
"key": "PPRE2", | ||
"value": "00000000" | ||
}, | ||
{ | ||
"key": "STOPWUCK", | ||
"value": "00000000" | ||
}, | ||
{ | ||
"key": "MCOSEL", | ||
"value": "00000000" | ||
}, | ||
{ | ||
"key": "MCOPRE", | ||
"value": "00000000" | ||
} | ||
], | ||
"key": "RCC_CFGR" | ||
}, | ||
{ | ||
"fields": [ | ||
{ | ||
"key": "PLLSRC", | ||
"value": "00000002" | ||
}, | ||
{ | ||
"key": "PLLM", | ||
"value": "00000000" | ||
}, | ||
{ | ||
"key": "PLLN", | ||
"value": "00000a00" | ||
}, | ||
{ | ||
"key": "PLLPEN", | ||
"value": "00000000" | ||
}, | ||
{ | ||
"key": "PLLP", | ||
"value": "00000000" | ||
}, | ||
{ | ||
"key": "PLLQEN", | ||
"value": "00000000" | ||
}, | ||
{ | ||
"key": "PLLQ", | ||
"value": "00000000" | ||
}, | ||
{ | ||
"key": "PLLREN", | ||
"value": "01000000" | ||
}, | ||
{ | ||
"key": "PLLR", | ||
"value": "00000000" | ||
} | ||
], | ||
"key": "RCC_PLLCFGR" | ||
}, | ||
{ | ||
"fields": [ | ||
{ | ||
"key": "LSION", | ||
"value": "00000000" | ||
}, | ||
{ | ||
"key": "MSISRANGE", | ||
"value": "00000600" | ||
} | ||
], | ||
"key": "RCC_CSR" | ||
}, | ||
{ | ||
"fields": { | ||
"key": "VCORE", | ||
"value": "00000200" | ||
}, | ||
"key": "PWR_CR1" | ||
}, | ||
{ | ||
"fields": { | ||
"key": "HSI48ON", | ||
"value": "00000001" | ||
}, | ||
"key": "RCC_CRRCR" | ||
}, | ||
{ | ||
"fields": { | ||
"key": "CLK48SEL", | ||
"value": "00000000" | ||
}, | ||
"key": "RCC_CCIPR" | ||
} | ||
] | ||
} | ||
} |
Oops, something went wrong.