Joakim Nohlgård
68ea6b3316
kinetis: Add support for NXP Kinetis KW41Z SoC
2018-03-02 15:38:39 +01:00
Joakim Nohlgård
2090dd0234
kinetis: Add GPIO ISR for CPUs with combined PORTB+PORTC interrupt
2018-03-02 15:38:39 +01:00
Joakim Nohlgård
8642c8ceb8
kinetis: Support CM0+ devices with 96 bit UID
2018-03-02 15:38:39 +01:00
Joakim Nohlgård
005b4bfbb3
kinetis: Filter out PWM code if no FTM exists
2018-03-02 15:38:39 +01:00
Joakim Nohlgård
11361ec7e1
kinetis: Add support for CPUs with a single IRQ for all PIT channels
2018-03-02 15:38:39 +01:00
Joakim Nohlgård
2b64452c33
kinetis: GPIO workaround for missing open drain support
2018-03-02 15:38:39 +01:00
Joakim Nohlgård
a196bb431d
kinetis: Only configure PWM settings if the FTM device exists
2018-03-02 15:38:39 +01:00
Joakim Nohlgård
ba76402d03
kinetis: Add Bit Manipulation Engine helpers
2018-03-02 15:38:39 +01:00
Joakim Nohlgård
18908667a3
kinetis: Make open drain GPIO availability depend on CPU header
2018-03-02 15:38:39 +01:00
Joakim Nohlgård
a7f06f8c42
Merge pull request #8724 from gebart/pr/kinetis-lpuart-clocking
...
kinetis: Set LPUART clock source during uart_lpuart_init
2018-03-02 15:38:01 +01:00
Peter Kietzmann
215940b058
Merge pull request #8643 from Josar/jiminy_master
...
boards: Jiminy-mega256rfr2: initial support
2018-03-02 15:24:39 +01:00
Joakim Nohlgård
2bdf0bfbf1
kinetis: Align definitions in cpu_conf_kinetis.h
2018-03-02 14:39:00 +01:00
Joakim Nohlgård
82e960b642
kinetis: Set LPUART clock source during uart_lpuart_init
2018-03-02 14:39:00 +01:00
Josarn
3c906c6c3d
cpu/atmega256rfr2: ATmega256rfr2 MCU support
...
Signed-off-by: Josua Arndt <josuaarndt@live.de>
Signed-off-by: Steffen Robertz <steffen.robertz@online.de>
2018-03-02 13:33:53 +01:00
Josarn
3bace2bd24
cpu/atmega-common: Adjustments Jiminy-mega256rfr2
...
Signed-off-by: Josua Arndt <josuaarndt@live.de>
Signed-off-by: Steffen Robertz <steffen.robertz@online.de>
2018-03-02 13:33:26 +01:00
Francisco Acosta
2e701bd535
Merge pull request #8725 from gebart/pr/kinetis-errata-func
...
kinetis: Move errata workarounds to separate function
2018-03-02 12:30:16 +01:00
Francisco Acosta
a31940eee4
Merge pull request #8723 from gebart/pr/kinetis-periph-cpu-doc-fix
...
kinetis: periph_cpu.h doc fix
2018-03-02 12:03:06 +01:00
Joakim Nohlgård
fd76e5ddad
kinetis: Move errata workarounds to separate function
2018-03-02 08:17:00 +01:00
Joakim Nohlgård
f5edf56be4
kinetis: periph_cpu.h doc fixes
2018-03-02 08:06:46 +01:00
Joakim Nohlgård
a11c66382f
kinetis: Add dependency on rtt for LPTMR time base
2018-03-02 07:37:14 +01:00
Bas Stottelaar
bcffbba480
Merge pull request #8718 from cladmi/pr/cpu/efm32/remove_timer_set
...
cpu/efm32/periph/timer: remove timer_set duplicate
2018-03-01 20:16:01 +01:00
Gaëtan Harter
04e180dd3d
Merge pull request #8719 from gebart/pr/kinetis-lpuart-align
...
kinetis: Align defines in uart.c
2018-03-01 17:58:37 +01:00
Gaëtan Harter
6f2eeca91b
cpu/efm32/periph/timer: remove timer_set duplicate
...
timer_set is already provided by 'periph_common' so does not need to be
provided by cpu/periph.
2018-03-01 17:31:15 +01:00
Joakim Nohlgård
8f3fb59840
kinetis: Align defines in uart.c
2018-03-01 17:12:54 +01:00
Joakim Nohlgård
d8c80e245a
kinetis: Fix shiftTooManyBitsSigned warning in GPIO driver
2018-03-01 14:35:22 +01:00
Sebastian Meiling
f5ef0bd09c
Merge pull request #8345 from danpetry/cc2538_uart
...
cc2538/include/periph_cpu.h: Changed UART configuration format for cc2538.
2018-03-01 12:02:59 +01:00
c450cdebeb
Merge pull request #8482 from cogip/qdec
...
drivers: Initial import of low-level QDEC driver interface
2018-02-26 17:44:58 +01:00
MichelRottleuthner
bad08596f6
Merge pull request #8399 from OTAkeys/fix/mtd_native_write
...
mtd_native: fix overlapping pages write check
2018-02-26 15:38:46 +01:00
Vincent Dupont
f04ecee9f6
mtd_native: fix overlapping pages write check
2018-02-26 15:32:06 +01:00
Gilles DOFFE
bee493ac71
cpu/stm32_common: add qdec implementation
...
* Add support for the STM32 encoder interface
* The STM32 only supports X2 and X4 modes.
* Enable interrupt handler on counter overflow
* Add simple test code for QDEC based on nucleo-f401 board
Signed-off-by: Gilles DOFFE <g.doffe@gmail.com>
2018-02-23 23:17:26 +01:00
Gilles DOFFE
07158755ea
cpu/native: add qdec implementation
...
* Add support for the native encoder interface
* Native QDEC is there mostly for simulation
* Calling code will have to simulate QDEC increment/decrement
Signed-off-by: Gilles DOFFE <g.doffe@gmail.com>
2018-02-23 23:16:42 +01:00
Joakim Nohlgård
d4e5bea0a3
efm32: Use different values for each unsupported ADC res
2018-02-23 09:36:57 +01:00
Bas Stottelaar
11638eb1d6
cpu: efm32: fix typo in cpus.txt
2018-02-22 15:38:13 +01:00
Bas Stottelaar
864839cb90
cpu/efm32: efm32lg: add support
2018-02-21 19:16:49 +01:00
Bas Stottelaar
1e3fdce1d7
cpu/efm32: efm32lg: add vendor headers
2018-02-21 19:16:49 +01:00
Peter Kietzmann
e853c7534f
Merge pull request #8555 from kaspar030/stm32f4_fix_adc_res
...
cpu/stm32f4: fix periph/adc resolution check
2018-02-19 10:05:18 +01:00
Francisco Acosta
25c818bef0
cpu/efm32: fix flashpage_erase
2018-02-16 18:21:49 +01:00
Bas Stottelaar
a68f47eca1
cpu/efm32: efm32gg: add support.
2018-02-16 13:57:17 +01:00
Bas Stottelaar
f9f1b9ebfa
cpu/efm32: efm32gg: add vendor headers
2018-02-16 13:57:17 +01:00
Francisco Acosta
879e949967
Merge pull request #8572 from basilfx/bugfix/efm32_peripherals
...
cpu: efm32: fix ADC and RTC
2018-02-16 13:54:29 +01:00
Bas Stottelaar
2329b84935
cpu: efm32: fix ADC resolution selection
...
The `res` argument is a combination of resolution and shifting, combined using `(y << 4) | x`. To yield x, `0x0F` should have been used.
2018-02-15 21:14:09 +01:00
Bas Stottelaar
2af38d749c
cpu: efm32: fix RTC for Series 0 MCUs.
...
Without fix:
Setting alarm to 12627-11-30 15:00:05
Alarm is set to 12722-01-25 07:13:03
With fix:
Setting alarm to 2011-12-13 14:15:17
Alarm is set to 2011-12-13 14:15:17
2018-02-15 21:12:40 +01:00
Joakim Nohlgård
b61eeb9fe0
kinetis: Allow per-board config of ADC ref
...
ADC reference can be external pin or internal VREF module on most
Kinetis CPUs.
2018-02-14 15:16:41 +01:00
Bas Stottelaar
76ca2c9bb3
cpu: efm32: use static mutex initialization.
2018-02-14 09:30:08 +01:00
41dab11a8f
cpu/stm32f4: fix periph/adc resolution check
2018-02-13 21:45:02 +01:00
Francisco Acosta
1b2ce2d559
Merge pull request #8544 from smlng/osx/cflags
...
cpu/native: reduce scope of CFLAGS for OSX compatibility
2018-02-13 14:29:54 +01:00
Francisco Acosta
ac9328381c
cpu/cortexm_common: add NOP after WFI to avoid hardfault on stm32l152
2018-02-12 15:10:34 +01:00
smlng
15a7e6bb98
cpu/native: reduce scope of CFLAGS for OSX compatibility
2018-02-09 17:44:41 +01:00
Vincent Dupont
972eeefe6e
stm32_common/rtt: add support for stm32f4
2018-02-08 17:39:39 +01:00
danpetry
cd449e388b
cpu/cc2538: Adapted UART driver incl. board config
...
Changed the style of the UART configuration for different boards,
from a define based configuration to one based on an array of
structs, one struct for each UART, with the format of the struct defined
in cc2538/include/periph_cpu.h.
- Defined the fields of the struct in periph_cpu.h
- Removed the compilation includes that were in uart.c for each UART
- Implemented a generic ISR subroutine for clarity
- combined uart_base and uart_init in uart.c
- used bitmask for the interrupt setup
- took the uart Rx, Tx, and IRQ numbers out of the config
(as this has to match the .dev field). Replaced with
macros from the uart number
- took out some unused code
- implemented power on/off commands
- removed reset function - now bytes are just discarded on error
- Rx now not initialised if Rx callback = NULL, as per
drivers/periph/uart.h
- device is now enabled after callbacks are set, not before
- asserts raised if rts and cts are enabled for UART0
- BIT macro removed
2018-02-08 14:36:51 +01:00