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

3090 Commits

Author SHA1 Message Date
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
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
Joakim Nohlgård
2f55fdcec4 cortexm_common: Correct offset for hardfault stack
The required space for the hardfault handler is defined by
HARDFAULT_HANDLER_REQUIRED_STACK_SPACE, which is given in bytes,
this length is added to &_sram to find a lower limit on the amount of
stack space that the hard fault handler can work with. The _sram
variable, was mistakenly defined as a uint32_t, which makes &_sram into
a uint32_t*, which through pointer addition, made the required space 4
times as big as it was supposed to. By changing the type of _sram to
uint8_t, the required stack space is correctly computed.

The symptom was that the hardfault handler always reported that the
stack pointer had been corrupted and it was impossible to get any useful
information from the crash text.
2017-10-30 07:08:33 +01:00
Sebastian Meiling
2e0917cd81
Merge pull request #7727 from beduino-project/bluepill-rebased
boards: add support for bluepill board
2017-10-27 20:33:07 +02:00
Sören Tempel
9b3714b0c4 add support for bluepill board 2017-10-27 16:06:50 +02:00
Hauke Petersen
46cc29722f Merge pull request #7774 from smlng/cpu/cc26x0/fix_pm
cpu, cc26x0: fix pm, don't go into cortexm_sleep(0)
2017-10-24 11:29:40 +02:00
Dan Evans
d6ef4d2d51 cpu/sam0_common/periph/uart - don’t setup receive if no pin is selected 2017-10-23 16:22:58 -07:00
14646fb332 Merge pull request #7776 from kaspar030/fix_cortexm_vectors_lto
cpu: cortexm: fix LTO issue for shared vector table
2017-10-21 00:02:48 +02:00
96b1b76ac9 cpu: cortexm: fix LTO issue for shared vector table (see #5774) 2017-10-20 22:19:44 +02:00
167bd30453 all: fix my email address 2017-10-20 15:02:41 +02:00