Commit Graph

23 Commits (0f2fa7883cf75bec70d3ade0ec8d3e00b8151a7c)

Author SHA1 Message Date
Joakim Nohlgård 1079866b33 k64f: Use kinetis_common ldscript 6 years ago
Alexandre Abadie 89c5507239 Merge pull request #6788 from gebart/pr/kinetis-lptimer-latch-macro
kinetis: Remove LPTIMER_CNR_NEEDS_LATCHING
6 years ago
Francisco Acosta ffd67cacea Merge pull request #6789 from gebart/pr/cpu-model-redundant
kinetis: Remove duplicate CPU_MODEL CFLAGS definition
6 years ago
Joakim Nohlgård 7f8cde177b kinetis: Remove LPTIMER_CNR_NEEDS_LATCHING
The macro is no longer used after the timer driver was refactored
6 years ago
Joakim Nohlgård 339a4da9dc Makefiles: move to new directory /makefiles 6 years ago
Joakim Nohlgård d578f9bfdc kinetis: Remove duplicate CPU_MODEL CFLAGS definition
These are already provided by cortexm_common
6 years ago
Joakim Nohlgård d73e6872ba kinetis: Refactor interrupt vector definition
... to match the vector definition in other Cortex-M platforms
6 years ago
Hauke Petersen 37d4f44379 cpus: mv vendor headers to include/vendor/. 6 years ago
Hauke Petersen 4bfce892d3 drivers/periph&cpu: add and use common periph_init() 6 years ago
Alexandre Abadie 245f60edfa cpu: fix typo in author email 6 years ago
Kaspar Schleiser 0194091673 remove obsolete lpm code 6 years ago
Kaspar Schleiser 560a509036 make: remove trailing slash from BINDIR variable 7 years ago
Kaspar Schleiser 5ab97fe38b cpu: build cortexm vectors.c without LTO 7 years ago
zhuoshuguo 1cbe79a373 CPU: fix include header guards
Fix cpu/lpc2387/include/lpc2387.h
7 years ago
Hauke Petersen 58e2b93b7b cpu/k64f: moved include of mcg.h to cpu.c 7 years ago
Kaspar Schleiser 6881f65f46 cpu: cortexm*: move cpu_conf.h stuff from cpu.h into cpu_conf_common.h 7 years ago
Hauke Petersen d80a661486 Merge pull request #4761 from haukepetersen/opt_cpuid
drivers/cpuid: fixed and unified CPUID driver implementations
7 years ago
Hauke Petersen 940097336a cpu: cleanup and unification of CPUID implementations
- moved definition of CPUID_LEN to periph_cpu.h
- fixed some doxygen
- simplyfied some implementations
7 years ago
Joakim Nohlgård a1d2ecc3de cpu/k64f: Add __attribute__((used)) to interrupt vector 7 years ago
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
8 years ago
Johann Fischer e95afc80fb kinetis_common: use cortexm_common ldscript
kinetis.ld includes cortexm_common ldscript, the fields for the
isr vectors and fcfield remain in kinetis.ld.
8 years ago
Joakim Gebart ed81e35e4c cpu/kinetis_common: refactor ldscripts
- Merged the two kinetis_common ldscripts into a single script.
 - Updated cpus to use the new script
 - Updated K60 to merge sram_l and sram_u into one segment
8 years ago
Johann F d614cbe066 cpu/k64f: initial import for the Freescale K64F Cortex-M4 MCU 8 years ago