Skip to content

Commit

Permalink
Merge pull request #143 from MikroElektronika/improvement/usb-schemas…
Browse files Browse the repository at this point in the history
…-stm32l412-22

Added USB schemas for STM32L412/422 MCUs
  • Loading branch information
StrahinjaJacimovic authored Oct 31, 2024
2 parents d0456c4 + eab65fb commit 3b8adf7
Show file tree
Hide file tree
Showing 12 changed files with 2,136 additions and 0 deletions.
178 changes: 178 additions & 0 deletions ARM/gcc_clang/schemas/STM32L412C8/STM32L412C8_USB.schema
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 ARM/gcc_clang/schemas/STM32L412CB/STM32L412CB_USB.schema
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"
}
]
}
}
Loading

0 comments on commit 3b8adf7

Please sign in to comment.