Skip to content

Commit

Permalink
Merge pull request #70 from MikroElektronika/samc21_json_fixes
Browse files Browse the repository at this point in the history
Samc20_21 json fixes
  • Loading branch information
StrahinjaJacimovic authored Jul 5, 2024
2 parents 3921790 + a357b7c commit d5b3b4c
Show file tree
Hide file tree
Showing 28 changed files with 533 additions and 533 deletions.
40 changes: 20 additions & 20 deletions ARM/gcc_clang/def/ATSAMC20E15A.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"core": "M0+",
"delay_src_path": "delays/m0+/__lib_delays.c",
"mcu": "ATSAMC20E15A",
"clock": 1,
"clock": 4,
"config_registers": [
{
"address": "41004004",
Expand Down Expand Up @@ -712,10 +712,10 @@
},
{
"hidden": false,
"init": "00000000",
"init": "00000006",
"key": "SRC",
"label": "Generator 0 Clock Source Selection",
"mask": "00000001F",
"mask": "0000001F",
"settings": [
{
"label": "XOSC oscillator output",
Expand Down Expand Up @@ -811,10 +811,10 @@
},
{
"hidden": false,
"init": "00000000",
"init": "00000006",
"key": "SRC",
"label": "Generator 1 Clock Source Selection",
"mask": "00000001F",
"mask": "0000001F",
"settings": [
{
"label": "XOSC oscillator output",
Expand Down Expand Up @@ -907,10 +907,10 @@
},
{
"hidden": false,
"init": "00000000",
"init": "00000006",
"key": "SRC",
"label": "Generator 2 Clock Source Selection",
"mask": "00000001F",
"mask": "0000001F",
"settings": [
{
"label": "XOSC oscillator output",
Expand Down Expand Up @@ -1006,10 +1006,10 @@
},
{
"hidden": false,
"init": "00000000",
"init": "00000006",
"key": "SRC",
"label": "Generator 3 Clock Source Selection",
"mask": "00000001F",
"mask": "0000001F",
"settings": [
{
"label": "XOSC oscillator output",
Expand Down Expand Up @@ -1105,10 +1105,10 @@
},
{
"hidden": false,
"init": "00000000",
"init": "00000006",
"key": "SRC",
"label": "Generator 4 Clock Source Selection",
"mask": "00000001F",
"mask": "0000001F",
"settings": [
{
"label": "XOSC oscillator output",
Expand Down Expand Up @@ -1204,10 +1204,10 @@
},
{
"hidden": false,
"init": "00000000",
"init": "00000006",
"key": "SRC",
"label": "Generator 5 Clock Source Selection",
"mask": "00000001F",
"mask": "0000001F",
"settings": [
{
"label": "XOSC oscillator output",
Expand Down Expand Up @@ -1303,10 +1303,10 @@
},
{
"hidden": false,
"init": "00000000",
"init": "00000006",
"key": "SRC",
"label": "Generator 6 Clock Source Selection",
"mask": "00000001F",
"mask": "0000001F",
"settings": [
{
"label": "XOSC oscillator output",
Expand Down Expand Up @@ -1402,10 +1402,10 @@
},
{
"hidden": false,
"init": "00000000",
"init": "00000006",
"key": "SRC",
"label": "Generator 7 Clock Source Selection",
"mask": "00000001F",
"mask": "0000001F",
"settings": [
{
"label": "XOSC oscillator output",
Expand Down Expand Up @@ -1501,10 +1501,10 @@
},
{
"hidden": false,
"init": "00000000",
"init": "00000006",
"key": "SRC",
"label": "Generator 8 Clock Source Selection",
"mask": "00000001F",
"mask": "0000001F",
"settings": [
{
"label": "XOSC oscillator output",
Expand Down Expand Up @@ -1714,7 +1714,7 @@
"fields": [
{
"hidden": false,
"init": "00000000",
"init": "00000020",
"key": "REFCLK",
"label": "DPLL Reference Clock Selection",
"mask": "00000030",
Expand Down
38 changes: 19 additions & 19 deletions ARM/gcc_clang/def/ATSAMC20E16A.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"core": "M0+",
"delay_src_path": "delays/m0+/__lib_delays.c",
"mcu": "ATSAMC20E16A",
"clock": 1,
"clock": 4,
"config_registers": [
{
"address": "41004004",
Expand Down Expand Up @@ -712,10 +712,10 @@
},
{
"hidden": false,
"init": "00000000",
"init": "00000006",
"key": "SRC",
"label": "Generator 0 Clock Source Selection",
"mask": "00000001F",
"mask": "0000001F",
"settings": [
{
"label": "XOSC oscillator output",
Expand Down Expand Up @@ -811,10 +811,10 @@
},
{
"hidden": false,
"init": "00000000",
"init": "00000006",
"key": "SRC",
"label": "Generator 1 Clock Source Selection",
"mask": "00000001F",
"mask": "0000001F",
"settings": [
{
"label": "XOSC oscillator output",
Expand Down Expand Up @@ -907,10 +907,10 @@
},
{
"hidden": false,
"init": "00000000",
"init": "00000006",
"key": "SRC",
"label": "Generator 2 Clock Source Selection",
"mask": "00000001F",
"mask": "0000001F",
"settings": [
{
"label": "XOSC oscillator output",
Expand Down Expand Up @@ -1006,10 +1006,10 @@
},
{
"hidden": false,
"init": "00000000",
"init": "00000006",
"key": "SRC",
"label": "Generator 3 Clock Source Selection",
"mask": "00000001F",
"mask": "0000001F",
"settings": [
{
"label": "XOSC oscillator output",
Expand Down Expand Up @@ -1105,10 +1105,10 @@
},
{
"hidden": false,
"init": "00000000",
"init": "00000006",
"key": "SRC",
"label": "Generator 4 Clock Source Selection",
"mask": "00000001F",
"mask": "0000001F",
"settings": [
{
"label": "XOSC oscillator output",
Expand Down Expand Up @@ -1204,10 +1204,10 @@
},
{
"hidden": false,
"init": "00000000",
"init": "00000006",
"key": "SRC",
"label": "Generator 5 Clock Source Selection",
"mask": "00000001F",
"mask": "0000001F",
"settings": [
{
"label": "XOSC oscillator output",
Expand Down Expand Up @@ -1303,10 +1303,10 @@
},
{
"hidden": false,
"init": "00000000",
"init": "00000006",
"key": "SRC",
"label": "Generator 6 Clock Source Selection",
"mask": "00000001F",
"mask": "0000001F",
"settings": [
{
"label": "XOSC oscillator output",
Expand Down Expand Up @@ -1402,10 +1402,10 @@
},
{
"hidden": false,
"init": "00000000",
"init": "00000006",
"key": "SRC",
"label": "Generator 7 Clock Source Selection",
"mask": "00000001F",
"mask": "0000001F",
"settings": [
{
"label": "XOSC oscillator output",
Expand Down Expand Up @@ -1501,10 +1501,10 @@
},
{
"hidden": false,
"init": "00000000",
"init": "00000006",
"key": "SRC",
"label": "Generator 8 Clock Source Selection",
"mask": "00000001F",
"mask": "0000001F",
"settings": [
{
"label": "XOSC oscillator output",
Expand Down
38 changes: 19 additions & 19 deletions ARM/gcc_clang/def/ATSAMC20E17A.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"core": "M0+",
"delay_src_path": "delays/m0+/__lib_delays.c",
"mcu": "ATSAMC20E17A",
"clock": 1,
"clock": 4,
"config_registers": [
{
"address": "41004004",
Expand Down Expand Up @@ -712,10 +712,10 @@
},
{
"hidden": false,
"init": "00000000",
"init": "00000006",
"key": "SRC",
"label": "Generator 0 Clock Source Selection",
"mask": "00000001F",
"mask": "0000001F",
"settings": [
{
"label": "XOSC oscillator output",
Expand Down Expand Up @@ -811,10 +811,10 @@
},
{
"hidden": false,
"init": "00000000",
"init": "00000006",
"key": "SRC",
"label": "Generator 1 Clock Source Selection",
"mask": "00000001F",
"mask": "0000001F",
"settings": [
{
"label": "XOSC oscillator output",
Expand Down Expand Up @@ -907,10 +907,10 @@
},
{
"hidden": false,
"init": "00000000",
"init": "00000006",
"key": "SRC",
"label": "Generator 2 Clock Source Selection",
"mask": "00000001F",
"mask": "0000001F",
"settings": [
{
"label": "XOSC oscillator output",
Expand Down Expand Up @@ -1006,10 +1006,10 @@
},
{
"hidden": false,
"init": "00000000",
"init": "00000006",
"key": "SRC",
"label": "Generator 3 Clock Source Selection",
"mask": "00000001F",
"mask": "0000001F",
"settings": [
{
"label": "XOSC oscillator output",
Expand Down Expand Up @@ -1105,10 +1105,10 @@
},
{
"hidden": false,
"init": "00000000",
"init": "00000006",
"key": "SRC",
"label": "Generator 4 Clock Source Selection",
"mask": "00000001F",
"mask": "0000001F",
"settings": [
{
"label": "XOSC oscillator output",
Expand Down Expand Up @@ -1204,10 +1204,10 @@
},
{
"hidden": false,
"init": "00000000",
"init": "00000006",
"key": "SRC",
"label": "Generator 5 Clock Source Selection",
"mask": "00000001F",
"mask": "0000001F",
"settings": [
{
"label": "XOSC oscillator output",
Expand Down Expand Up @@ -1303,10 +1303,10 @@
},
{
"hidden": false,
"init": "00000000",
"init": "00000006",
"key": "SRC",
"label": "Generator 6 Clock Source Selection",
"mask": "00000001F",
"mask": "0000001F",
"settings": [
{
"label": "XOSC oscillator output",
Expand Down Expand Up @@ -1402,10 +1402,10 @@
},
{
"hidden": false,
"init": "00000000",
"init": "00000006",
"key": "SRC",
"label": "Generator 7 Clock Source Selection",
"mask": "00000001F",
"mask": "0000001F",
"settings": [
{
"label": "XOSC oscillator output",
Expand Down Expand Up @@ -1501,10 +1501,10 @@
},
{
"hidden": false,
"init": "00000000",
"init": "00000006",
"key": "SRC",
"label": "Generator 8 Clock Source Selection",
"mask": "00000001F",
"mask": "0000001F",
"settings": [
{
"label": "XOSC oscillator output",
Expand Down
Loading

0 comments on commit d5b3b4c

Please sign in to comment.