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

191 Commits

Author SHA1 Message Date
Joakim Nohlgård
4a9cb807c6 k60: Remove (broken) support for first revision K60 hardware
The CPU has multiple issues and several parts of the platform code
does not even compile cleanly for this CPU in the current state.

This removes support for parts MK60DN256ZVLL10, MK60DN512ZVLL10
(note the Z) CPUs with this part number were used in Mulle v0.60 which
only has been used in some in-house projects at Eistec and LTU.
2017-04-07 08:39:49 +02:00
DipSwitch
a322200582 cpu: remove superfluous SystemCoreClockUpdate 2017-04-06 10:19:27 +02:00
Joakim Nohlgård
339a4da9dc Makefiles: move to new directory /makefiles 2017-04-04 15:11:54 +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
Joakim Nohlgård
8f81121f29 boards/mulle: Add FRAM to DevFS 2017-03-07 17:59:59 +01: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
10e9336c78 boards: adapt to automatically included boards/$board/Makefile.dep 2016-09-29 15:41:12 +02:00
b3a061e0ab sys: remove config module 2016-08-27 07:57:09 +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
8dad08289c boards/mulle: Update timer configuration to match driver modifications 2016-07-07 13:38:28 +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
Peter Kietzmann
9931f4c902 Merge pull request #5337 from gebart/pr/mulle-pta17-adc
boards/mulle: PTA17 analog input is on ADC1 module
2016-04-26 20:35:34 +02:00
kYc0o
ac724f00ba Merge pull request #4435 from thomaseichinger/pr/mulle_serial_port_osx
boards/mulle: mulle boards' serial port is derived from its serial nr
2016-04-20 18:46:31 +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
Thomas Eichinger
d25fb8a8a8 boards/mulle: mulle boards' serial port is derived from its serial nr 2016-04-02 14:04:46 -03:00
c3f7186d4e unify usage of inline assembly 2016-03-31 22:23:35 +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
Hauke Petersen
2510fe03f5 Merge pull request #4646 from authmillenon/at86rf2xx/api/netdev2
at86rf2xx: port to netdev2
2016-03-24 15:03:15 +01:00
Martine Lenders
5bfc9e43fb at86rf2xx: port to netdev2 2016-03-23 17:45:16 +01: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
e524cb89d7 boards/mulle: adapted to GPIO driver changes 2016-03-17 14:55:31 +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
ae108581d3 boards/*/Makefile.include: replace $(shell ls) by native Makefile functions 2016-03-11 15:05:06 +01:00
Joakim Nohlgård
44fcde36ab boards/mulle: Avoid RMW bitbanding in LED macros 2016-03-08 09:48:10 +01:00
Martine Lenders
bd83828eda Merge pull request #4947 from gebart/pr/mulle-programmer-0.70-default
boards/mulle: Default to programmer version 0.70
2016-03-04 05:41:49 +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
Joakim Nohlgård
5e78177c27 boards/mulle: Default to programmer version 0.70 2016-03-02 13:06:32 +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
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
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
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
Hauke Petersen
af067e9428 boards/mulle: use default at86rf2xx_params.h 2015-11-19 16:25:40 +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
Peter Kietzmann
c59f2450a7 Merge pull request #4133 from gebart/pr/mulle-xtimer-init
mulle: Initialize xtimer early to support nvram usage in board_init
2015-10-22 11:49:02 +02:00
Peter Kietzmann
24a82833f1 Merge pull request #4128 from haukepetersen/opt_boards_makefeat
boards: cleaned up entries in Makefile.features
2015-10-22 11:05:45 +02:00
Joakim Nohlgård
043deca350 mulle: Initialize xtimer early to support nvram usage in board_init 2015-10-22 07:54:25 +02:00
Hauke Petersen
528e832c90 boards: cleaned up entries in Makefile.features 2015-10-21 16:45:21 +02:00
Joakim Gebart
22af0cca80 mulle: Initialize NVRAM storage at boot, update boot counter
The boot counter is incremented on each boot. Still missing is an
interface for reading the boot counter from an application.
2015-10-13 18:19:34 +02:00
Joakim Nohlgård
98c465008b all: Update @gebart family name, email 2015-09-20 13:47:39 +02:00
Hauke Petersen
fc3c0f373c Merge pull request #3780 from haukepetersen/add_test_periph_timer
tests: added test for periph_timer plus adaption
2015-09-18 18:03:32 +02:00
Hauke Petersen
1d393fae87 baords: s/TIMER_DEV/TIMER_BASE/ for kinetis boards 2015-09-17 13:57:58 +02:00
Hauke Petersen
6398abda06 boards/mulle: removed comment about hwtimer 2015-09-17 11:26:34 +02:00
Hauke Petersen
18e364ae17 boards: removed deprecated HW_TIMER defines 2015-09-17 11:22:03 +02:00
Hauke Petersen
8d89b95af5 boards: added missing periph_timer feature 2015-09-16 10:58:56 +02:00
b665dac421 boards: mulle: remove hwtimer from board.h 2015-09-16 10:58:53 +02:00
Martine Lenders
58ff31bfe9 gnrc: make all gnrc modules sub-modules of gnrc 2015-08-18 23:00:07 +02:00
Joakim Gebart
ff05007a6e boards/mulle: cleanup
Remove old syscalls implementation from before cortexm_common unification and sys/newlib introduction.
2015-08-14 20:09:44 +02:00
Oleg Hahm
8639d2c27d at86rf2xx: rename remaining files and variables 2015-08-11 23:52:02 +02:00
Martine Lenders
8f9e1656e1 at86rf2xx: remove ng_ prefix 2015-08-10 00:08:21 +02:00
Hauke Petersen
bff1d7e73e boards: remove feature 'transceiver' 2015-08-06 12:13:54 +02:00
bbf64e81ec remove defaulttransceiver, cc110x, cc2420 traces 2015-08-06 12:13:54 +02:00
830af458ea oldnet: remove radio_packet_length_t define 2015-08-06 12:13:18 +02:00
Joakim Gebart
cefd7cdab0 boards/mulle: Reduce RTC crystal load capacitance 2015-07-16 16:29:56 +02:00
Joakim Gebart
5949cf0e7e mulle: Add dependency check for ng_netif_default 2015-07-15 15:26:49 +02:00
Joakim Gebart
7217c9f8ba mulle: ng_at86rf2xx parameters 2015-07-15 15:26:49 +02:00
Joakim Gebart
eff9338e2a boards/mulle: Add fallback for PORT
Fixes a problem with make buildtest if TARGET=mulle and no USB serial device connected:

    $ make buildtest
    Warning: no PORT set!
    Building for Warning: .. failed
    .../riot/Makefile.include:110: *** The specified board Warning: does not exist..  Stop.
    .../riot/Makefile.include:110: *** The specified board Warning: does not exist..  Stop.
    Building for no (no linking) .. failed
    .../riot/Makefile.include:110: *** The specified board no does not exist..  Stop.
    .../riot/Makefile.include:110: *** The specified board no does not exist..  Stop.
    Building for PORT .. failed
    .../riot/Makefile.include:110: *** The specified board PORT does not exist..  Stop.
    .../riot/Makefile.include:110: *** The specified board PORT does not exist..  Stop.
    Building for set! .. failed
    .../riot/Makefile.include:110: *** The specified board set! does not exist..  Stop.
    .../riot/Makefile.include:110: *** The specified board set! does not exist..  Stop.
    Building for airfy-beacon (no linking) .. ^C
2015-07-10 16:55:54 +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
Joakim Gebart
e2d49b43e9 mulle: Update OpenOCD conf to work with 0.9.0
OpenOCD 0.9.0 added a definition of a single flash bank as
"$_CHIPNAME.flash" (the chip has two flash banks), the new flash bank
definitions are enclosed in catch statements to avoid startup errors.

The original configuration when combined with openocd 0.9.0 caused an
error during flash probing (which happens during GDB connect), because
of three defined flash banks, which made openocd drop the GDB
connection.
2015-06-24 15:59:14 +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
a174b7644a boards: adjusted peripheral confs to GPIO changes 2015-06-12 19:12:21 +02:00
Joakim Gebart
612044dfef mulle: Use common Cortex M build enviornment 2015-05-31 18:31:20 +02:00
Joakim Gebart
6e12503937 mulle: remove device map 2015-05-31 18:31:17 +02:00
Joakim Gebart
a6f378a64e mulle: Increase GPIO_NUMOF to match the enabled GPIOs 2015-05-27 17:27:54 +02:00
Joakim Gebart
175d3d7747 mulle: Use work-area-phys in openocd to speed up flash verification 2015-05-27 10:30:34 +02:00
Johann Fischer
31c0ea7358 Merge pull request #2994 from gebart/pr/kinetis-pwm-refactor
kinetis: Refactor PWM periph
2015-05-22 09:51:47 +02:00
Joakim Gebart
7b4450bd0a mulle: Use BITBAND_REG32 instead of BITBAND_REG 2015-05-21 11:00:49 +02:00
Joakim Gebart
964fdb5cf2 mulle: Add PWM configuration 2015-05-20 06:19:51 +02:00
Joakim Gebart
19c17c529c mulle: Add FEATURES_MCU_GROUP=cortex_m4 2015-05-19 08:56:29 +02:00
Joakim Gebart
4352dbe26d mulle: Add GPIO_26 on PTE4 2015-05-14 18:12:37 +02:00
Joakim Gebart
4ae819c011 mulle: Initial import of Eistec Mulle board.
Initially supports only Mulles with serial number > 220 (due to missing
MK60DN256ZVLL10 support in k60).

See also: https://github.com/RIOT-OS/RIOT/wiki/Board%3A-Mulle

Signed-off-by: Joakim Gebart <joakim.gebart@eistec.se>
2015-03-28 08:32:46 +01:00