MrKevinWeiss
cf74b26c55
cpu/mips: deprecate mips cpu
...
Add deprecate note in the mips cpu.
Add warning in make when any mips based board is being used (6lowpan-clicker, pic32-wifire).
2021-12-09 10:14:52 +01:00
Jan Romann
4384795cb9
treewide: Remove excessive newlines
2021-08-13 19:50:38 +02:00
Joakim Nohlgård
a23b29d42e
pic32_common: Add CPU specific xfa.ld variant
2021-02-16 14:55:26 +01:00
Benjamin Valentin
c788fe130f
cpu/mips_pic32_common: GPIO: use bitarithm_test_and_clear()
2021-02-02 11:14:37 +01:00
Marian Buschsieweke
125c892c03
drivers/periph/timer: Use uint32_t for frequency
...
For all currently supported platforms `unsigned long` is 32 bit in width. But
better use `uint32_t` to be safe.
2020-10-30 22:02:12 +01:00
Bas Stottelaar
ab6188cea3
cpu/*: add missing include of assert.h
2020-10-22 11:13:08 +02:00
dcc2982b27
cpu/mips: fix build error raised by a fallthrough warning
2020-10-13 18:57:38 +02:00
581c97bbcf
cpu/mips: skip pthread types provided by the toolchain
2020-10-13 16:27:59 +02:00
Leandro Lanzieri
c1b25655fd
cpu/mips_pic32_common: Add Kconfig symbols
2020-07-16 13:20:04 +02:00
ffa28e415a
cpu/mips_pic32_common: add cpu_model specific assembly symbols dependency
2020-06-28 12:13:32 +02:00
Francois Berder
8db01ab9a0
cpu: mips_pic32_common: Implement GPIO IRQ
...
Signed-off-by: Francois Berder <18538310+francois-berder@users.noreply.github.com>
2020-05-02 17:59:17 +01:00
Francois Berder
8f1c8298f3
cpu: mips_pic32_common: Use mips32r2_isr_end in timer interrupt handler
...
Signed-off-by: Francois Berder <18538310+francois-berder@users.noreply.github.com>
2020-03-25 19:10:01 +00:00
Francois Berder
cbb0247f26
cpu: mips_pic32_common: Implement pm_reboot
...
Signed-off-by: Francois Berder <18538310+francois-berder@users.noreply.github.com>
2020-03-25 19:10:01 +00:00
Francois Berder
8775254755
cpu: mips_pic32_common: Refactor UART
...
Signed-off-by: Francois Berder <18538310+francois-berder@users.noreply.github.com>
2020-03-25 19:10:01 +00:00
Francois Berder
7979ce57f5
cpu: mips_pic32_common: Define uart_conf_t structure
...
Signed-off-by: Francois Berder <18538310+francois-berder@users.noreply.github.com>
2020-03-25 19:10:01 +00:00
Francois Berder
aeee8f8fba
cpu: mips_pic32_common: Define gpio_af enum
...
Signed-off-by: Francois Berder <18538310+francois-berder@users.noreply.github.com>
2020-03-25 19:10:01 +00: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
f816584213
cpu: mips_pic32_common: Add CPU_FAM macro to CFLAGS
...
Signed-off-by: Francois Berder <18538310+francois-berder@users.noreply.github.com>
2020-03-25 19:10:01 +00:00
benpicco
cdb427b760
Merge pull request #12475 from francois-berder/wifire-gpio-refactor
...
cpu: mips_pic32_common: Refactor GPIO peripheral
2020-01-31 09:46:57 +01: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
Francois Berder
4a31f94cfc
many typo fixes
...
Signed-off-by: Francois Berder <18538310+francois-berder@users.noreply.github.com>
2019-11-23 22:39:07 +01:00
Francois Berder
d210a16567
cpu: mips_pic32_common: Refactor GPIO peripheral
...
Signed-off-by: Francois Berder <18538310+francois-berder@users.noreply.github.com>
2019-10-24 19:01:02 +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
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
Benjamin Valentin
8af04cd939
boards: make use of ARRAY_SIZE macro
2019-08-06 19:43:54 +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
Hauke Petersen
da899dafbf
cpu/mips_pic32/gpio: remove gpio_init_int stub
2018-09-20 14:50:32 +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
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
a20745b6c5
cpu: make use of Makefile.periph
2017-11-06 12:01:19 +01:00
28a2028e1e
cpu: mips: reorganize Makefile.features
2017-11-02 12:59:45 +01:00
Hauke Petersen
942bfec5fb
cpu/mips_pic32: fix doxygen for GPIO_PIN macro
2017-10-16 14:27:35 +02: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
neiljay
23f4f9be73
Merge pull request #7386 from francois-berder/pic32-periph-rng
...
Wi-Fire: Add hardware RNG peripheral support
2017-09-08 10:42:36 +01:00
neiljay
e1bbf43705
Merge pull request #7388 from francois-berder/pic32-periph-cpuid
...
clicker, wifire: Add CPUID support
2017-09-08 10:42:07 +01:00
162478cd6d
spelling: s/initialise/initialize/
2017-09-05 11:04:25 +02:00
2b3a9d2e82
cpu/mips: cleanup doxygen documentation
2017-08-28 13:27:58 +02:00
Francisco Acosta
f2efd88f98
Merge pull request #7129 from haukepetersen/opt_periph_sharetimerset
...
cpu: add and use shared code for timer_set()
2017-08-01 15:09:48 +02:00
Francois Berder
d8984a6aef
cpu: pic32_common: Fix void pointer arithmetic in hw rng
...
Signed-off-by: Francois Berder <fberder@outlook.fr>
2017-07-20 19:55:44 +01:00
Francois Berder
ab6006ea3e
cpu: pic32: Implement cpuid_get function
...
Signed-off-by: Francois Berder <fberder@outlook.fr>
2017-07-20 19:52:29 +01:00
Francois Berder
9277ff005c
cpu: pic32: Implement HW RNG driver
...
Signed-off-by: Francois Berder <fberder@outlook.fr>
2017-07-19 23:08:55 +01:00
smlng
692cf96297
doc: fix doxygen grouping of cpu periph drivers
2017-06-26 14:42:11 +02:00
Hauke Petersen
a1499f4190
cpu: add and use shared code for timer_set()
2017-06-02 12:21:56 +02:00
185c7ac11b
some (ptr == 0) -> (ptr == NULL) fixes (found by coccinelle)
2017-04-20 23:31:32 +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