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

147 Commits

Author SHA1 Message Date
Benjamin Valentin
8af04cd939 boards: make use of ARRAY_SIZE macro 2019-08-06 19:43:54 +02:00
a68f78bb10
boards/*: remove unused FEATURES_MCU_GROUP variable 2019-06-14 11:32:15 +02:00
4cde5a47e2
boards/mulle: remove useless export when setting DEBUG_ADAPTER_ID 2019-06-03 10:32:08 +02:00
414c304f2b
boards/*: remove useless export when setting DEBUG_ADAPTER 2019-06-03 10:32:08 +02:00
Gaëtan Harter
e40d569204
kinetis: save 'wdog-disable.bin' binary in the repository
Keep the compiled '.bin' file to remove the need to compile it when
flashing. This remove the need to have the toolchain when flashing so
allow compiling and flashing with `BUILD_IN_DOCKER=1` without a local
toolchain.

Even if it ends up storing a binary, the file is only 34 bytes.
2019-05-28 14:37:11 +02:00
francisco
963bbe75ba kinetis/check-fcfield: merge hex and elf script 2019-05-27 17:38:46 +02:00
Juan Carrano
c6b8cbea00 kinetis-based-boards: use FLASHDEPS instead of flash: xxxx.
With the canned recipe for flashing, flash dependencies should be
added to FLASHDEPS, instead of writing `flash: dependencies`. This
ensures that both flash and flash-only depend on the same prerequisites.
2018-12-06 15:36:53 +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
Hauke Petersen
c2184f3454 boards/cpu/drivers/sys: use generic stdio_ if 2018-08-22 10:54:25 +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
Jose Alamos
a1e17ab5af doc: add wiki documentation to Doxygen files 2018-08-01 15:24:54 +02:00
Joakim Nohlgård
127b0134b2 mulle: Update I2C ISR config 2018-07-25 12:01:39 +02:00
Joakim Nohlgård
d95cf40d23 mulle: Update I2C configuration 2018-07-25 12:01:39 +02:00
Joakim Nohlgård
723d86bab0 boards/mulle: Fix mixed up RX TX pins on UART0 2018-06-30 15:40:27 +02:00
Francisco Acosta
9a0f3469b7
Merge pull request #8930 from gebart/pr/kinetis-rtt-refactor
kinetis: Refactor RTT driver
2018-05-30 14:54:15 +02:00
Francisco Acosta
6e484f7aed
Merge pull request #8814 from gebart/pr/kinetis-periph-timer-tfc
cpu/kinetis: Refactor LPTMR timer implementation
2018-05-29 15:54:11 +02:00
Joakim Nohlgård
a6c30ab61d kinetis: Move RTT config to periph_cpu.h 2018-05-22 16:46:39 +02:00
Joakim Nohlgård
c25613fd5c mulle: Update LPTMR config 2018-05-22 16:45:41 +02:00
cb991cd47d boards: use RIOTTOOLS variable 2018-05-15 11:23:44 +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
ebeaa2b6fc mulle: Fix off-by-1 error in clock dividers
The comment says the config should yield 24 MHz flash clock, but the
settings were configured to divide-by-3. (48 MHz / 3 = 16 MHz)
2018-04-12 13:03:54 +02:00
Gaëtan Harter
fff5810191 Makefile.include: FIX .DEFAULT_GOAL not being all
.DEFAULT_GOAL was reset many times which removed 'all' from being the default
goal.
By chance it was then set to `link` so was working by some magic.
2018-03-28 16:59:00 +02:00
942b0dd064 boards/mulle: fix driver params usage 2018-02-28 18:28:13 +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
b78c96ffc7 boards/*: make brief description consistent 2018-01-24 08:30:56 +01:00
9ecc80fb35 boards/mulle: fix doxygen invalid use of '@brief' 2018-01-16 16:08:41 +01:00
Joakim Nohlgård
f4e9cad85a boards: Separate boards from debug adapter configuration 2017-11-17 10:03:05 +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
172c9e8066 boards: mulle: always select periph_rtt 2017-11-06 12:01:19 +01:00
ae51dc55d0 boards: adapt to reorganized CPU Makefile.features 2017-11-02 12:59:46 +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
Joakim Nohlgård
887ddcec69 mulle: Update flash verify script to use ELF version 2017-10-18 14:34:20 +02:00
Joakim Nohlgård
4ee2e0c82b mulle: Remove second flash bank declaration from OpenOCD configuration
This is no longer required and causes problems with modern OpenOCD which
will automatically add all flash banks when probing Kinetis CPUs.
2017-10-05 12:33:37 +02:00
02e055fc81 make: include cpu Makefile.features from board Makefile.features 2017-09-14 13:15:52 +02: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