3f02e3bd12
boards/openmote*: introduce CC2538_BSL_FLASHFFILE variable
...
This allows to remove the last cc2538-bsl programmer conditional at board level
2021-02-23 21:22:54 +01:00
Francisco Molina
5811fab369
boards: use common Makefile.include for cc2538 boards
...
Co-authored-by: Benjamin Valentin <benjamin.valentin@ml-pa.com>
2020-08-11 09:57:09 +02:00
Francisco Molina
493a56ee87
boards: use common condiguration headers for cc2538 boards
2020-03-25 08:20:53 +01:00
8489a0af53
boards: don't export FLASH_ADDR
...
This variable is already export in vars.inc.mk
2020-03-10 16:31:01 +01:00
84005896dd
boards: don't export JLINK_IF
2020-03-10 16:29:02 +01:00
1e9879fbcf
boards: unexport JLINK_DEVICE variable
2020-03-10 16:28:03 +01:00
b4418426ba
boards/cc2538: use common cc2538-bsl handling file
2020-03-09 18:26:08 +01:00
Benjamin Valentin
ed4d871835
dist/tools/cc2538-bsl: use upstream version
...
Automatically fetch the upstream version of cc2538-bsl.py instead
of maintaining our own fork of the tool.
fixes #13566
2020-03-06 11:13:21 +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
Gaëtan Harter
636285ebe4
boards: 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
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
danpetry
f8bb42f787
Openmote-cc2538: format flash start address as hex
...
Declaring the address in decimal format meant that it was being
interpreted as a decimal rather than hex address by the tooling
and the intermediate bash arithmetic. This fixes that bug.
2019-03-20 16:07:51 +01: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
Thomas Geithner
e849c6b083
boards/openmote-cc2538: fix programmer variable name
2018-01-17 11:47:58 +01:00
Joakim Nohlgård
339a4da9dc
Makefiles: move to new directory /makefiles
2017-04-04 15:11:54 +02:00
10e9336c78
boards: adapt to automatically included boards/$board/Makefile.dep
2016-09-29 15:41:12 +02:00
PeterKietzmann
5eafb071a6
dist/tools/cc2538-bsl: enforce python2
2016-08-30 23:38:14 +02:00
Aaron Sowry
4b4cbb0317
boards/openmote-cc2538: Add RF driver as dependency for board
2016-07-13 14:19:52 +12:00
Ludwig Knüpfer
d16eecdda3
Merge pull request #4913 from gebart/pr/makefile-ls-wildcard
...
make: Use makefile wildcard function instead of shell ls
2016-03-11 19:05:28 +01:00
Joakim Nohlgård
ae108581d3
boards/*/Makefile.include: replace $(shell ls) by native Makefile functions
2016-03-11 15:05:06 +01:00
Aaron Sowry
d7377cde27
Support flashing openmote-cc2538 board via serial interface
...
Enable directly from Makefile target 'flash' using cc2538-bsl script,
and make this the default flashing method for this platform.
2016-03-11 09:40:55 +13:00
Hauke Petersen
f07a2758a0
boards/openmote: use global JLink script
2016-03-01 19:23:38 +01:00
Joakim Nohlgård
7835ab2be7
make: Move BOARD and CPU includes to Makefile.modules
2016-02-10 16:37:03 +01:00
Joakim Nohlgård
fae9a092fd
boards: Remove Makefile.include.cortexm_common
2016-02-10 16:37:03 +01:00
Aaron Sowry
7759611713
Rename 'openmote' board to 'openmote-cc2538'
...
This is to avoid ambiguity with future versions of the OpenMote platform.
2016-01-23 08:06:15 +13:00