Francisco
e2dc125fb3
Merge pull request #13308 from maribu/atmega_state_cleanup
...
cpu/atmega_common: Cleanup state flags
2020-02-10 17:37:24 +01:00
benpicco
b44cf48a87
Merge pull request #13246 from benpicco/lpc23xx-spi
...
cpu/lpc2387: make SPI configurable
2020-02-10 17:01:41 +01:00
Benjamin Valentin
13e578bc84
cpu/lpc2387: implement periph/adc
...
lpc23xx has a 10 bit ADC with up to 8 channels.
The ADC should be clocked at 4.5 MHz or less, so it uses
(72MHz CCLK / 8) / 2.
2020-02-10 13:25:26 +01:00
Dylan Laduranty
b5bb846d3a
Merge pull request #13312 from benpicco/cpu/sam0-vendor_cleanup
...
cpu/sam0_common: use vendor provided MCU header dispatch
2020-02-07 20:33:45 +01:00
benpicco
dfcf155aa6
Merge pull request #13311 from benpicco/cpu/samr21-asf
...
cpu/sam0_common: update samr21 vendor files to version 1.1.72
2020-02-07 13:06:11 +01:00
Benjamin Valentin
b0078b1a98
cpu/sam0_common: update samr21 vendor files to version 1.1.72
...
This release adds EXTINT defines compatible with later versions of
the sam0 series of MCUs.
2020-02-07 12:14:45 +01:00
benpicco
66c7c63c94
Merge pull request #13061 from gschorcht/cpu/esp32/rtc_xtal_32k
...
cpu/esp32: allow external 32 kHz crystal for the RTC hardware timer
2020-02-07 10:24:22 +01:00
Gunar Schorcht
4c0cfdcc8e
cpu/esp32: allow external 32 kHz crystal for RTC
2020-02-07 00:46:16 +01:00
Benjamin Valentin
bd1953dd80
cpu/sam0_common: use vendor files to dispatch MCU headers
...
Instead of manually re-creating the files from ASF, just use
the vendor provided dispatch headers and ease the maintainance
burden.
2020-02-06 19:52:05 +01:00
Benjamin Valentin
fd793b8917
cpu/samd51: add common header file from ASF
...
Somehow I forgot to commit this.
2020-02-06 19:49:50 +01:00
benpicco
24fb7a9aae
Merge pull request #12933 from maribu/atmega_pcint_cleanup
...
cpu/atmega_common/periph/gpio: Clean up PCINT support
2020-02-06 18:29:15 +01:00
Marian Buschsieweke
1879f58512
cpu/atmega_common: Cleanup state flags
...
- Use one byte of RAM to track both IRQ and UART TX state
- Fix incorrect use of volatile
2020-02-06 15:41:41 +01:00
0cb13186cc
cpu/atmega32u4: remove obsolete -DCOREIF_NG=1
2020-02-05 15:08:13 +01:00
benpicco
9b33e1ca92
Merge pull request #13271 from kfessel/patch-shed
...
core/sched: sched.h: remove not needed bitarithm include to avoid conflict
2020-02-05 14:44:08 +01:00
Karl Fessel
4445faaa3a
core/shed: remove not needed bitarithm include add missing
...
bitarithm.h is not needed for the interface of shed but may cause conflicts
due to different definitions of SETBIT and CLRBIT
common implementations are: (value, offset) xor (value, mask) bitarithm
implements the later
frac.c and nrf52/usbdev.c use bitarithm.h but where missing the include
sam0/rtt.c defined a bit using mask from bitarithm,
changed that to the soulution used in sam0/rtc.c
2020-02-05 12:45:29 +01:00
Benjamin Valentin
38b6ee56f3
cpu/sam0: use defines for GCLK IDs
...
Give the clocks explicit names to better identify their meaning.
2020-02-04 21:16:54 +01:00
Benjamin Valentin
df33ffd0d3
cpu/samd21: only configure one 32kHz GCLK
...
Use the same 32 kHz GCLK to feed the PLL and the RTT, etc.
2020-02-04 21:16:54 +01:00
Benjamin Valentin
1496149bba
cpu/sam0: don't hard-code peripheral clocks
...
Instead of hard-coding the peripheral clocks to CLOCK_CORECLOCK
introduce helper functions to return the frequency of the individual
GCLKs and use those for baud-rate calculations.
This requires the GCLK to be part of the peripheral's config struct.
While this is already the case for most peripherals, this also adds
it for those where it wasn't used before.
As it defaults to 0 (CLOCK_CORECLOCK) no change is to be expected.
2020-02-04 21:06:21 +01:00
Benjamin Valentin
a51d167a43
cpu/sam0: use GCLK ID instead of bitmask
...
To simplify board definitions and for unification between samd2x and
newer models, don't use the GCLK bitmask in board definitions.
Instead use the GCLK index and generate the bitmask when needed.
2020-02-04 21:06:21 +01:00
benpicco
4fb2770fe8
Merge pull request #13279 from benpicco/cc430-rtc-cleanup
...
cpu/cc430: rtc: remove dead code
2020-02-04 16:56:44 +01:00
Benjamin Valentin
5d96bcf0a0
cpu/cc13x2: fix leftover from cc26x2_cc13x2 rename
...
A files was forgotten to move and one doxygen group was not renamed.
2020-02-04 14:37:43 +01:00
Benjamin Valentin
1155172106
cpu/cc430: rtc: remove dead code
...
The commented-out block does provide no value and is confusing
when using `grep`.
2020-02-04 13:20:56 +01:00
benpicco
cc90a896c7
Merge pull request #13166 from jeandudey/2020_01_19-cc26x2-cc13x2
...
cpu/cc13x2: rename cpu to cc26x2_cc13x2.
2020-02-04 11:45:59 +01:00
Gunar Schorcht
668e05ed4f
cpu/atmega: fix PWM compilation error with NDEBUG
...
When NDEBUG macro is defined during compilation, the assert macro produces empty code. The dev parameter is then unused.
2020-02-03 00:14:32 +01:00
benpicco
5d1bf26f0c
Merge pull request #13076 from gschorcht/boards/esp32/ttgo_t_beam_gps
...
boards/esp32: enable GPS module on ESP32 TTGO T-Beam V1.0
2020-02-01 23:25:55 +01:00
Gunar Schorcht
3208207ec5
cpu/esp32: change order of board and periph init
...
To be able to access periphals to initialize board specific hardware, the board_init function has to be called after periph_init.
2020-02-01 16:12:05 +01:00
Benjamin Valentin
3f01f4b183
cpu/lpc2387: make periph/spi configurable
2020-01-31 12:01:09 +01:00
benpicco
d48471a120
Merge pull request #12967 from gschorcht/pkg/lwip/fix_esp_wifi
...
cpu/esp*: remove dependencies on GNRC for ESP network device drivers
2020-01-31 10:38:08 +01:00
benpicco
cdb427b760
Merge pull request #12475 from francois-berder/wifire-gpio-refactor
...
cpu: mips_pic32_common: Refactor GPIO peripheral
2020-01-31 09:46:57 +01:00
Gunar Schorcht
208174a006
cpu/esp_common/esp_now: consistent netif thread naming
2020-01-31 09:32:23 +01:00
Gunar Schorcht
e4be9b4b36
cpu/esp8266/esp_wifi: move gnrc specific code to separate file
2020-01-31 09:32:23 +01:00
Gunar Schorcht
058c710cba
cpu/esp8266/esp_wifi: remove gnrc specific code
2020-01-31 09:32:23 +01:00
Gunar Schorcht
0a5ab84363
cpu/esp32/esp_wifi: move gnrc specific code to separate file
2020-01-31 09:32:23 +01:00
Gunar Schorcht
845411e4d3
cpu/esp32/esp_wifi: remove gnrc specific code
2020-01-31 09:32:23 +01:00
Gunar Schorcht
fc0845b09c
cpu/esp32/esp_eth: move gnrc specific code to separate file
2020-01-31 09:32:23 +01:00
Gunar Schorcht
ace3107975
cpu/esp32/esp_eth: remove gnrc specific code
2020-01-31 09:32:23 +01:00
Gunar Schorcht
f14c4c8c2f
cpu/esp32: remove static dependency from gnrc
2020-01-31 09:32:23 +01:00
Benjamin Valentin
a0d188fd6b
cpu/lpc2387: convert periph/spi to struct based operation
2020-01-31 08:55:29 +01:00
benpicco
57db6b7313
Merge pull request #13059 from gschorcht/cpu/esp32/fix_xtal_freq
...
cpu/esp32: activate automatic XTAL detection
2020-01-31 08:36:28 +01:00
Martine Lenders
8d749dc024
Merge pull request #13148 from chrysn-pull-requests/usb-default-vidpid
...
USB: Use default VID/PID for RIOT-included peripherals
2020-01-30 17:37:52 +01:00
Martine Lenders
3d4977cca1
Merge pull request #13232 from kfessel/master
...
cpu/stm32/eth: Use luid_get_eui48 to generate local, non group EUI
2020-01-30 17:37:25 +01:00
chrysn
e65f3f372b
USB VID/PID: Set whitelist define for internals that use usb.h
...
This list is probably incomplete as it was created experimentally.
2020-01-30 15:04:10 +01:00
05b409c85d
Merge pull request #13239 from gschorcht/periph/i2c/fix_ndebug
...
cpu: fix I2C compilation problems with NDEBUG for several CPUs
2020-01-30 13:03:16 +01:00
Gunar Schorcht
4911868746
cpu/cc26x0: fix I2C compilation error with NDEBUG
...
When NDEBUG macro is defined during compilation, the assert macro produces empty code. The dev parameter is then unused.
2020-01-30 11:57:56 +01:00
Gunar Schorcht
42db6861e1
cpu/cc2538: fix I2C compilation error with NDEBUG
...
When NDEBUG macro is defined during compilation, the assert macro produces empty code. The dev parameter is then unused.
2020-01-30 11:57:36 +01:00
Gunar Schorcht
2051167176
cpu/atmega: fix I2C compilation error with NDEBUG
...
When NDEBUG macro is defined during compilation, the assert macro produces empty code. The dev parameter is then unused.
2020-01-30 11:46:31 +01:00
596d02387f
Merge pull request #13229 from nmeum/pr/hifive_link_fix
...
fe310: fix power management configuration
2020-01-30 11:23:37 +01:00
Sören Tempel
bd2f5fe110
fe310: fix power management configuration
2020-01-30 10:43:01 +01:00
Benjamin Valentin
c24fb242ef
cpu/lpc2387: rtc: set rtc callback arg
...
`_cb_arg` was never set, it was simply ignored in `rtc_set_alarm()`.
The fix is trivial: just set `_cb_arg` to the assigned argument.
2020-01-29 19:49:18 +01:00
Karl Fessel
b4b9ffe362
cpu/stm32/eth: luid_get_eui48 match type information
...
changed type of hwaddr to eui48
moved hwaddr declaration where it is needed
2020-01-29 16:58:36 +01:00