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

53 Commits

Author SHA1 Message Date
MrKevinWeiss
e0fdc3c16c
*Kconfig*: Modify Kconfig to remove dep model 2024-03-27 10:28:12 +01:00
Benjamin Valentin
5d111e71aa boards: drop board_init() from board.h 2022-02-25 15:08:58 +01:00
Francisco Molina
464d941a3e boards: drop empty custom board_init & empty board.c 2022-02-22 18:27:37 +01: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
fc88c4c4e5 boards: drop cpu_init() 2021-10-13 23:36:41 +02:00
ef43ed7161
boards/hifive1: define supported programmers 2021-02-24 13:29:39 +01:00
7e21f25779
make: namespace openocd PRE_FLASH_CHECK_SCRIPT variable 2021-02-23 21:22:55 +01:00
0a45ac5fa1
boards/hifive1*: use common clock configuration 2020-12-17 15:53:31 +01:00
f2fe6373be
boards/hifive1*: remove board level clock Kconfig 2020-12-17 15:53:31 +01:00
4c290e1f92
boards: remove include of serial.inc.mk 2020-12-02 09:20:57 +01:00
44b8ad61e0
boards/hifive1*: don't start renode in board config 2020-11-27 13:39:22 +01:00
Francisco
7237e38436
Merge pull request #15501 from aabadie/pr/boards/renode_hifive
boards/hifive*: add renode support
2020-11-27 10:09:10 +01:00
c6ad85a7b0
boards: don't include programmer logic at board level 2020-11-25 22:31:13 +01:00
13d149fe09
boards/hifive1*: add renode configuration 2020-11-25 09:07:18 +01:00
Leandro Lanzieri
5d96a6383d
boards/hifive1: change clock Kconfig parameter to always have a value
As clock.c uses C conditionals for its code, the configuration macros
should always be defined. This is done by moving the dependencies to a
condition in the prompt, making them configurable only when applicable.
2020-09-16 09:08:42 +02:00
cdbb3e025a
cpu/fe310: boards/hifive1*: use IS_ACTIVE where possible 2020-09-09 14:14:39 +02:00
ace160a2a3
boards/hifive1: use MHZ utility macro for clock frequency 2020-09-09 14:14:39 +02:00
c190426a0e
boards/hifive1*: fix clock configuration 2020-09-09 14:14:39 +02:00
Francisco Molina
442b11d0ee
cpu/fe310: add unified rtt configuration 2020-08-12 14:46:59 +02:00
901d698983
boards/hifive1*: add Kconfig menu for clock configuration 2020-08-06 15:59:35 +02:00
7acf81552a
boards/hifive1* cpu/fe310: improve clock customization 2020-08-06 15:59:34 +02:00
2a62840af3
boards/hifive1*: add Kconfig configuration 2020-06-24 11:13:45 +02:00
9d69e30060
boards/hifive1: don't export OPENOCD_CMD_RESET_RUN 2020-03-26 10:00:25 +01:00
bd081cd980
tools/openocd: remove default OPENOCD_CONFIG value
The default value is already set in openocd.inc.mk
2020-02-24 10:04:11 +01:00
32f4986757
boards/hifive1*: remove useless stdio_uart include
stdio_uart is already pulled by default by the dependency resolution
mechanism.
2020-01-31 14:30:32 +01:00
8405fbe611
boards/hifive1*: provide and configure SPI feature 2020-01-11 13:06:39 +01:00
b42cf186fe
boards/hifive1*: remove gpio interrupt definition
This macro is now defined in periph_cpu.h
2020-01-10 16:41:33 +01:00
473f1d7147
boards/hifive1*: cleanup board initialization 2020-01-10 16:41:33 +01:00
97ef5d53de
boards/hifive1*: rework clock configuration 2020-01-10 16:41:33 +01:00
39cf4d38c1
boards/hifive1*: move xtimer definitions to board.h 2020-01-10 16:41:32 +01:00
876824201c
boards/hifive1*: apply new UART configuration scheme 2019-12-20 15:22:09 +01:00
e5d5892167
boards/hifive1*: remove periph_gpio provided features
There are now provided at cpu level
2019-12-05 15:27:12 +01:00
Benjamin Valentin
0ea2cbf1eb boards: remove RTT_NUMOF/RTC_NUMOF
Those macros are defined but never used.
2019-11-08 14:20:33 +01:00
Gaëtan Harter
29459beaf2
boards/hifive1*: move CPU/CPU_MODEL definition to Makefile.features
cpu/$(CPU)/Makefile.features and cpu/$(CPU)/Makefile.dep are
automatically included

Part of moving CPU/CPU_MODEL definition to Makefile.features to have it
available before Makefile.include.
2019-09-24 17:29:37 +02:00
kenrabold
6391913a15 board/hifive1: minor changes for FE310_G000 CPU
Minor changes to support both HiFive1 and HiFive1B boards and their respective CPUs
2019-07-19 13:25:17 -07:00
a68f78bb10
boards/*: remove unused FEATURES_MCU_GROUP variable 2019-06-14 11:32:15 +02:00
Gaëtan Harter
ac113ca2f8
boards/tools: remove exporting FLASHER/FFLAGS
FLASHER and FFLAGS are evaluated by the main Makefile.include or by file
included by it. Their value does not need to be exported.

This will also prevent evaluating 'PORT' for FFLAGS when not needed.

Testing
-------

`git diff --word-diff` only reports `export` being removed.

`git show --stat` reports `84 insertions(+), 84 deletions(-)`
Which is the same amount as lines that where matching
`export[[:blank::]]\+VARIABLE`.
2019-05-28 09:56:00 +02:00
21e55bbd28 boards/hifive1: fixup custom reset command 2019-04-09 12:46:15 +02:00
b1a7d6093b boards/hifive1: add and use custom openocd reset command 2019-03-12 11:49:02 +01:00
6cd81dbc87
Merge pull request #10865 from kaspar030/uncrustify_change_disable_hint
uncrustify: change en/disable markers
2019-01-25 22:40:02 +01:00
674128ea27 boards/hifive1: adapt to RIOT uncrustify markers 2019-01-25 17:21:14 +01:00
03ed77b141
Merge pull request #10805 from beduino-project/fix-hifive1-coreclock-define
boards/hifive1: fix CLOCK_CORECLOCK
2019-01-24 20:48:40 +01:00
Tristan Bruns
8d50b8cc60 boards/hifive1: fix CLOCK_CORECLOCK 2019-01-17 17:21:09 +01:00
Tristan Bruns
6c1f2bb174 boards/hifive1: fix file permissions of flasher.sh 2019-01-17 16:33:25 +01:00
Gaëtan Harter
0b664453dc
hifive1/flasher.sh: get flash file from cli
Get FLASH_FILE from command line instead of environment variable.

The documentation was claiming ELFFILE was given as a command line argument
already, but is was not.

This is the same change as with `openocd.sh`.
2018-12-05 16:21:03 +01:00
Juan I Carrano
4d85bcf510
Merge pull request #10062 from cladmi/pr/make/cpu/fe310/features
cpu/fe310: rtc depend on the rtt feature and hifive1 update
2018-10-23 13:28:17 +02:00
cladmi
1c89d23e5b
boards/hifive1: include cpu/fe310 features
The board should process its CPU features.
This has the consequence to make 'periph_pm' visible to the board.

I also removed the duplicate FEATURES_PROVIDED from the board defined in
the cpu.
2018-09-27 18:24:51 +02:00
cladmi
635691199a
boards/hifive1: remove erroneous features parsing
Remove duplicate handling of `periph_rtc` dependency to `periph_rtt` now
declared in the cpu.

Also the makefiles should not parse FEATURES_REQUIRED as it does not
guarantee anything as features could also be requested by FEATURES_OPTIONAL.
In practice it should parse it using `USEMODULE`.
2018-09-27 18:11:18 +02:00
Joakim Nohlgård
8996cbe313 make: Introduce new feature flag periph_gpio_irq 2018-08-29 08:53:20 +02:00
Hauke Petersen
c2184f3454 boards/cpu/drivers/sys: use generic stdio_ if 2018-08-22 10:54:25 +02:00