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

161 Commits

Author SHA1 Message Date
Tristan Bruns
fbddb7e8a0 boards/pba-d-01-kw2x: use OpenOCD-supplied config 2018-06-25 11:07:19 +02:00
6bc494b928 boards: fix doxygen grouping 2018-06-11 19:12:02 +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
Joakim Nohlgård
a6c30ab61d kinetis: Move RTT config to periph_cpu.h 2018-05-22 16:46:39 +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
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
c4769f1cc4 boards/pba-d-01-kw2x: fix driver params usage 2018-03-01 10:02:39 +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
Joakim Nohlgård
f4e9cad85a boards: Separate boards from debug adapter configuration 2017-11-17 10:03:05 +01:00
smlng
5e7f0af450 boards, pba-d-01-kw2x: fix saul gpio init 2017-11-16 22:08:28 +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
443c8e39ed cpu: kinetis: make periph_rtc depend on 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
Joakim Nohlgård
7713bede99 openocd: Refactor openocd.sh script
- Merge flash and flash-elf commands since they were identical except
  for the file name of the image
- Split GDB command from DBG environment variable to allow more easily
  configure front-ends for GDB via environment variables.
- Remove verbose tests of empty variables and replace by `: ${VAR:=default}`
- Remove passed command line arguments to sub-functions, they were
  unused in the functions anyway.
- Remove TUI variable, use `export DBG_EXTRA_FLAGS=-tui` to get the same
  result.
2017-10-18 14:34:20 +02:00
56fa737d83 boards: makefiles indentation cleanup 2017-09-22 14:53:01 +02:00
02e055fc81 make: include cpu Makefile.features from board Makefile.features 2017-09-14 13:15:52 +02:00
Joakim Nohlgård
d8cc66e2d0 pba-d-01-kw2x: Remove unused configuration 2017-08-01 16:44:17 +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
Francisco Acosta
82780c5677 Merge pull request #7178 from kYc0o/pba-d-01-kw2x_remove_comments
boards/pba-d-01-kw2x: add comments to override CPU_MODEL
2017-07-17 15:23:31 +02:00
kYc0o
d601a92e1d boards/pba-d-01-kw2x: add comments for variant CPUs 2017-07-17 15:15:03 +02:00
Hauke Petersen
6e967f9776 boards/kinetis-based: beautify ADC configuration 2017-07-14 15:27:18 +02:00
smlng
addf64349c saul: add mpl3115a2 2017-06-29 09:57:17 +02:00
621823c29d Merge pull request #7214 from smlng/periph/button_macros
periph: generalize button macros and add test application
2017-06-22 16:10:42 +02:00
42830d2308 Merge pull request #6916 from gebart/pr/cortexm3-bitband
cpu: Add bit manipulation macros for Cortex-M
2017-06-21 12:47:41 +02:00
smlng
de948189c3 periph: generalized button macros 2017-06-20 21:19:56 +02:00
smlng
054c002960 saul: add support for tmp006 2017-06-14 20:45:01 +02:00
smlng
367247242f saul: add support for LEDs and buttons on pba-d-01-kw2x 2017-06-13 11:25:46 +02:00
Joakim Nohlgård
a63c0a84a6 kinetis: Use bit.h functions 2017-06-09 05:19:13 +02:00
Hauke Petersen
867b09c224 cpu/kinetis: make UART mode configurable per board 2017-05-24 14:48:49 +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
c3d318ea0a Merge pull request #6903 from miri64/doc/fix/unify-board-names
doc: boards: unify board names
2017-04-14 11:11:53 +02:00
Martine Lenders
b1547ffd4f doc: boards: unify board names 2017-04-14 02:23:20 +02:00
smlng
36526f8a3b driver, mag3110: add saul 2017-04-13 21:14:44 +02:00
smlng
644dbb1224 driver, mag3110: rework 2017-04-13 14:31:09 +02:00
Joakim Nohlgård
95e3d202f2 kw2xd: Rename CPU kw2x -> kw2xd
NXP calls the family KW2xD in their material.
http://www.nxp.com/products/microcontrollers-and-processors/arm-processors/kinetis-cortex-m-mcus/w-series-wireless-m0-plus-m4:KINETIS_W_SERIES
2017-04-13 10:47:42 +02:00
Joakim Nohlgård
a107a416cf kinetis: Refactor UART driver 2017-04-09 17:21:38 +02:00
kYc0o
97b11b34e3 boards/pba-d-01-kw2x: add Darwin serial port 2017-04-07 13:30:58 +02:00
Joakim Nohlgård
339a4da9dc Makefiles: move to new directory /makefiles 2017-04-04 15:11:54 +02:00
smlng
dbd05d3f3b cpp: add feature cpp to pba-d-01-kw2x 2017-02-25 07:51:59 +01:00
smlng
c81696a4bf cpp: fix spi_conf_t order in pba-d-01-kw2x 2017-02-25 07:51:52 +01:00
Cenk Gündoğan
d39ccdce21 pba-d-01-kw2x: fix LED2_PIN <-> LED0_PIN 2017-02-21 10:19:53 +01:00
Cenk Gündoğan
8c3bbf9c4d doc: pba-d-01-kw2x: brief -> name 2017-02-21 10:19:04 +01:00
a3497539c2 boards: fix PWM doxygen doc in periph_conf 2017-02-16 17:59:21 +01:00
Hauke Petersen
7ad342ca2d boards/pba-d-01-kw2x: map tcs37727 to SAUL devices 2017-02-16 14:46:50 +01:00
PeterKietzmann
e617d74fa8 drivers/kw2xrf: update default params on init 2017-02-07 15:08:14 +01:00
smlng
887f499eca drivers/kw2xrf: adapt to new SPI interface
- add docu for structs, defines and functions
    - exclude drivers/kw2xrf/include/overwrites.h (vendor header)
    - add missing header guards
2017-02-07 15:08:05 +01:00
Peter Kietzmann
513b20ffd3 Merge pull request #4780 from haukepetersen/opt_periph_spi2
drivers/spi: reworked SPI driver interface
2017-01-25 22:07:36 +01:00
Oleg Hahm
c5abb08316 Merge pull request #4058 from daniel-k/pr/gdb_threads_openocd
cortex_m: Add debug symbols for OpenOCD/GDB thread support
2017-01-25 17:49:42 +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
3c6678b037 *: fix mismatching endifs for header guards 2017-01-19 18:30:53 +01:00
Oleg Hahm
7ee7801c10 *: remove trailing underscores from header guards 2017-01-19 18:30:53 +01:00
Hauke Petersen
b368179d6b boards/pba-d-01-kw2x: adapted MMA8x5x configuaration 2017-01-18 10:51:15 +01:00
Hauke Petersen
924ea48695 board/bpa-d-01-kw2x: included hdc1000 via SAUL 2017-01-17 10:48:22 +01:00
daniel-k
9d403d95ce cortex_m: Add debug symbols for OpenOCD/GDB thread support 2017-01-16 20:50:35 +01:00
Hauke Petersen
4ed7ee9cea boards/phyNODE: adapted PWM configuration 2017-01-05 10:55:15 +01:00
10e9336c78 boards: adapt to automatically included boards/$board/Makefile.dep 2016-09-29 15:41:12 +02:00
kYc0o
e443b90815 Merge pull request #5452 from locicontrols/find-tty
Adjust find-tty.sh to return all matches, then use it in boards/cc2538dk
2016-07-22 16:01:46 +02:00
Joakim Nohlgård
54d1c2323c boards/pba-d-01-kw2x: Update configuration to match driver changes 2016-07-07 13:38:27 +02:00
Ian Martin
b1946e6715 dist: tools: let find-tty.sh return all matches, not just the first 2016-05-18 15:33:01 -04:00
Johann F
e2b5468b84 boards/pba-d-01-kw2x/board.c: fix leds default state
Signed-off-by: Johann F <j.fischer@phytec.de>
2016-04-21 22:23:44 +02:00
Oleg Hahm
10f5f1aa33 make: introduce netif_default pseudomodule
Additionally the dependencies for GNRC specific modules are centralized in Makefile.dep.
2016-03-24 16:47:30 +01:00
Cenk Gündoğan
551cb3365c Merge pull request #4814 from gebart/pr/kinetis-dac
cpu/kinetis_common: Add periph/dac implementation
2016-03-23 17:48:50 +01:00
Jonas
a886c7c0d5 pba-d-01-kw2x: enable support to flash board selected by its SERIAL no 2016-03-23 15:11:18 +01:00
Joakim Nohlgård
8c154d47ad cpu/kinetis_common: Implement DAC periph driver 2016-03-22 06:06:56 +01:00
Cenk Gündoğan
8afe8cd147 pba-d-01-kw2x: add mma8652 as dependency for saul_default 2016-03-21 16:16:11 +01:00
Cenk Gündoğan
0ffb75b19c pba-d-01-kw2x: add default values for mma8652_params 2016-03-21 16:16:11 +01:00
Hauke Petersen
5996706771 boards: adapted LED initialization calls 2016-03-17 14:55:31 +01:00
Hauke Petersen
c06cd23511 boards/pba-d-01-kw2x: unified LED defines 2016-03-15 18:37:52 +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
7dc8aa5098 boards/pba-d-01: updated ADC configuration 2016-03-14 13:06:24 +01:00
Oleg Hahm
f576317194 ci: split up cortex_m4 in even more groups 2016-03-08 20:37:25 +01:00
Cenk Gündoğan
4ea1a56f10 Merge pull request #4834 from cgundogan/pr/pba-d-01-kw2x/LED
pba-d-01-kw2x: use GPIO_PIN for LED_*_GPIO
2016-02-19 16:21:29 +01:00
Cenk Gündoğan
61724685c8 pba-d-01-kw2x: use GPIO_PIN for LED_*_GPIO 2016-02-19 07:55:30 +01:00
Francisco Javier Acosta Padilla
a47bda5302 board/pba-d-01-kw2x: user button added 2016-02-17 21:46:43 +01:00
Cenk Gündoğan
ddb111dfa9 pba-01-d-kw2x: add sensors to board.h 2016-02-15 15:43:20 +01:00
Hauke Petersen
fe5023b7d4 boards: adapted to HWRNG changes 2016-02-14 12:59:47 +01:00
Joakim Nohlgård
7835ab2be7 make: Move BOARD and CPU includes to Makefile.modules 2016-02-10 16:37:03 +01:00
Joakim Nohlgård
fae9a092fd boards: Remove Makefile.include.cortexm_common 2016-02-10 16:37:03 +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
Hauke Petersen
ac2b9f2524 boards: changed module name to 'board' 2015-12-07 17:53:22 +01:00
Oleg Hahm
d65d213def CI: split up Cortex-M4 in two groups 2015-12-03 17:38:24 +01:00
Joakim Nohlgård
142c28094e kinetis_common: Refactor GPIO implementation
This is a rewrite of the Kinetis GPIO driver which follows the
refactored API in [1]. Pins are specified using the GPIO_PIN(PORT_x, y)
macro, e.g. GPIO_PIN(PORT_E, 25) for the PTE25 pin.

The interrupt pin handling is now implemented as a linked list, this
is more memory efficient, but with a minor variation in interrupt
latency depending on in what order the pins were initialized at
runtime.

Because the linked list entries are taken from a shared pool, there is
also the possibility of running out of available configuration slots,
define the preprocessor macro GPIO_INT_POOL_SIZE in periph_conf.h if
you need more than 16 pins configured for interrupts in the same
application.

[1]: https://github.com/RIOT-OS/RIOT/pull/3095
2015-10-28 14:12:19 +01:00
Hauke Petersen
528e832c90 boards: cleaned up entries in Makefile.features 2015-10-21 16:45:21 +02:00
Hauke Petersen
1d393fae87 baords: s/TIMER_DEV/TIMER_BASE/ for kinetis boards 2015-09-17 13:57:58 +02:00
Hauke Petersen
8d89b95af5 boards: added missing periph_timer feature 2015-09-16 10:58:56 +02:00
Martine Lenders
58ff31bfe9 gnrc: make all gnrc modules sub-modules of gnrc 2015-08-18 23:00:07 +02:00
830af458ea oldnet: remove radio_packet_length_t define 2015-08-06 12:13:18 +02:00
Oleg Hahm
e634b8c5a8 Merge pull request #3056 from OlegHahm/board_leading_underscore_removal
boards: remove header guard under scores
2015-06-28 17:27:28 +02:00
Oleg Hahm
5312ae998b boards: removed incorrect doxygen comment markers 2015-06-24 15:54:36 +02:00
BigDaddyD
b6bd067863 boards: removed leading underscores from macros
* also added a trailing underscore to header guards for consistency

Commit for PR 2623, repairing header file include guards.
This PR is intended to fix the include guards in files under RIOT/boards

SQUASH ME: fix underscore removal overdos

SQUASH ME: consistent macro naming

SQUASH ME: missed that one

SQUASH ME: fixed overdo

SQUASH ME: consistency
2015-06-24 15:54:36 +02:00
Hauke Petersen
350cfc7a2b Merge pull request #3095 from haukepetersen/opt_gpio
drivers/gpio: changed periph driver interface
2015-06-15 13:57:03 +02:00
Jonas
e29f005f8f boards/pba-d-01-kwx: ng_netif to ng_netif_default 2015-06-13 22:30:04 +02:00