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

55 Commits

Author SHA1 Message Date
Hugues Larrive
d339437225 boards/frdm-k64f: fixes long lines and comma separated by whitespaces warnings 2023-06-29 15:33:18 +02:00
Benjamin Valentin
5d111e71aa boards: drop board_init() from board.h 2022-02-25 15:08:58 +01:00
c6c31f0361
boards/kinetis: replace GPIO_UNDEF with SPI_CS_UNDEF 2022-01-06 12:34:09 +01:00
Jan Romann
4384795cb9
treewide: Remove excessive newlines 2021-08-13 19:50:38 +02:00
Benjamin Valentin
8af04cd939 boards: make use of ARRAY_SIZE macro 2019-08-06 19:43:54 +02:00
Joakim Nohlgård
a42df69ea8 frdm-k64f: Add LPTMR configuration 2018-12-06 14:18:05 +01:00
Joakim Nohlgård
2b0892996e frdm-k64f: Define BTNx macros for user pushbuttons 2018-11-28 10:43:36 +01:00
Joakim Nohlgård
dd2fad6b9b kinetis: ADC: Add hardware averaging configuration
This allows a board configuration to select which kind of averaging
should be applied to the pin instead of always using 32 sample average.
Very high impedance sources may need to disable hardware averaging in
order to give correct values, the on-chip temperature sensor is one such
signal source.
2018-09-12 16:32:48 +02:00
Joakim Nohlgård
8487710173 frdm-k64f: Add ADC SAUL configuration 2018-08-11 06:38:23 +02:00
Joakim Nohlgård
45edfa43bf frdm-k64f: Add configuration for dedicated analog pins
These pins have no alternate function in the pin mux so we might as well
make them available to applications. These pins are the only pins which
provide differential analog input pairs on this board.
2018-08-10 16:27:06 +02:00
Joakim Nohlgård
9d720877d3 frdm-k64f: Change ADC config to use the Arduino compatible pins 2018-08-10 16:25:35 +02:00
Joakim Nohlgård
da5a57e72d frdm-k64f: Correct and format ADC pin configuration
Only ADC1 has a connection with the configured pins, the chosen channels
on ADC0 are connected to other pins.
2018-08-10 16:23:59 +02:00
Kevin Weiss
8468fe1c94
Merge pull request #8516 from jia200x/wiki_dox_convertion
doc: move wiki to Doxygen documentation (second attempt)
2018-08-07 13:27:04 +02:00
Jose Alamos
7b28fbf110 boards: fix Doxygen group directives 2018-08-01 15:24:55 +02:00
Joakim Nohlgård
ecb44c477c frdm-k64f: Update I2C ISR config 2018-07-25 12:01:39 +02:00
Joakim Nohlgård
9e8f5a03d0 frdm-k64f: Update I2C configuration 2018-07-25 12:01:39 +02:00
Joakim Nohlgård
8163e285ac frdm-k64f: Add FXOS8700CQ configuration 2018-06-27 21:41:03 +02:00
Joakim Nohlgård
a6c30ab61d kinetis: Move RTT config to periph_cpu.h 2018-05-22 16:46:39 +02:00
70802fc652 boards*: cleanup doxygen
- replace brief with name where required
- remove some unwanted empty lines
- fix missing closing doxygen name block
2018-04-18 12:08:56 +02:00
Joakim Nohlgård
c54f6b4fcf kinetis: Refactor clock generator initialization 2018-04-17 06:59:22 +02: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
b78c96ffc7 boards/*: make brief description consistent 2018-01-24 08:30:56 +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
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
Joakim Nohlgård
526854c19d frdm-k64f: Remove unused configuration 2017-08-01 16:43:28 +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
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
kYc0o
651889e3cd boards/frdm-k64f: typo on UART_0_ISR fixed 2017-04-28 18:29:20 +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
882bcff048 boards: replace @brief with @name when necessary 2017-04-13 12:10:30 +02:00
Joakim Nohlgård
a107a416cf kinetis: Refactor UART driver 2017-04-09 17:21:38 +02:00
a3497539c2 boards: fix PWM doxygen doc in periph_conf 2017-02-16 17:59:21 +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
Hauke Petersen
66254ffd4f boards/frdm-k64f: adapted PWM configuration 2017-01-05 10:55:15 +01:00
Joakim Nohlgård
647d90c44f boards/frdm-k64f: Update configuration to match driver changes 2016-07-07 13:38:27 +02:00
Joakim Nohlgård
8c154d47ad cpu/kinetis_common: Implement DAC periph driver 2016-03-22 06:06:56 +01:00
Hauke Petersen
9f12d26902 boards/frdm-k64f: unified LED defines 2016-03-15 15:48:47 +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
4f157c6489 boards/frdm-k64f: updated ADC configuration 2016-03-14 13:06:24 +01:00
Hauke Petersen
fe5023b7d4 boards: adapted to HWRNG changes 2016-02-14 12:59:47 +01:00
Hauke Petersen
b436219674 boards: removed F_CPU define from board.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