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

26 Commits

Author SHA1 Message Date
Francisco Molina
b436ba4a0c boards/common/remote: add periph_rtt 2020-01-08 09:16:49 +01:00
Francisco Molina
90bcb016bb boards: unexport PROGRAMMER 2019-11-27 14:31:01 +01:00
Francisco Molina
1ae0873769 boards: change PORT used for flash/debug/reset to PROG_DEV 2019-10-24 12:58:12 +02:00
Francisco Molina
755b4d97da boards/(openmote-b/remote): migrate PORT_BSL to PROG_DEV
- Move serial.inc.mk in remote and openmote-b Makefile.include before
  PROG_DEV to avoid repeating OS logic check
- Add deprecation warning for PORT_BSL
2019-10-24 12:57:46 +02:00
Francisco Molina
c010f59b8c Makefile.include: remove repeated OS declaration
- OS := $(shell uname) is already declared in `Makefile.include`
  re-declaring it means it will be re-evalauted multiple times
  uselessly.
2019-10-18 08:46:51 +02:00
Gaëtan Harter
ef542ef92c
boards: 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:44 +02:00
cladmi
8305390a05
boards/common: 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-08-20 16:11:50 +02:00
Benjamin Valentin
8af04cd939 boards: make use of ARRAY_SIZE macro 2019-08-06 19:43:54 +02:00
cladmi
ec312492ee
boards/remote: use common/remote/Makefile.features
Introduce and use a common/remote/Makefile.features.
The boards were already using the common `Makefile.include` and
`Makefile.dep`.

This makes 'include $(RIOTCPU)/cc2538/Makefile.features' be done in
the same module where 'CPU' is defined.

Preparation for moving 'CPU' definition to Makefile.features.
2019-07-01 18:09:57 +02:00
Sebastian Meiling
3482bfaa2a make: allow override of RESET for boards/common/remote 2019-06-06 16:27:08 +02:00
Gaëtan Harter
7306dbd382
boards/tools: remove exporting DEBUG*
DEBUGGER/DEBUGGER_FLAGS/DEBUGSERVER/DEBUGSERVER_FLAGS are evaluated by the
main Makefile.include or by file included by it.
Their value does not need to be exported.

Testing
-------

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

`git show --stat` reports `55 insertions(+), 55 deletions(-)`
Which is the same amount as lines that where matching
`export[[:blank::]]\+VARIABLE`.
2019-05-28 09:58:35 +02:00
Gaëtan Harter
b88d1887c8
boards/tools: remove exporting RESET/RESET_FLAGS
RESET and RESET_FLAGS 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 RESET_FLAGS when not needed.

Testing
-------

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

`git show --stat` reports `24 insertions(+), 24 deletions(-)`
Which is the same amount as lines that where matching
`export[[:blank::]]\+VARIABLE`.
2019-05-28 09:56:14 +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
Gaëtan Harter
9e9f8637e9
boards/cc2538: use FLASHFILE for boards using cc2538-bsl.py
Update to use FLASHFILE as file to be flashed on the board.
2019-05-23 15:02:15 +02:00
Juan I Carrano
bac432781c
Merge pull request #10471 from cladmi/pr/flash_sh/use_binfile
boards/flash.sh: rename HEXFILE to BINFILE
2018-11-27 17:56:27 +01:00
Gaëtan Harter
214f971174
boards/common/remote: fix mis-migrated path for flash/reset
The path to flash/reset/debug was not migrated correctly when moving to
`remote-common` (even before `common/remote`).
2018-11-26 17:01:02 +01:00
cladmi
52b0b183a3
boards/flash.sh: rename HEXFILE to BINFILE
Flasher are doing 'loadbin' so use BINFILE name.
2018-11-26 16:39:11 +01:00
Francisco Acosta
2a8c6526e3 boards/common/remote: add RESET variable
For CI HIL purposes a reset is needed before running the test
target. The remote board didn't assign a RESET variable to perform
a reset, so it wasn't possible to call `make test` correctly.
By calling the flash script without arguments, a reset is performed.
2018-07-04 16:13:47 +02:00
cb991cd47d boards: use RIOTTOOLS variable 2018-05-15 11:23:44 +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
smlng
dab84471f1 boards/remote: use port names in UART config 2018-03-02 09:08:28 +01:00
smlng
d8bb9030ae boards: zolertia remote add uart1 config 2018-03-02 09:02:53 +01:00
danpetry
2781a42542 boards/common/remote: Changed UART config format
Changed the configuration of the Remote boards to fit the new
cc2538 format defined in the previous commit. That is, from a
defines based format to a struct based format.
2018-02-08 14:36:52 +01:00
smlng
356fe22ec5 boards/common: enhance doxygen for Zolertia Re-Mote 2017-12-15 10:27:22 +01:00
smlng
25ef1ea880 boards, remote-X: adapt and centralize uart pin config 2017-12-14 10:43:58 +01:00
Hauke Petersen
4bcb353f89 boards/remote: move shared code to common/remote 2017-11-30 10:26:35 +01:00