1e8528d6e8
cpu/mips: remove use of export for LINKFLAGS
2020-01-02 09:48:46 +01:00
2bbcbeaccb
cpu/mips32r2_common: fix typos
2019-11-23 22:39:36 +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
Marian Buschsieweke
314184adb5
cpu: Platform specific C11 atomics compat headers
...
Added headers to define platform specific sizes and types for the C11 atomics
compatibility module for C++.
2019-10-24 23:08:36 +02:00
Francois Berder
89d43c3423
cpu: mips32r2_common: Remove useless includes
...
Signed-off-by: Francois Berder <18538310+francois-berder@users.noreply.github.com>
2019-10-18 18:57:42 +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
ebf43616b7
cpu: add arch_* features
2019-10-13 21:03:41 +02:00
Kevin "Tristate Tom" Weiss
4b7c5915ec
Merge pull request #10953 from gschorcht/sys/shell/heap_cmd/pr
...
sys/shell: add heap command
2019-10-04 13:49:57 +02:00
Francois Berder
1673f890ec
cpu: mips32r2_common: Use stdio_uart to handle UHI write syscalls
...
Signed-off-by: Francois Berder <18538310+francois-berder@users.noreply.github.com>
2019-09-25 21:36:10 +01:00
benpicco
d5c272ed86
Merge pull request #12199 from smlng/fix_timer_returns
...
periph/timer: Fix return codes of timer API
2019-09-17 23:04:46 +02:00
benpicco
e214dcbd2c
Merge pull request #11986 from kaspar030/mips_remove_nomips16
...
cpu/mips32r2: remove nomips16 attribute from _mips_handle_exception
2019-09-17 16:54:03 +02:00
b415588677
cpu/mips32r2: remove nomips16 attribute from _mips_handle_exception
...
A note says "The nomips16 attribute should not really be needed,
it works around a toolchain issue in 2016.05-03."
In fact, in 2018.09-03, the attribute leads to this error:
```cpu/mips32r2_common/thread_arch.c:191:1: error: ‘_mips_handle_exception’ redeclared with conflicting ‘nomips16’ attributes```
This this commit removes the attribute.
2019-09-17 15:59:10 +02:00
Marian Buschsieweke
5fd6652865
cpu/mips32r2_common: Added call to stdio_init()
...
Fixed bug introduced in https://github.com/RIOT-OS/RIOT/pull/11367
2019-09-14 11:42:15 +02:00
Sebastian Meiling
22f4ec81b0
cpu/mips32r2: adapt timer to return 0 on success
...
Adapt periph/timer implementation of mips32r2 based MCUs
to return 0 on success for all functions.
2019-09-11 13:48:12 +02:00
Gunar Schorcht
a63c0dda9c
cpu/mips32r2_common: changes for heap command
2019-09-05 09:20:55 +02: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
smlng
59e299635b
cppcheck: add/correct reason for cppcheck-suppress
...
Adding and correcting description/rational on why certain cppcheck
warnings or errors are intentionally suppressed.
2018-09-25 12:03:58 +02:00
938677cc83
cpu*: fix doxygen grouping
2018-06-11 19:12:02 +02:00
Gaëtan Harter
d6e47461ba
mips32r2_common/periph/timer: fix return values
...
Fix 'timer_set', 'timer_set_absolute' and 'timer_clear' return value to 1 on
success as documented in the API.
2018-03-22 14:21:03 +01: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
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
2375fcd82e
cpu/mips32r2_common: BUG add periph_timer globally to mips32r2_common.
2017-11-24 17:15:58 +01:00
Gaëtan Harter
383a69dfd2
cpu/mips32r2_common: prefix modules with mips32r2_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
c835ddf4e9
cpu/mips32r2_common: only build newlib_syscalls_mips_uhi when needed
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
Gaëtan Harter
062fbd85ce
cpu/mips32r2_generic: add new cpu that depends on mips32r2_common
...
Prepare to make `mips32r2_common` only a common cpu and not a standalone one.
2017-11-24 16:44:46 +01:00
32c10ae2c9
core, cpu: rename thread_start_threading() -> cpu_switch_context_exit()
2017-11-16 14:40:16 +01:00
86665b71bf
cpu: adapt to COREIF_NG removal
2017-11-16 14:40:16 +01:00
9bdde09884
cpu: mips32r2_common: always select periph_timer
...
(needed for gettimeofday())
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
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
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
Joakim Nohlgård
da4f2f6e6e
Merge pull request #6892 from neiljay/pr/mips-newlib-v2
...
cpu/mips: Integrate better with RIOT newlib layer (v2)
2017-07-20 00:27:51 +02:00
Neil Jones
54eb49af4d
mips: syscalls: supress ccpcheck error
2017-07-17 17:17:44 +01:00
Neil Jones
af70c0844c
mips: Clean-up makefiles
2017-06-28 12:56:54 +01:00
Neil Jones
9d736dc4eb
cpu/mips32r2: Add UHI sycalls implementation.
2017-06-28 12:10:08 +01:00
smlng
692cf96297
doc: fix doxygen grouping of cpu periph drivers
2017-06-26 14:42:11 +02:00
Joakim Nohlgård
91d930c574
cpu/mips32r2_common: ifdef __attribute__((optimize))
...
Causes compilation error on Clang
2017-06-02 10:24:44 +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
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
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
1838ca575a
cpu: mips: Add EIC interrupt mode support.
...
Note this is only supported in unvectored mode currently.
2017-03-24 13:44:15 +00:00
Neil Jones
c74ec1c253
cpu: mips: Add support for mips32r2
...
cpu/mips32r2_common adds base architecture support for mips32r2 cores it can be
built in it own right as a 'CPU', but is dependant on a bootloader (like
u-boot) to have bootstrapped the system, this has been tested on a 'malta'
FPGA system (BOARD=mips-malta) with various mips32r2 compliant cores
(interAptiv, P5600, etc).
2017-02-09 12:18:44 +00:00