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

39 Commits

Author SHA1 Message Date
c40f0a5b43
cpu/mips: remove never used load memory address 2020-10-13 18:57:39 +02:00
Leandro Lanzieri
710c21805d
cpu/mips_pic32mz: Add Kconfig symbols 2020-07-16 13:20:05 +02:00
Leandro Lanzieri
ea3166e08e
cpu/mips32r2_common: Add Kconfig symbols
Also this moves the specification of CPU_ARCH to the common folder
2020-07-16 13:20:01 +02:00
b3e566bcd8
cpu/mips: disable BINFILE generation 2020-07-01 08:08:23 +02:00
Leandro Lanzieri
4d65bc8e0a
cpu: Rename CPU_ARCH to CPU_CORE 2020-06-16 12:05:40 +02:00
benpicco
4ceff67ca0
Merge pull request #13127 from francois-berder/remove-objcopy-warning
cpu: mips_pic32*: Fix unused .gcc_except_table section warning
2020-04-26 23:27:30 +02:00
Francois Berder
535fff26ae cpu: mips: Refactor EIC
Signed-off-by: Francois Berder <18538310+francois-berder@users.noreply.github.com>
2020-03-25 19:10:01 +00:00
Francois Berder
d8a3ac335a cpu: mips_pic32mz: Define CPU_ARCH and CPU_FAM
Signed-off-by: Francois Berder <18538310+francois-berder@users.noreply.github.com>
2020-03-25 19:10:01 +00:00
Francois Berder
674006b791 cpu: mips_pic32mz: Fix unused .gcc_except_table section warning
Signed-off-by: Francois Berder <18538310+francois-berder@users.noreply.github.com>
2020-02-11 21:26:00 +00:00
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
1e8528d6e8
cpu/mips: remove use of export for LINKFLAGS 2020-01-02 09:48:46 +01:00
Francois Berder
3a62b620bc cpu: mips_pic32_common: Move cpu header to mips32r2_common
Signed-off-by: Francois Berder <18538310+francois-berder@users.noreply.github.com>
2019-10-18 18:57:42 +01:00
Francois Berder
57377ded76 cpu: mips_pic32mz: Include vendor header in cpu_conf.h
Signed-off-by: Francois Berder <18538310+francois-berder@users.noreply.github.com>
2019-10-16 21:17:14 +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
Joakim Nohlgård
e7b957fb04 mips_pic32mz: Tabs to spaces in ldscript 2018-05-09 00:41:27 +02:00
cladmi
3f145413f5 boards/makefiles: Remove '-Otype' from OFLAGS
* Remove '-Oihex' and '-Obinary' from OFLAGS for all boards
  It is now provided by the Makefile.include rule.
2018-04-09 17:32:46 +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
Martine Lenders
39c122155c
Merge pull request #7995 from smlng/make/fix/unused_params
make: fix unused-params error
2017-11-28 14:46:23 +01:00
smlng
7309171303 build: fix unused parameter errors
cpu, sam0_common: fix unused parameter in periph/spi
        cpu, kinetis_common: fix unused parameter in periph/spi
        cpu, cc2538: fix unused param in periph/i2c
        cpu, cc2538: fix unused param in periph/spi
        cpu, sam3: fix unused param in periph/spi
        cpu, stm32_common: fix unused param in periph/pm
        cpu, stm32f3: fix unused params in periph/i2c
        cpu, nrf5x_common: fix unused param in periph/gpio
        cpu, nrf5x_common: fix unused param in periph/spi
        cpu, lpc2387: fix unused params in periph/spi
        cpu, cc2538: fix unused params in radio/netdev
        cpu, cc2650: fix unused params in periph/uart
        cpu, lm4f120: fix unused param in periph/spi
        cpu, lm4f120: fix unused params in periph/timer
        cpu, lm4f120: fix unused params in periph/uart
        cpu, stm32_common: fix unused params in periph/dac
        cpu, stm32l0: fix unused params in periph/i2c
        cpu, msp430fxyz: fix unused params in periph/uart
        cpu, mips: fix unused params
        cpu, cc430: fix unused-params in periph/timer
        cpu, msp430fxyz: fix unused params in periph/spi
        drivers, cc2420: fix unused param
        cpu, mips32r2_common: fix unused params in periph/timer
        cpu, cc2538: fix unused-param in periph/i2c
        cpu, mips32r2_common: fix unused-param in periph/timer
        cpu, msp430fxyz: fix unused params in periph/timer
        cpu, atmega_common: fix unused params in periph/spi
        driver, nrfmin: fix unused params
        cpu, cc2538_rf: fix unused params
        driver, netdev_ieee802514: fix unused param
        cpu, mip_pic32m: fix unused params
        cpu, lpc2387: fix unused params in periph/pwm
        tests/driver_sdcard_spi: fix unused params
        cpu, sam3: fix unused param in periph/pwm
        tests/driver_dynamixel: fix unused params, and style issues
        cpu, cc430: fix unused param in periph/rtc
        cpu, atmega_common: fix unused params in periph/i2c
2017-11-28 14:36:01 +01:00
Gaëtan Harter
2d8c96820d cpu/mips_pic32mx/mz: add missing mips32r2_common/Makefile.features 2017-11-24 16:47:36 +01:00
Gaëtan Harter
68945246ef cpu/mips_pic32mx/mz: remove unneeded USEMODULE in Makefile
USEMODULE in Makefile is not used by the build system and so does nothing.
2017-11-24 16:44:46 +01: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
Gaëtan Harter
d864e79c4a cpu/mips32r2_common: Use common 'Makefile.include' for cpus
Use mips32r2_common 'Makefile.include' to simplify depending cpus:

'mips_pic32mx', 'mips_pic32mz' and 'mips32r2_generic'.
2017-11-24 16:44:46 +01:00
28a2028e1e cpu: mips: reorganize Makefile.features 2017-11-02 12:59:45 +01:00
Hauke Petersen
5920d99752 pm: fix weak-based default implementations
Instead of using `weak` function definitions, this PR handles
default implementations using `PROVIDES_x` defines, allowing
for cpus/pm realted modules to use their own implementations.
2017-10-16 14:27:35 +02:00
2b3a9d2e82 cpu/mips: cleanup doxygen documentation 2017-08-28 13:27:58 +02:00
c07a6af0fd cpu/mips: add missing brief doxygen + cleanup 2017-08-24 14:54:47 +02:00
Neil Jones
af70c0844c mips: Clean-up makefiles 2017-06-28 12:56:54 +01:00
Joakim Nohlgård
14ec5237a1 cpu/mips: Integrate better with RIOT newlib layer
- Copied the relevant parts of mipshal.mk from the toolchain
 - Cleaned up CFLAGS and more in Makefile.include
 - Added empty syscalls implementation which can be used to interface
   with the UHI system
 - Added a note on why -std=gnu99 is necessary for this CPU presently
2017-06-02 10:24:43 +01:00
0fcc7d3834 cleanup: apply headerguard script output 2017-05-24 17:54:02 +02:00
a65931c04a add some missing header guards 2017-05-24 17:54:01 +02:00
Hauke Petersen
9aad0e528f cpu: cleanup unused/umimplemented isr stack code
- removed ISR_STACKSIZE define where unused (set to 0)
- removed thread_arch_isr_stack_usage(), thread_arch_isr_stack_start(),
  and/or thread_arch_isr_stack_pointer() where not implemented
2017-05-12 18:07:08 +02: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
Francois Berder
72234d7df4 boards: pic32-wifire: Add support for GPIO peripheral
Signed-off-by: Francois Berder <francois.berder@imgtec.com>
2017-04-12 10:58:52 +01:00
Joakim Nohlgård
339a4da9dc Makefiles: move to new directory /makefiles 2017-04-04 15:11:54 +02:00
Neil Jones
c4d28cb5e2 boards: pic32-wifire: Add support for the Digilent WiFire board.
This board features a pic32mz2048efg100 PIC32 device with a MIPS core.
2017-03-28 16:25:31 +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