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

30 Commits

Author SHA1 Message Date
Gunar Schorcht
46040a4361 boards: use XFA with MTD pointers for defined MTDs 2023-10-02 12:28:08 +02:00
Benjamin Valentin
468ea89953 boards: drop LED init
This is handled by periph_init_leds now
2022-02-18 14:35:43 +01:00
Benjamin Valentin
67417ce5a9 drivers/mtd_spi_nor: drop addr_width from mtd_spi_nor_params_t
This is now always determined at run-time.
2022-02-04 12:17:17 +01:00
Francisco Molina
0398fb3f83 drivers/nvmram_spi: convert to ztimer_usec 2022-01-18 16:27:44 +01:00
Benjamin Valentin
fc88c4c4e5 boards: drop cpu_init() 2021-10-13 23:36:41 +02:00
Han Xinrong
385dfe46a5 boards/mulle/board.c:add error checks of devfs_register() 2020-12-09 17:55:25 +08:00
Benjamin Valentin
c839fe2e77 boards: define mtd_spi_nor HOLD and WP pins
None of the boards used them before, so just set them to GPIO_UNDEF
2020-11-02 21:17:36 +01:00
Benjamin Valentin
fde3026312 drivers/mtd_spi_nor: prevent data corruption on 'sector erase'
There is no difference between 4k erase and sector erase.
But sector erase would previously do `.block_erase` which would not
erase a sector (4k) but a whole block (64k).

Fortunately all boards declare `SPI_NOR_F_SECT_4K` and all file systems
don't try to erase anything smaller, so this was never triggered.

Add an `assert(0)` to crash instead of corrupting data.
2020-10-26 13:48:26 +01:00
Francisco Molina
61eecf6fe0
drivers/mtd_spi_nor: power up MTD on init 2020-04-21 11:09:40 +02:00
dcdaf8a2ab
mulle: add erase timings to mtd_spi_nor instance 2020-03-03 09:49:08 +01:00
d40ccc2d6f
mulle: Adapt to separate mtd_spi_nor params 2020-02-11 15:55:41 +01:00
Joakim Nohlgård
c54f6b4fcf kinetis: Refactor clock generator initialization 2018-04-17 06:59:22 +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
Martine Lenders
b1547ffd4f doc: boards: unify board names 2017-04-14 02:23:20 +02:00
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
2c6088de55 mulle: Add a configuration for the onboard flash memory 2017-03-29 16:52:11 +02:00
Joakim Nohlgård
8f81121f29 boards/mulle: Add FRAM to DevFS 2017-03-07 17:59:59 +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
c3f7186d4e unify usage of inline assembly 2016-03-31 22:23:35 +02: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
Joakim Nohlgård
043deca350 mulle: Initialize xtimer early to support nvram usage in board_init 2015-10-22 07:54:25 +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
6398abda06 boards/mulle: removed comment about hwtimer 2015-09-17 11:26:34 +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
Hauke Petersen
a174b7644a boards: adjusted peripheral confs to GPIO changes 2015-06-12 19:12:21 +02:00
Joakim Gebart
6e12503937 mulle: remove device map 2015-05-31 18:31:17 +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