Commit 6d38ba4
committed
boards/xg23-pk6068a: remove HFXO_FREQ and LFXO_FREQ
Prior to the use of Gecko SDK 4.5, RIOT shipped with patched vendor
files, such as `system_xxx.c`. These system files included
`periph_config.h`, which allowd one to redefine `HFXO_FREQ` and
`LFXO_FREQ`.
This was not intended, and other EFM32-based boards documented this to
redefine this using compiler defines. After all, a board configuration
is considered to be somewhat pre-defined and static.
With the new Gecko SDK 4.5, this (unintended) feature got lost for the
`xg23-pk6068a` board. To bring it in-line with the other boards,
remove the defines, and document how it should be used.
Within the codebase, `LFXO_FREQ` was used for ztimer configuration.
Similar to the other boards, this has been replaced with a static
value.
Behind the scenes, the vendor `system_xxx.c` file will still use the
same values.1 parent 1caae60 commit 6d38ba4
3 files changed
Lines changed: 18 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
94 | 94 | | |
95 | 95 | | |
96 | 96 | | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
97 | 114 | | |
98 | 115 | | |
99 | 116 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
| 39 | + | |
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
32 | 31 | | |
33 | | - | |
34 | | - | |
35 | 32 | | |
36 | 33 | | |
37 | 34 | | |
| |||
0 commit comments