1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-18 08:32:43 +01:00
Commit Graph

72 Commits

Author SHA1 Message Date
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
22c52bd3a8 kinetis: Unify all Kinetis CPUs in one directory 2017-11-10 10:42:59 +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
Francisco Acosta
ba2e55bc93
Merge pull request #7436 from gebart/pr/mulle-rtt-config
mulle: Update RTT config to match other Kinetis boards
2017-10-31 15:38:14 +01:00
Hauke Petersen
7ea1e9d127 Merge pull request #6572 from gebart/pr/mulle-lis3dh-settings
mulle: Use hardware CS for on-board LIS3DH
2017-08-24 16:52:27 +02:00
Hauke Petersen
5809c1940c boards: don't redefine xtimer default values 2017-08-18 11:18:45 +02:00
Joakim Nohlgård
c235ca3b7e mulle: Remove unused configuration 2017-08-01 16:43:53 +02:00
Joakim Nohlgård
742bcad912 kinetis: Unify cpu.c, update clocking initialization
Unify cpu_init for all Kinetis CPUs to reduce code duplication.
Updated the MCG driver implementation to make the configuration easier.
Most clock settings are initialized by kinetis_mcg_init() called from
cpu_init. Board specific external clock source initialization
(FRDM-K64F, PhyNode) needs to be performed in board_init instead of
in cpu_init.
2017-08-01 16:30:19 +02:00
Joakim Nohlgård
9210f0db7d mulle: Update RTT config to match other Kinetis boards 2017-08-01 14:25:08 +02:00
Hauke Petersen
3c623f63c3 cpu/kinetis: optimization of DAC driver impl.
- use assert() for checking the line parameter
- use 'bit.h' for bitbanding
- simplified code a bit
- unified style of defifining the board configuration
- removed unused configurations form pba-d-01-kw2x and frdm-k64f
2017-07-20 16:44:41 +02:00
Hauke Petersen
6e967f9776 boards/kinetis-based: beautify ADC configuration 2017-07-14 15:27:18 +02:00
Joakim Nohlgård
a63c0a84a6 kinetis: Use bit.h functions 2017-06-09 05:19:13 +02:00
Martine Lenders
d4693648ba Merge pull request #7095 from kaspar030/add_headerguard_check_script
dist: tools: add headerguard check script
2017-05-24 18:08:29 +02:00
0fcc7d3834 cleanup: apply headerguard script output 2017-05-24 17:54:02 +02:00
Hauke Petersen
867b09c224 cpu/kinetis: make UART mode configurable per board 2017-05-24 14:48:49 +02:00
Martine Lenders
4cd579b236 Merge pull request #6809 from gebart/pr/mulle-led-macros
mulle: Streamline LED macros
2017-05-11 14:45:42 +02:00
Martine Lenders
0cc15955f6 Merge pull request #6958 from haukepetersen/fix_kinetis_uart
cpu/kintis+boards: fixed UART configuration
2017-04-25 17:22:45 +02:00
Hauke Petersen
9dabbddb2f cpu/kintis+boards: fixed UART configuration 2017-04-25 14:27:33 +02:00
Martine Lenders
b1547ffd4f doc: boards: unify board names 2017-04-14 02:23:20 +02:00
Joakim Nohlgård
a107a416cf kinetis: Refactor UART driver 2017-04-09 17:21:38 +02:00
DipSwitch
a322200582 cpu: remove superfluous SystemCoreClockUpdate 2017-04-06 10:19:27 +02:00
Vincent Dupont
3af13e70ee Merge pull request #6810 from gebart/pr/mulle-hwcs
mulle: Configure hardware CS for all on-board SPI slaves
2017-03-30 11:26:22 +02:00
Joakim Nohlgård
2c6088de55 mulle: Add a configuration for the onboard flash memory 2017-03-29 16:52:11 +02:00
Joakim Nohlgård
ba816a0b5f mulle: Configure hardware CS for all on-board SPI slaves 2017-03-29 13:07:19 +02:00
Joakim Nohlgård
7ede2218b2 mulle: Streamline LED macros 2017-03-28 17:08:54 +02:00
Joakim Nohlgård
039d9ac33e mulle: Use hardware CS for on-board LIS3DH 2017-03-28 17:07:55 +02:00
a3497539c2 boards: fix PWM doxygen doc in periph_conf 2017-02-16 17:59:21 +01:00
Hauke Petersen
ed2bb9d3f8 drivers/lis3dh: fixed bug and simplified init()
- changed to SPI_MODE_0
- made init() function use the params struct as parameter
2017-01-26 10:12:44 +01:00
Hauke Petersen
5bdb3bfa61 misc: aggregated doxygen fixes 2017-01-25 16:46:46 +01:00
Hauke Petersen
5880d0edda cpu/kinetis+boards: adapted to new SPI API
- adapted the SPI driver
- adapted all boards using the CPU
2017-01-25 16:46:05 +01:00
Oleg Hahm
7ee7801c10 *: remove trailing underscores from header guards 2017-01-19 18:30:53 +01:00
Hauke Petersen
b09fdc6a0a boards/mulle: adapted PWM configuration 2017-01-05 10:55:15 +01:00
Joakim Nohlgård
8dad08289c boards/mulle: Update timer configuration to match driver modifications 2016-07-07 13:38:28 +02:00
Joakim Nohlgård
e6183f3041 boards/mulle: PTA17 analog input is on ADC1 module 2016-04-18 11:41:38 +02:00
Joakim Nohlgård
99deb32911 boards/mulle: Add SAUL ADC parameters 2016-04-08 10:18:13 +02:00
Joakim Nohlgård
8c154d47ad cpu/kinetis_common: Implement DAC periph driver 2016-03-22 06:06:56 +01:00
Hauke Petersen
05730e48ba Merge pull request #4860 from gebart/pr/mulle-saul-gpio
boards/mulle: Add SAUL GPIO parameters for onboard LEDs
2016-03-21 17:06:50 +01:00
Joakim Nohlgård
6fcefc2bb8 boards/mulle: Add SAUL GPIO parameters for onboard LEDs 2016-03-19 13:27:51 +01:00
Joakim Nohlgård
bf755d025d boards/mulle: Add more ADC lines to default configuration 2016-03-19 13:21:57 +01:00
Hauke Petersen
07c303ce73 boards/mulle: unified LED defines 2016-03-15 16:24:49 +01:00
Hauke Petersen
b9824b9e49 Merge pull request #4956 from gebart/pr/kinetis-pwm
cpu/kinetis_common: Use gpio_init_port for PWM pin handling
2016-03-15 11:11:13 +01:00
Peter Kietzmann
513ad7176e Merge pull request #4985 from gebart/pr/mulle-leds
boards/mulle: Avoid RMW bitbanding in LED macros
2016-03-15 09:22:01 +01:00
Joakim Nohlgård
65bb26f0b4 cpu/kinetis_common: Use gpio_init_port for PWM pin handling 2016-03-14 17:52:51 +01:00
Hauke Petersen
b5d03dd4e9 boards/mulle: adapted to ADC driver changes 2016-03-14 13:06:24 +01:00
Joakim Nohlgård
44fcde36ab boards/mulle: Avoid RMW bitbanding in LED macros 2016-03-08 09:48:10 +01:00
Hauke Petersen
af48dadb26 Merge pull request #4807 from gebart/pr/saul-lis3dh
drivers/lis3dh: Add SAUL support
2016-03-02 13:23:29 +01:00
Hauke Petersen
fe5023b7d4 boards: adapted to HWRNG changes 2016-02-14 12:59:47 +01:00
Joakim Nohlgård
91ebc86dab boards/mulle: Add LIS3DH SAUL auto init parameters 2016-02-13 21:25:11 +01:00
Hauke Petersen
9ddd13b0b8 boards: removed F_CPU from periph_conf.h 2016-01-27 09:52:44 +01:00
Hauke Petersen
db25206a58 boards: use default values for STDIO defines 2016-01-05 12:08:31 +01:00