Alexandre Abadie
841f500477
cpu/stm32l1: extend Kconfig cpu lines and models
2020-10-09 12:39:22 +02:00
Alexandre Abadie
11f3f2de74
cpu/stm32l0: extend Kconfig cpu lines and models
2020-10-09 12:39:22 +02:00
Alexandre Abadie
e8479b8cb5
cpu/stm32g4: extend Kconfig cpu lines and models
2020-10-09 12:39:22 +02:00
Alexandre Abadie
f223516a39
cpu/stm32g0: extend Kconfig cpu lines and models
2020-10-09 12:39:22 +02:00
Alexandre Abadie
7a510c08ff
cpu/stm32f7: extend Kconfig cpu lines and models
2020-10-09 12:39:22 +02:00
Alexandre Abadie
1c63b79a6d
cpu/stm32f4: extend Kconfig cpu lines and models
2020-10-09 12:39:21 +02:00
Alexandre Abadie
2c0930a3e7
cpu/stm32f3: extend Kconfig cpu lines and models
2020-10-09 12:39:21 +02:00
Alexandre Abadie
3d0c91d486
cpu/stm32f2: extend Kconfig cpu lines and models
2020-10-09 12:39:21 +02:00
Alexandre Abadie
3c08d564eb
cpu/stm32f1: extend Kconfig cpu lines and models
2020-10-09 12:39:21 +02:00
Alexandre Abadie
2490e01445
cpu/stm32f0: extend Kconfig cpu lines and models
2020-10-09 12:39:21 +02:00
Alexandre Abadie
06c3361a15
cpu/stm32/dist: add generator for kconfig cpu lines and models
2020-10-09 12:39:21 +02:00
benpicco
c979fda1f3
Merge pull request #14367 from basilfx/feature/cortex_m33
...
cpu/cortex: add initial support for Cortex-M33
2020-10-08 22:55:06 +02:00
Marian Buschsieweke
7b4d4c198b
cpu/stm32/periph_eth: Code style
2020-10-08 11:46:39 +02:00
Marian Buschsieweke
ab30865a08
cpu/stm32: Cleanup periph_eth
...
Cleanup functions _rw_phy(), _phy_read(), and _phy_write() and rename them to
_mii_reg_{access,read,write}().
2020-10-08 11:46:39 +02:00
Alexandre Abadie
3e1fa30c2f
cpu/stm32/irqs: fix vectors generator script
2020-10-08 08:09:31 +02:00
Sören Tempel
5b15dc8932
fe310: Fix debug format strings
...
read_csr() returns an unsigned long, not a uint32_t. This causes a
-Wformat warning to be emitted when compiling with clang. This commit
fixes the warning by changing the format string.
2020-10-07 19:07:23 +00:00
Sören Tempel
125e4b54c1
fe310: Support the LLVM toolchain (i.e. compilation with clang)
...
This requires -nostartfiles to be only passed to the linker, not the
compiler, as it is a linker flag and passing it to the compiler causes a
clang warning to be emitted.
Additionally, clang does not seem to support `-mcmodel=medlow` and
`-msmall-data-limit=8` but these options do not seem strictly necessary
to me anyhow thus they are deactivated conditionally when using clang.
2020-10-07 07:37:52 +00:00
Bas Stottelaar
3e2303d30c
cpu/efm32: add watchdog peripheral
2020-10-07 09:01:41 +02:00
benpicco
2289a188ed
Merge pull request #15164 from maribu/stm32-eth-fix-link-status
...
cpu/stm32: Fix periph_eth link status
2020-10-06 23:46:34 +02:00
benpicco
6c3a0eba59
Merge pull request #12353 from basilfx/feature/efm32_stk3200_v2
...
boards/stk3200: add support
2020-10-06 22:23:31 +02:00
Bas Stottelaar
0f8cecb50b
cpu/cortexm_common: add support for Cortex-M33
2020-10-06 17:11:26 +02:00
Benjamin Valentin
6e6ddacdb0
cpu/efm32: not every family has an MPU
2020-10-06 16:43:47 +02:00
Bas Stottelaar
03b9f45583
cpu/efm32: efm32zg: add support
2020-10-06 16:43:47 +02:00
Bas Stottelaar
f1589bc579
cpu/efm32: efm32zg: add vendor headers
2020-10-06 16:42:11 +02:00
Alexandre Abadie
4613f840f4
cpu/stm32: put GPIO in ain before initializing the clocks
2020-10-06 16:10:05 +02:00
Alexandre Abadie
0d786e3dbb
cpu: boards: stm32f2/f4/f7: rework clock configuration and init
2020-10-06 16:10:05 +02:00
Francisco
04e688d63e
Merge pull request #15158 from benpicco/cpu/efm32_no_letimer
...
cpu/efm32: fix build with !LETIMER
2020-10-06 10:58:41 +02:00
Marian Buschsieweke
7b738a66c4
cpu/stm32: Fix periph_eth link status
...
The link status was previously not returned via the value parameter, as required
by the netdev_driver_t API. As a result, e.g. the `ifconfig` shell command
showed garbage.
2020-10-06 10:29:38 +02:00
Francisco
e9af7f9415
Merge pull request #15091 from kfessel/patch-makefile-dep
...
Makefile.dep: sort dependencies
2020-10-06 10:16:49 +02:00
Karl Fessel
dbeda8ec1f
cpu/native: move socket_can include to Makefile.include
2020-10-05 18:27:58 +02:00
Karl Fessel
9a89b84c2c
Makefile.dep: sort dependencies
...
move most dependencies from <RIOTBASE>/Makefile.dep to the Makefile.dep where
dependant module resides
2020-10-05 18:27:58 +02:00
Marian Buschsieweke
7920d32e32
cpu/stm32: Clean up periph_eth
...
Use `addr` instead of `mac` when referring to L2 address.
2020-10-05 16:03:47 +02:00
Benjamin Valentin
b2a9a6b168
cpu/efm32: fix build with !LETIMER
...
Not all SoCs have an LETIMER.
Here the compilation will will fail because LETIMER related
symbols are not defined.
Fix the build of timer.c for those.
2020-10-05 14:51:05 +02:00
Benjamin Valentin
35d6736d9d
cpu/sam0_common: PWM: use named GCLK for disabling peripheral
2020-10-02 23:17:53 +02:00
Benjamin Valentin
91604d0217
cpu/samd21: clean up 'disabled GCLK' magic
...
It turns out hooking up an unused peripheral to a disabled GCLK
leads to surprising power savings.
Name the GCLK to be more explicit (and since not all members of
the extended samd2x family have a GCLK7).
Turns out we can just use a non-existing GCLK ID for this, this
even saves us a real GCLK that we can use for something else.
Also make sure to disable *all* peripherals by using
`GCLK_CLKCTRL_ID_Msk` instead of relying on a magic value.
Looks like we previously missed some, since this leads to some
additional power savings:
master: 4.22 mA
this patch: 4.09 mA
2020-10-02 23:16:52 +02:00
benpicco
57f5341275
Merge pull request #15139 from fjmolinas/pr_cc2538_rtt_init
...
cpu/cc2538: reset rtt on init
2020-10-02 17:30:36 +02:00
benpicco
482dacfa32
Merge pull request #15134 from btcven/2020_10_01-idle-fix
...
cpu/cc26xx_cc13xx: enable periph clocks on sleep
2020-10-02 17:30:24 +02:00
Francisco Molina
8df42f2390
cpu/cc2538: add RTT_MIN_OFFSET
2020-10-02 12:49:15 +02:00
Francisco Molina
eb8f747a34
cpu/cc2538: reset rtt on init
2020-10-02 12:49:06 +02:00
Francisco
df3ab9f161
Merge pull request #15138 from aabadie/pr/dist/codespell_fixes
...
dist/codespell: update the list of ignored words and fix all typos
2020-10-02 12:27:12 +02:00
Benjamin Valentin
c78ee2bf64
cpu/nrf52: provide radio_nrf802154 at CPU level
...
The presence of the 802.15.4 radio peripheral is a feature of the CPU,
not the board.
Move it to the right place and reduce code duplication.
2020-10-02 10:44:59 +02:00
Alexandre Abadie
35f357a9ad
cpu/sam0_common: fix typos
...
- 'acces' -> 'access'
- 'withing' -> 'within'
2020-10-02 07:58:35 +02:00
Alexandre Abadie
9d0d07ecce
cpu/nrf52: fix typo 'substract' -> 'subtract'
2020-10-02 07:57:53 +02:00
Alexandre Abadie
81a0566c12
cpu/native: fix typo 'funtion' -> 'function'
2020-10-02 07:57:27 +02:00
Alexandre Abadie
c458bbceca
cpu/esp_common: fix typo 'implementd' -> 'implemented'
2020-10-02 07:57:00 +02:00
Alexandre Abadie
2609dc1aa7
cpu/cortexm_common: fix typo 'occured' -> 'occurred'
2020-10-02 07:56:27 +02:00
Alexandre Abadie
60f39ddba8
cpu/fe310: fix typo 'transfert' -> 'transfer'
2020-10-02 07:55:36 +02:00
Alexandre Abadie
9b32226e03
cpu/cc26xx_cc13xx: fix typo 'exmaple' -> 'example'
2020-10-02 07:54:37 +02:00
Alexandre Abadie
e5ca237318
cpu/cortexm_common: fix typo 'pre-empt' -> 'preempt'
...
Also fix typo 'efficency' -> 'efficiency'
2020-10-02 07:53:54 +02:00
Jean Pierre Dudey
f443a8bc84
cpu/cc26xx_cc13xx: enable periph clocks on sleep
...
Signed-off-by: Jean Pierre Dudey <me@jeandudey.tech>
2020-10-01 18:38:03 -05:00