1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
Commit Graph

3098 Commits

Author SHA1 Message Date
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
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
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
Martine Lenders
60d543ab3d
Merge pull request #7862 from roberthartung/atmega_common_fix_periph
atmega_common: renames periph for atmega_common_periph
2017-11-06 11:55:59 +01:00
Robert Hartung
491f420651 cpu/atmega_common: renames periph module 2017-11-06 11:38:26 +01:00
Cenk Gündoğan
1ea1fe9060
Merge pull request #7928 from smlng/board/bluepill/dfu
bluepill: dfu-util support
2017-11-03 13:22:40 +01:00
7c9f6a4763
Merge pull request #7907 from gebart/pr/cortexm-fix-hardfault-print
cortexm_common: Correct offset for hardfault stack
2017-11-02 15:59:36 +01:00
f0a532932c cpu: native: reorganize Makefile.features 2017-11-02 12:59:46 +01:00
9b36364db2 cpu: cc26x0: reorganize Makefile.features 2017-11-02 12:59:46 +01:00
9d4cb7ac7f cpu: cc2538: reorganize Makefile.features 2017-11-02 12:59:46 +01:00
870f0e45ba cpu: sam3: reorganize Makefile.features 2017-11-02 12:59:45 +01:00
d2415eadad cpu: lpc1768: reorganize Makefile.features 2017-11-02 12:59:45 +01:00
bdd286c1e0 cpu: lm4f120: reorganize Makefile.features 2017-11-02 12:59:45 +01:00
7106aa4a59 cpu: ezr32wg: reorganize Makefile.features 2017-11-02 12:59:45 +01:00
33adde02d1 cpu: msp430: reorganize Makefile.features 2017-11-02 12:59:45 +01:00
849cc8606a cpu: nrf5x: reorganize Makefile.features 2017-11-02 12:59:45 +01:00
93246dbedd cpu: sam0: reorganize Makefile.features 2017-11-02 12:59:45 +01:00
942cc7598b cpu: arm7: reorganize Makefile.features 2017-11-02 12:59:45 +01:00
358079879f cpu: kinetis: reorganize Makefile.features 2017-11-02 12:59:45 +01:00
28a2028e1e cpu: mips: reorganize Makefile.features 2017-11-02 12:59:45 +01:00
bf6269e12b cpu: stm32: reorganize Makefile.features 2017-11-02 12:59:45 +01:00
1e52f8d292 cpu: atmega: reorganize Makefile.features 2017-11-02 12:59:45 +01:00
b5b970d760 cpu: cortexm: add Makefile.features 2017-11-02 12:59:45 +01:00
smlng
f0ef22232b bluepill: dfu-util support 2017-11-01 23:32:31 +01:00
Joakim Nohlgård
dea1676ef6 kinetis: Merge all ISR vector tables into one generic mutant
The ISR names have been changed to match the name of the IRQ number they
are servicing.
2017-10-31 05:45:13 +01:00
Joakim Nohlgård
222842c951 kinetis_common: Use separate array for padding ISR vector table 2017-10-31 05:45:13 +01:00
Joakim Nohlgård
2945532c3b k22f: Update to latest vendor headers 2017-10-31 05:45:13 +01:00
Joakim Nohlgård
f98e286d08 k22f: Remove unused MK22F10.h header
According to NXP material, there are no 100 MHz K22F parts in 144 pin
packages, which is the reference manual that this header is supposed to
correspond to.
The header was originally included from Keil uVision Kinetis support
packages. It is possible that this header was only used with
engineering samples of the K22F.
2017-10-31 05:45:13 +01:00