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

10 Commits

Author SHA1 Message Date
e3b3ea0403
cpu/mips*: move dependencies to Makefile.dep
This commit also removes not needed use of export
2020-01-28 13:20:51 +01:00
Gaëtan Harter
1be5b7b10b
cpu: do not locally export compilation variables
These are already exported by `makefiles/vars.inc.mk`.
It is a prerequisite to allow handling compilation without global exports.
2019-08-29 10:35:53 +02:00
smlng
2de4b3011b periph_common: add as dependency to periph drivers
Rational: the periph_common module is required by (most) other periph drivers
and also during startup of the CPU/MCU to run periph_init. The latter is only
required if other periph drivers are used, hence periph_common should be a
depency of periph_* modules and *not* of the CPU/MCU. This PR fixes that
by making periph_common a depency of periph_* and removing the explicit
include in the CPU/MCU implementation.
2019-06-03 13:44:10 +02:00
Neil Jones
e297a71e8c mips: Correct usage of USEMODULE
In CPU definitions we should not be explicilty naming peripheral modules to use
via USEMODULE (one should use FEATURES_PROVIDED instead).
Plus add missing cpu_init() and periph_init() methods.
This commit removes periph_hwrng support from the pic32mx cpu builds as
pic32mx does not have hwrng only pic32mz does.
2018-01-15 14:02:59 +00:00
Neil Jones
0133de6e4f mips: clean up pic32 makefiles.
Make pic32m* depend on pic32_common which depends on mips32r2_common.
Remove some duplication.

This addresses some issues in #8052.
2018-01-02 13:59:08 +00:00
Gaëtan Harter
71b6fce711 cpu/mips_pic32_common: prefix modules with mips_pic32_common namespace
This prevents clash between modules names cpu and periph with main cpus.

Add dependency management in Makefile.include to keep things contained.
2017-11-24 16:44:46 +01:00
Gaëtan Harter
1a8bb14acc cpu/mips32r2_common: mips32r2_common/include INCLUDES path.
Add include path for 'eic_irq.h' file and fix c files relative include.

Also remove wrong include to it in 'mips_pic32_common'.
2017-11-24 16:44:46 +01:00
5c6c439920 cpu: mips32r2_common: adapt to periph.mk 2017-11-06 12:01:19 +01:00
Francois Berder
74a999abe4 cpu: mips: Fix missing include for pic32mx and pic32mz
Compilation for pic32mx and pic32mz did not include the path
to cpu/mips_pic32_common/include. Also,
cpu/mips_pic32_common/Makefile.include was never parsed. It was
found that mips32r2_common and mips_pic32_common are both defining
similar parameters for linkers which cause issues if both
Makefile.include get parsed.

Signed-off-by: Francois Berder <francois.berder@imgtec.com>
2017-04-12 10:58:52 +01:00
Neil Jones
241087fd76 cpu: mips-pic32mz: Add support for PIC32MZ devices
specific support for the pic32mz2046efg100 is added along with code common to
all pic32 devices and all pic32mz devices.
2017-03-24 13:44:15 +00:00