6333 Commits

Author SHA1 Message Date
Alexandre Abadie
044acf1175
cpu/stm32: enable power overdrive on f4 and f7
This is only enabled if the HCLK clock is above 168MHz on F4 and 180MHz on f7
2020-10-14 13:36:20 +02:00
Alexandre Abadie
c40f0a5b43
cpu/mips: remove never used load memory address 2020-10-13 18:57:39 +02:00
Alexandre Abadie
dcc2982b27
cpu/mips: fix build error raised by a fallthrough warning 2020-10-13 18:57:38 +02:00
Alexandre Abadie
581c97bbcf
cpu/mips: skip pthread types provided by the toolchain 2020-10-13 16:27:59 +02:00
Cenk Gündoğan
f05ac07f19
Merge pull request #15217 from leandrolanzieri/pr/kconfig/allow_merge_configs
makefiles/kconfig: always allow to use KCONFIG_ADD_CONFIG
2020-10-13 15:11:09 +02:00
benpicco
4852c09027
Merge pull request #15058 from benpicco/feature_stdio_highlevel
boards: remove the bootloader_% pseudo-feature, replace it with highlevel_stdio
2020-10-13 14:25:03 +02:00
Martine Lenders
45144fb4a4
treewide: use new gnrc_pkt API functions instead of utlist.h macros 2020-10-13 13:32:53 +02:00
Cenk Gündoğan
0741f161ae
Merge pull request #15198 from leandrolanzieri/pr/kconfig/add_error_symbols
Kconfig: add error symbols and makefile check
2020-10-13 13:09:42 +02:00
Benjamin Valentin
a863a43207 kconfigs: replace BOOTLOADER_% feature with HIGHLEVEL_STDIO 2020-10-13 10:30:22 +02:00
Leandro Lanzieri
4d7ea1b50a
makefiles/kconfig: always allow to use KCONFIG_ADD_CONFIG 2020-10-13 09:53:00 +02:00
Jean Pierre Dudey
ca126593e9 cpu/cc26x2_cc13x2: fix boolean logic for osc change
Small typo on the loop that checks that the oscillator is ready to be
changed.

Signed-off-by: Jean Pierre Dudey <me@jeandudey.tech>
2020-10-12 14:41:19 -05:00
Jean Pierre Dudey
becca71caf cpu/cc26xx_cc13xx: fix typo on XOSC selection
> Fixes a typo on XOSC selection bitfield that would
make the CPU crash when changing it.
> Sets the other fields to their default values.

Signed-off-by: Jean Pierre Dudey <me@jeandudey.tech>
2020-10-12 14:37:55 -05:00
Marian Buschsieweke
d84caa50d2
cpu/stm32: Fix link status in periph_eth
Previously, only an link-up event was triggered, not an link down event. And
additionally, once the link-up event was sent, the link status was no longer
monitored. As a result, once a link-up was sent, no further link event were
triggered.
2020-10-12 14:53:41 +02:00
Marian Buschsieweke
6294382627
cpu/stm32: Use mii.h for periph_eth
Use shared MII definitions and utilities instead own definitions.
2020-10-12 08:46:20 +02:00
benpicco
94e78cd1dd
Merge pull request #15193 from maribu/stm32_eth_fix
cpu/stm32: Fix & cleanup periph_eth
2020-10-11 21:40:36 +02:00
Marian Buschsieweke
0e43c927b1
cpu/stm32: Fix/cleanup periph_eth
The methods to read from / write to MII registers had an address argument to
allow specifying the PHY to communicate with. However, only a single PHY is
available on all boards supported and the driver is not able to operate with
multiple PHYs anyway - thus, drop this parameter for ease of use.

This fixes a bug in the _get_link_status() function, which used hard coded the
address 0; which might not be correct for all boards.
2020-10-09 20:20:54 +02:00
Leandro Lanzieri
fe6d66d92a
kconfig: add ERROR symbol for conflicting modules 2020-10-09 18:04:17 +02:00
benpicco
c21b72b5e8
Merge pull request #15186 from leandrolanzieri/pr/esp/fix_linker_scripts
cpu/esp*: fix linker scripts
2020-10-09 16:25:09 +02:00
Leandro Lanzieri
eb2655b622
cpu/esp8266/ld: use folder name instead of archive for module objects 2020-10-09 13:29:55 +02:00
Leandro Lanzieri
837ddf6d8c
cpu/esp32/ld: use folder name instead of archive for module objects 2020-10-09 13:29:51 +02:00
Alexandre Abadie
42067b0091
cpu/stm32/kconfig: restore features provided at cpu lines level 2020-10-09 12:39:22 +02:00
Alexandre Abadie
87f2f7ab99
cpu/stm32wb: extend Kconfig cpu lines and models 2020-10-09 12:39:22 +02:00
Alexandre Abadie
85a3167e4f
cpu/stm32l4: extend Kconfig cpu lines and models 2020-10-09 12:39:22 +02:00
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
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