Bas Stottelaar
102d85b2a1
cpu: efr32mg1p: add support
2017-11-13 20:27:16 +01:00
Bas Stottelaar
0537e50614
cpu: efm32_common: add peripheral drivers
2017-11-13 20:27:16 +01:00
Hauke Petersen
89db77710f
Merge pull request #7963 from dylad/opt_sam0_gpio
...
cpu/sam0: share GPIO configuration
2017-11-13 14:58:56 +01:00
Hauke Petersen
ba6f2a4c4f
Merge pull request #8013 from smlng/cpu/sam3/fix_periph_dac
...
cpu, sam3: fix periph/dac poweron
2017-11-13 12:46:35 +01:00
smlng
eb8c55d7f7
cpu, sam3: fix periph/dac poweron
2017-11-13 12:03:05 +01:00
Peter Kietzmann
89994604af
Merge pull request #7954 from smlng/cpu/atmega/adc
...
cpu, atmega_common: add periph/adc
2017-11-13 11:44:56 +01:00
f6d7e54228
Merge pull request #7739 from kYc0o/factorise_sam0_ldscripts
...
ld: refactor sam0 ldscripts
2017-11-13 11:36:25 +01:00
Martine Lenders
00d5484fcd
Merge pull request #8001 from george-hopkins/stm32-timer-multiplier
...
cpu/stm32_common: consider timer multiplier for PWM
2017-11-13 09:34:08 +01:00
George Hopkins
ebd525306a
cpu/stm32_common: consider timer multiplier for PWM
2017-11-10 17:25:13 +01:00
Joakim Nohlgård
e3d5a70e0c
cpu/cortexm: Remove leftover _estack declarations
...
These are leftovers from before the Cortex-M common ISR vectors were
split into vectors_cortexm.c
2017-11-10 15:38:14 +01:00
Laurent Navet
9de00af063
cpu/atmega_common: add adc driver
2017-11-10 14:19:08 +01:00
dylad
2f4254b0df
cpu/sam0: ensure PD is selected
...
Signed-off-by: dylad <dylan.laduranty@mesotic.com>
2017-11-10 10:43:40 +01:00
dylad
a06ace7904
cpu/sam0: share GPIO configuration
...
Signed-off-by: dylad <dylan.laduranty@mesotic.com>
2017-11-10 10:43:08 +01:00
Joakim Nohlgård
33e751e8a8
kinetis: Remove periph driver xxx_NUMOF guards
2017-11-10 10:43:00 +01:00
Joakim Nohlgård
925a908d95
kinetis: Update RNGA driver configuration to automatically detect the module
2017-11-10 10:43:00 +01:00
Joakim Nohlgård
19d407a3e9
kinetis: Add script for generating vendor header include lines
2017-11-10 10:42:59 +01:00
Joakim Nohlgård
22c52bd3a8
kinetis: Unify all Kinetis CPUs in one directory
2017-11-10 10:42:59 +01:00
Joakim Nohlgård
cb8e3f19a2
kinetis: Use one ldscript for all CPUs
2017-11-10 10:42:54 +01:00
Joakim Nohlgård
0dabad20b4
kinetis: Extract detailed information from CPU_MODEL
2017-11-10 10:39:53 +01:00
Peter Kietzmann
d689a0c8a6
Merge pull request #7982 from haukepetersen/opt_nrf5x_periphfileguards
...
cpu/nrf51: remove guards from periph drivers
2017-11-10 09:52:46 +01:00
3e04051981
Merge pull request #7983 from haukepetersen/opt_stm32_periphfileguards
...
cpu/stm32: removed file guards from periph drivers
2017-11-09 17:34:29 +01:00
Hauke Petersen
5c31d20fe9
Merge pull request #7984 from haukepetersen/opt_sam_periphfileguards
...
cpu/samX: remove guards from periph drivers
2017-11-09 17:26:14 +01:00
Hauke Petersen
8bf0d18027
cpu/stm32f4: fixed cppcheck issue in i2c driver
2017-11-09 16:27:25 +01:00
Hauke Petersen
1343f9dc3d
cpu/stm32f2: fixed cppcheck issue in i2c driver
2017-11-09 16:27:24 +01:00
Hauke Petersen
87200c4803
cpu/stm32: removed file guards from periph drivers
2017-11-09 16:27:24 +01:00
283c207c55
Merge pull request #7864 from Marc-Aurele/i2c_timeout_l0
...
cpu/stm32l0: implement i2C non blocking mode
2017-11-09 14:50:13 +01:00
Hauke Petersen
ec27204408
cpu/sam0: fixed cppcheck issue in i2c driver
2017-11-09 13:53:15 +01:00
Hauke Petersen
b3962f8d2c
cpu/sam0: removed guards form periph drivers
2017-11-09 12:57:02 +01:00
Hauke Petersen
50ad7e523f
cpu/sam3: removed guards from periph drivers
2017-11-09 12:54:01 +01:00
Hauke Petersen
399169ddcf
cpu/nrf51: remove guards from periph drivers
2017-11-09 12:30:21 +01:00
509ad6e4df
Merge pull request #7815 from Marc-Aurele/adc_l0
...
cpu/stm32l0 : implementation of ADC driver
2017-11-08 15:11:21 +01:00
Aurelien Fillau
9907908b2a
cpu/stm32l0: add ADC driver implementation
...
Now, ADC is available on stm32l0 family. A calibration is
done at each new adc_sample. Moreover, when conversion is done,
VREFINT and temperature sensor are dactivated to save power.
Signed-off-by: Aurelien Fillau <aurelien.fillau@gmail.com>
2017-11-08 14:29:42 +01:00
Martine Lenders
5ce13b3562
Merge pull request #7362 from gebart/pr/kinetis-lpuart
...
kinetis: Add support for LPUART module in parallel with UART module
2017-11-08 01:06:58 +01:00
Aurelien Fillau
4eee79aade
cpu/stm32l0: implement i2C non blocking mode
...
Timeouts have been added in I2C driver on the stm32l0
family so that any while loop do not stall the
task forever.
Signed-off-by: Aurelien Fillau <aurelien.fillau@gmail.com>
2017-11-07 22:24:58 +01:00
kYc0o
ec9897f9a3
cpu/sam0_commmon/ldscripts: remove all samd/l family linker scripts
2017-11-07 15:06:40 +01:00
kYc0o
4c86d95014
cpu/sam0_common/Makefile.include: add CPU ROM and RAM lengths
2017-11-07 15:06:39 +01:00
kYc0o
d25fd647e7
cpu/cortexm_common/ldscripts: add common linker script for cortexm family
2017-11-07 15:05:43 +01:00
kYc0o
4d681ac862
cpu/cortexm_common/Makefile.include: define linker length vars if set
2017-11-07 15:05:43 +01:00
Joakim Nohlgård
00a0740fcc
kinetis: Add support for LPUART module in parallel with UART module
...
A dispatcher function is implemented for directing writes to the correct
function. The dispatcher is bypassed completely if the CPU only contain
one kind of UART module.
There are at least two different UART hardware modules deployed in
different Kinetis CPU families (or possibly three or more when counting
variations of the UART module). The UART module is an older 8 bit module
with advanced functionality, while the LPUART is a 32 bit module with
focus on low power consumption.
- The older families in the K series all have UART modules.
- The K22F family have both UART and LPUART modules in the same CPU.
- Older L series (e.g. KL25Z) have two variations of the UART module
- Newer L series (e.g. KL43Z) have LPUART modules, and sometimes
UART as well.
- Newer W series (KW41Z) have only LPUART
2017-11-07 14:19:42 +01:00
268e763d63
make: move mcuboot related stuff to makefiles/mcuboot.mk
2017-11-07 12:28:41 +01:00
Sebastian Meiling
2c19595b7e
Merge pull request #7763 from photonthunder/sam0_common_uart_receive
...
cpu/sam0_common/periph/uart - don’t setup receive if no pin is selected
2017-11-06 17:33:42 +01:00
3ec8126c84
cpu: cortexm: provide periph_pm for all cortexm
2017-11-06 12:01:19 +01:00
6be2fb1f25
cpu: kinetis_common: rename periph/hwrng_rnga.c -> periph/hwrng.c
2017-11-06 12:01:19 +01:00
9bdde09884
cpu: mips32r2_common: always select periph_timer
...
(needed for gettimeofday())
2017-11-06 12:01:19 +01:00
f697d0d859
cpu: stm32_common: rename rtt_lptim.c -> rtt.c
...
This ensures that the rtt code is made available by depending on
periph_rtt.
2017-11-06 12:01:19 +01:00
443c8e39ed
cpu: kinetis: make periph_rtc depend on periph_rtt
2017-11-06 12:01:19 +01:00
565eb9cf63
cpu: native: always select periph_uart
2017-11-06 12:01:19 +01:00
5c6c439920
cpu: mips32r2_common: adapt to periph.mk
2017-11-06 12:01:19 +01:00
5cd997fcdc
cpu: kinetis_common: adapt to periph.mk
2017-11-06 12:01:19 +01:00
a20745b6c5
cpu: make use of Makefile.periph
2017-11-06 12:01:19 +01:00