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

487 Commits

Author SHA1 Message Date
Gunar Schorcht
a05027cdba
Merge pull request #12523 from aabadie/pr/sys/arduino_pwm
sys/arduino: add implementation for analogWrite
2019-11-21 15:08:10 +01:00
4337cb316f
Merge pull request #12752 from gschorcht/cpu/esp32/espreset
boards/esp32*: use espreset tool for reset in make test
2019-11-20 22:07:15 +01:00
Gunar Schorcht
5ba4a7d7cf boards/esp32*: espreset tool added 2019-11-20 08:33:47 +01:00
benpicco
1999e2f89c
Merge pull request #12745 from benpicco/atmega-led_fix
boards/atmega_common: remove weak led_init()
2019-11-20 00:14:48 +01:00
benpicco
cfcbb76cd2
Merge pull request #12729 from maribu/atmega1284p
boards/atmega1284p: Add ATmega1284P as board
2019-11-19 23:18:31 +01:00
Hauke Petersen
04dcc3662b
Merge pull request #12344 from chrysn-pull-requests/particle-antenna-switch
particle-*: Configure antenna switch
2019-11-19 23:06:29 +01:00
Benjamin Valentin
c277100dd9 boards/atmega_common: remove weak led_init()
`led_init()` is already protected by an `#ifdef`, so no need for
the weak symbol.

The problem is that the weak function does not get overridden, even when
the board provides it's own led_init(), resulting in no LEDs being
initialized.
2019-11-19 22:36:07 +01:00
Marian Buschsieweke
b7150ed6c7
boards/common/atmega: Added ATmega1284P PWM conf
Added PWM configuration for the ATmega1284P CPU; this can be reused for every
board featuring that CPU.
2019-11-18 23:46:08 +01:00
chrysn
9954194ae0 particle boards: Make default antenna selection configurable
The setter function approach makes this switchable at runtime (antenna
diversity?).

Documentation is added both to the board introduction page and the
individual pins and functions.
2019-11-18 13:54:39 +01:00
chrysn
951f7dec2c particle-*: Configure antenna switch
The particle-{argon,boron,xenon} all have a uFL connector and a PCB
antenna for 2.4GHz radio, connected by a SKY13351-378LF switch
configured by a VCTL[12] pin pair.

This sets the default configuration to use the PCB antenna, as driving
an unconnected antenna will deteriorate radio performance.
2019-11-18 13:54:22 +01:00
Kevin "Tristate Tom" Weiss
be39169bd4
Merge pull request #11108 from gschorcht/cpu/esp8266/esp-idf/pr
cpu/esp8266: complete reimplementation based on ESP8266 RTOS SDK
2019-11-18 09:34:49 +01:00
Benjamin Valentin
60686c96dc boards/common: clean up msba2 common files
The 'msba2' common files have accumulated many empty files are files that
do nothing.
This makes reasoning about the boards needlessly difficult.

Trim down on `common/msba2/` so that it now only contains the setup for the
UART/bootloader based flashing.

This should eventuelly be moved to `makefiles/tools/`
2019-11-16 11:57:15 +01:00
65e0247a9b
boards/arduino-atmega: add mapping for Arduino PWM pins 2019-11-15 17:54:30 +01:00
d03c982ddb
boards/arduino-mkr: add mapping for Arduino PWM pins 2019-11-15 17:51:45 +01:00
Gunar Schorcht
555a7040db cpu/esp8266: reset tool to allow automatic tests 2019-11-14 13:58:48 +01:00
Gunar Schorcht
e5b7645b0b boards/esp32: changes for RTOS SDK 2019-11-14 13:58:25 +01:00
Gunar Schorcht
7d9a3a79a2 boards/esp8266: changes for RTOS SDK 2019-11-14 13:58:25 +01:00
Hauke Petersen
4bf14822cb nrf5x: move nimble_ble feat. to cpu 2019-11-13 13:43:55 +01:00
Marian Buschsieweke
c510ad858c
boards/common/blxxxpill: Use STM32 programmer conf 2019-11-12 19:48:05 +01:00
Marian Buschsieweke
92284bed88
boards/common/nucleo: Use STM32 programmer config 2019-11-12 19:43:42 +01:00
Benjamin Valentin
0ea2cbf1eb boards: remove RTT_NUMOF/RTC_NUMOF
Those macros are defined but never used.
2019-11-08 14:20:33 +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
f84cdc4044
boards/sodaq: restore accidentally removed arduino feature 2019-10-22 19:06:16 +02:00
26c0b812d2
Merge pull request #12531 from fjmolinas/pr_nrf52_nimble
common/nrf52840/Makefile.dep: nrf802154 if no nimble_%
2019-10-22 15:14:54 +02:00
benpicco
d49c48368a
Merge pull request #12438 from aabadie/pr/boards/sodaq_factorize
boards/sodaq: factorize common code
2019-10-21 17:04:20 +02:00
Francisco Molina
c04a2cf3a3 common/nrf52840/Makefile.dep: nrf802154 if no nimble_% 2019-10-21 16:52:18 +02:00
benpicco
ca7e82c312
Merge pull request #11090 from maribu/atmega328p
boards: Added standalone ATmega328p
2019-10-21 13:38:58 +02:00
4b06a11b93
Merge pull request #12470 from aabadie/pr/boards/kw41z_openocd
boards/frdm: update openocd version requirements
2019-10-21 13:30:54 +02:00
Marian Buschsieweke
f9c2f26dd0
boards: Added standalone ATmega328p 2019-10-21 12:54:46 +02:00
f9631953cb
boards: add common sodaq module 2019-10-21 08:33:11 +02:00
14567ea973
Merge pull request #12494 from fjmolinas/pr_remove_OS
Makefile/include: use ony one call to `uname`
2019-10-18 15:03:10 +02:00
benpicco
29e5c3af67
Merge pull request #12490 from aabadie/pr/boards/efm32_common_periph_gpio
boards/efm32: move provided gpio features at cpu level
2019-10-18 11:19:33 +02:00
benpicco
34ee36d9e4
Merge pull request #12491 from aabadie/pr/boards/atmega_common_periph_gpio
boards/atmega: move provided gpio features at cpu level
2019-10-18 11:19:15 +02:00
aed0cfb1d8
boards/efm32: remove useless provided gpio features
These features are provided at CPU level
2019-10-18 09:33:54 +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
Francisco
01779508d6
Merge pull request #12394 from aabadie/pr/make/iotlab_support_fix
make/testbed-support: fix error with FLASHFILE not defined
2019-10-17 23:21:12 +02:00
27f2a19f72
boards/atmega: remove useless provided gpio features
These features are provided at CPU level
2019-10-17 21:42:49 +02:00
Benjamin Valentin
7d78e32b15 cpu/atmega128rfa1: ATmega128rfa1 MCU support 2019-10-17 19:20:31 +02:00
Benjamin Valentin
6617c5c768 cpu/atmega_common: provide dummy implementation for led_init() 2019-10-17 19:20:31 +02:00
4c794c1122
boards/frdm: document more the OpenOCD version requirement
Add the need to have a built from source version of OpenOCD for kw41z and give the url of the commit adding the change in OpenOCD
2019-10-16 14:53:42 +02:00
f81baf2bf6
boards/frdm: remove OpenOCD < 0.10 specific code
OpenOCD 0.10 is out from early 2017, all stable Linux distros provide this version now.
2019-10-16 14:51:53 +02:00
ffc4c84faa
dist/testbed-support: boards: remove useless IOTLAB_FLASHFILE 2019-10-16 11:44:59 +02:00
66b57f2a51 boards/stm32: add 54MHz and 108MHz divtable entries 2019-10-13 20:27:37 +02:00
Gaëtan Harter
7ac30e471c
boards/slwstk6000b-*: move CPU_MODEL definition to Makefile.features
This is still currently a hack to hardcode it as the value can be deduced
from the `BOARD_MODULE` daughter board name.

But it requires more cleanup and could come in a separate step.

Part of moving CPU/CPU_MODEL definition to Makefile.features to have it
available before Makefile.include.
2019-10-09 18:51:57 +02:00
Gaëtan Harter
ec93d4c1c4
boards/common/arduino-atmega: remove special case for jiminy-mega256rfr2
The board is deprecated, no need to ignore this board anymore here.

Having the `arduino` and `periph_pwm` features is now required for all
boards using 'arduino-atmega' (as it was except for that board).

If this should change in the future, it should be defined either in each
arduino board, in another board common, or per CPU_MODEL.
2019-10-08 18:37:32 +02:00
Gaëtan Harter
ddf3874995
boards/slwstk6000b: migrate to use a common/slwstk6000b
Migrate the board to be implemented with a common/slwstk6000b.

It is a pre step for splitting the board for each "BOARD_MODULE".
2019-10-08 15:36:09 +02:00
86360f73d4
boards/nucleo32: fix arduino pinmap for nucleo-l432kc 2019-10-07 14:30:36 +02:00
Kees Bakker
04c84ed158 cpu/sam0: refactor ADC_0 into plain ADC
This change is for all boards with a sam0 cpu. This cpu just has one ADC.
It is unnecessary to have defines with ADC_0_ prefix as if multiple ADCs
are possible.

Some defines were not used, such as ADC_0_EN, ADC_0_CHANNELS,
ADC_MAX_CHANNELS, ADC_0_CLK_SOURCE, ADC_0_CHANNELS

Change all ADC_0_ prefixes to ADC_
2019-10-03 20:45:44 +02:00
49967b2c4a
boards/avr/dist: setsid can be set with env variable 2019-10-03 12:43:49 +02:00
f7763438a9
boards/common/arduino-mkr: use common LED0_NAME definition 2019-10-03 09:24:20 +02:00
7bfe086e7c
boards/common/arduino-mkr: split periph_conf file
- periph_conf_common.h contains peripherals configuration common to all mkr boards
- periph_conf.h is specific to a subset of mkr boards (mkr1000 and mkrzero)
2019-10-03 09:24:20 +02:00
5c9e5ec7df
boards/nrf52832: manage features in common directory 2019-10-02 12:54:30 +02:00
a2308b65a2
boards/nrf52: factorize even more dependencies 2019-10-02 12:54:30 +02:00
7c4511efff
boards/nrf52832: use common directory for features 2019-10-02 12:54:30 +02:00
86d330aa95
boards/nrf52: cleanup global dependency file 2019-10-02 12:54:30 +02:00
341a82dffe
boards/nrf52840*: use shared nrf52840 dependency file 2019-10-02 12:54:29 +02:00
0d62accfef
boards/common/nrf52: add shared dependency files for nrf52 2019-10-02 12:54:29 +02:00
Bas Stottelaar
962b0efaaf boards+efm32: add support for riotboot 2019-10-01 18:08:27 +02:00
Gaëtan Harter
fc9f2a0f65
boards: remove duplicate include 'RIOTCPU/cpu/Makefile.features'
When 'CPU' is defined, the CPU Makefile.features is included by the
build system in the main Makefile.features.
No need to do it manually anymore.
2019-09-30 12:38:01 +02:00
243b02d8e0
boards/blxxxpill: move CPU/CPU_MODEL to Makefile.features 2019-09-29 18:51:41 +02:00
Marian Buschsieweke
09d1dcf6b3
boards: Split off 128KiB version of bl*pill
- Created new `bluepill-128kib` as 128KiB version of the `bluepill`
- Created new `blackpill-128kib` as 128KiB version of the `blackpill`
- Updated `openocd.cfg` to allow flashing 128KiB of ROM
2019-09-29 16:42:44 +02:00
Hauke Petersen
982d730adf cpu/nrf5x: decelare radio_nrfble feat for all nrfs 2019-09-27 10:00:06 +02:00
Hauke Petersen
df15033148 ble/skald: cleanup dependency to nrfble 2019-09-26 22:15:15 +02:00
benpicco
3833e42426
Merge pull request #12092 from cladmi/pr/cpu_model/minor_changes_included
boards with side-effect: move CPU/CPU_MODEL definition to Makefile.features
2019-09-24 18:36:58 +02:00
cladmi
5f1a61ed72
boards/common/nrf52: move CPU/CPU_MODEL definiton 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-09-24 17:29:37 +02:00
Gaëtan Harter
49d61bbe6e
boards/common/esp: move CPU/CPU_MODEL definiton 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-09-24 17:29:37 +02:00
Gaëtan Harter
8cebed6792
boards/common/esp: harmonize CPU/CPU_MODEL to other boards
* CPU files should already have 'CPU' defined by the board.
* Do not conditionally define CPU as it is not needed.

This is part of cleanup prior to moving the CPU/CPU_MODEL to
Makefile.features.
2019-09-24 17:29:37 +02:00
Vincent Dupont
1a44d327cb
Merge pull request #11989 from gschorcht/cpu/esp32/periph-can
cpu/esp32: reimplementation of module esp_can as module periph can
2019-09-23 16:52:05 +02:00
Francisco
2346f35bc8
Merge pull request #12289 from cladmi/pr/frdm/minor/remove_export_openocd_extra_init
boards/frdm: remove exporting unset OPENOCD_EXTRA_INIT
2019-09-23 14:28:06 +02:00
Francisco
8467dba680
Merge pull request #12158 from aabadie/pr/boards/stm32_connect_assert_srst
boards/stm32: generalize use of connect_assert_srst for flashing
2019-09-23 14:02:39 +02:00
Gaëtan Harter
0724dc71a7
boards/frdm: remove exporting unset OPENOCD_EXTRA_INIT
The default value in `openocd.sh` is being empty, so no use for exporting it.
2019-09-23 12:10:09 +02:00
Gunar Schorcht
e0f1ab0a16 cpu/esp32: module esp_can removed
CAN controller driver for ESP32 is no longer realized as separate module.
2019-09-20 19:35:02 +02:00
Gaëtan Harter
323050f0e3
boards/frdm: fix flashing from invalid state
When flashing some applications the flasher sometimes gets stuck which
prevents flashing after.
It may be from a specific firmware or operation but do not have one yet.
Connect with reset asserted fix flashing from this state.
2019-09-17 14:02:55 +02:00
Benjamin Valentin
e3b0874305 cpu/lpc2387: clean up the platform
- move clock setup from boards/ to cpu/
 - reduce code duplication
2019-09-16 13:08:56 +02:00
23c1831473
Merge pull request #11470 from cladmi/pr/nrf52/opencd/softdevice
boards/common/nrf52: add openocd support for 'nordic_softdevice_ble'
2019-09-11 15:33:08 +02:00
Marian Buschsieweke
7092566f1f
cpu/arm7_common: Moved compiler flags here
- Moved compiler & linker flags from boards/common/msba2 to cpu/arm7_common
- Moved dependency to newlib nano to cpu/arm7_common
- Moved config to link in cpu/startup.o to cpu/arm7_common
2019-09-11 01:02:41 +02:00
Juan I Carrano
c50d8fada1
Merge pull request #11646 from cladmi/pr/esp/programmer_update
esp*: updates to the programmer configuration
2019-09-10 17:58:20 +02:00
Gaëtan Harter
fe0b829d5b
boards/common/nrf52: add openocd support for 'nordic_softdevice_ble'
Enable the handling of flashing `softdevice.hex` when flashing the firmware
for openocd.

However, for flashing, only the `hexfile` and `binfile` can currently be used.

The `elffile` is generated with local pages aligned to `0x10000` which makes
the program starting at `0x1f000` be flashed from `0x10000` with padding bytes
even if the `.text` section is indeed at `0x1f000`:

    readelf --sections bin/nrf52dk/gnrc_networking.elf

      ...
      [ 1] .text         PROGBITS    0001f000 00f000 00f698 00  AX  0   0 16
      ...

    readelf --segments  bin/nrf52dk/gnrc_networking.elf

      ...
      LOAD           0x000000 0x00010000 0x00010000 0x1e6a0 0x1e6a0 R E 0x10000
      ...

The padding bytes would go through `verify_image` in `openocd` so be expected
to not be overwritten but are by `softdevice.hex`

Using --nmagic at link time removes the local page alignement but would
need dedicated testing.
2019-09-10 16:02:04 +02:00
3059e03c7c
Merge pull request #11620 from cladmi/pr/softdevice/ensure_memory_value
pkg/nordic_softdevice_ble: reset memory in the .hex file
2019-09-10 14:38:33 +02:00
b80a41f28f
Merge pull request #12153 from cladmi/pr/iotlab/use_openocd_reset_use_connect_assert_srst
boards/iotlab: rely on OPENOCD_RESET_USE_CONNECT_ASSERT_SRST
2019-09-10 08:41:08 +02:00
benpicco
c082ada36f
Merge pull request #12141 from aabadie/pr/boards/stm32_common_i2c
boards/stm32: introduce and use shared i2c config with I2C1 on PB6/PB7
2019-09-09 14:26:59 +02:00
Kevin "Tristate Tom" Weiss
a138f1466f
Merge pull request #11975 from fjmolinas/pr_nucleof103_xtimer_backoff
boards/common/nucleo: increase XTIMER_BACKOFF for STM32F103
2019-09-09 11:15:37 +02:00
Francisco
6d800ed85a
Merge pull request #11366 from maribu/early_stdio_atmega
cpu/atmega_common: Moved atmega_stdio_init() to cpu_init()
2019-09-09 10:22:53 +03:00
281273f362
boards/stm32: remove use of connect_assert_srst for flashing stm32l0 2019-09-02 21:46:15 +02:00
fc923baa42
boards/nucleo: generalize use of connect_assert_srst for flashing
This allows to flash/reset even over a crashed or sleeping firmware
2019-09-02 21:44:58 +02:00
Gaëtan Harter
c1b32fe1f3
boards/iotlab: rely on OPENOCD_RESET_USE_CONNECT_ASSERT_SRST
Use the new OPENOCD_RESET_USE_CONNECT_ASSERT_SRST to configure
'reset_config connect_assert_srst' when flashing and resetting only.

This removes the need for a special debug configuration and should allow
connecting to a running target again.
2019-09-02 16:12:55 +02:00
df18dba378
boards/stm32: introduce shared i2c configuration
This configuration corresponds to I2C1 connected to PB6 (SCL) and PB7 (SDA)
2019-09-02 08:17:21 +02:00
Kevin "Tristate Tom" Weiss
969e3b3e95
Merge pull request #12098 from cladmi/pr/export/remove_local_export_compilation_variables
make: do not locally export compilation variables
2019-08-29 14:32:22 +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
Hauke Petersen
d127d18384 boards/nrf52: set NimBLE for gnrc_netdev_default 2019-08-28 16:49:20 +02:00
Gaëtan Harter
367aa841a2
boards/pyterm: change TERMFLAGS to PYTERMFLAGS
The boards are using `pyterm` specific options that do not work on any
other `RIOT_TERMINAL`. It is a shame this is required but at least do
not pass arbitrary arguments to the other RIOT_TERMINAL.
So use the new PYTERMFLAGS for this.
2019-08-27 14:25:02 +02:00
Gaëtan Harter
42d658419f
boards/common/msba2: remove duplicate PORT
PORT is already given in pyterm TERMFLAGS.
2019-08-27 12:06:10 +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
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
Gaëtan Harter
f3e72009e8
pkg/nordic_softdevice_ble: reset memory in the .hex file
softdevice needs the memory at 0x2000 to be initialized to 0xffffffff
according to #5893 and testing. However, the addresses [0x8bc, 0x3000[ are not
set in softdevice.hex.

So use a modified hex file with all the memory set to 0xff as it is the rom
reset value anyway.

This change updates the `.hex` file instead on relying on erasing the
memory.
2019-08-12 15:54:45 +02:00
Gaëtan Harter
e70efb769c
murdock: nordic_softdevice_ble: softdevice.hex is a test input
When running tests using 'nordic_softdevice_ble', the 'softdevice.hex'
file must also be taken into account for the test hashing and be
uploaded to the separated murdock testing boards.

When listed as dependency from `test-input-hash` the file must have a
target, which he has not. The file is implicitly created when compiling
`ELFFILE` so declare it as order only dependency.
In practice `BASELIBS` could be enough or even `pkg-build-softdevice`
but I do not want to be depend that much on internals there.
2019-08-12 14:35:58 +02:00
430d80729a
boards/nrf51: provide ble_nimble feature 2019-08-07 09:53:55 +02:00
Hauke Petersen
c9e5d2ccc4
boards/common/nrf51: add alternative xtimer mapping 2019-08-07 09:53:55 +02:00
32f54178ea
Merge pull request #11974 from fjmolinas/pr_xtimer_shoot_early
boards: remove unused XTIMER_SHOOT_EARLY defines
2019-08-07 09:29:43 +02:00
Francisco Molina
ed3a716ffd boards/common/nucleo: increase XTIMER_BACKOFF for STM32F1 boards
- Boards using stm32f103xx use the same custom config for xtimer
  which relies on the same underlying hardware timers that hang
  when sleeping for <20us so spin when approaching that limit.
2019-08-07 09:07:24 +02:00
Francisco Molina
294aff2ef1 boards: remove unused XTIMER_SHOOT_EARLY defines 2019-08-07 08:49:14 +02:00
Benjamin Valentin
8af04cd939 boards: make use of ARRAY_SIZE macro 2019-08-06 19:43:54 +02:00
Francisco
b8cd3c0724
Merge pull request #11809 from aabadie/pr/boards/stm32_timer_conf_common
boards/stm32: introduce common timer configurations and use them where possible
2019-08-06 17:07:22 +02:00
Martine Lenders
d13d49d11f
Merge pull request #11814 from aabadie/pr/doc/remove_duplicate_group_define
doc: remove duplicate definitions of Doxygen groups
2019-08-06 09:50:59 +02:00
Kevin "Bear Puncher" Weiss
9821fa8043
Merge pull request #11959 from maribu/bluepill
boards/{blue,black}pill: Fixed flashing
2019-08-05 17:34:56 +02:00
90e136405e
boards/common/esp: deduplicate common esp boards group definitions 2019-08-05 16:57:36 +02:00
31c52041e6
Merge pull request #11939 from fjmolinas/pr_add_nrf52_i2c_cfg
boards/common/nrf52: add common nrf52 i2c config
2019-08-05 16:39:33 +02:00
6b5a977f08
boards/stm32: introduce common timer config with TIM5 2019-08-05 15:00:12 +02:00
94a9e2c3de
boards/stm32: introduce common timer config with TIM2 2019-08-05 15:00:11 +02:00
Marian Buschsieweke
5da1dbc4a6
boards/{blue,black}pill: Fixed flashing
A new blue pill variant with only 32 KiB of flash (secretly coming with
64 KiB flash) instead of the use 64 KiB flash (secretly coming with 128 KiB)
is not compatible with `make flash`. This commit changes the OpenOCD config
so that both variants can be flashed.
2019-08-05 13:00:44 +02:00
Robert Hartung
7bca1cc5d5 cpu/atmega_common: implements pseudomodule-based pin change interrupts 2019-08-01 09:23:04 +02:00
Francisco Molina
8a4b4f9005 boards: use of default_i2c_cfg for nrf52 based boards 2019-07-31 10:38:34 +02:00
Francisco Molina
618ca3abcc boards/common/nrf52: add default i2c config 2019-07-31 10:38:34 +02:00
7044c95ebf
boards/nucleo-144: fix l4r5zi LED0 pin 2019-07-08 09:09:48 +02:00
0791174c1f
Merge pull request #11769 from haukepetersen/opt_softdevice_feature
ble/softdevice: add ble_nordic_softdevice feature
2019-07-04 11:23:30 +02:00
Hauke Petersen
03153acb1a ble/softdevice: add ble_nordic_softdevice feature
The softdevice is only verified to be working on nrf52832-based
boards. This feature prevents the softdevice from being build for
other, similar targets (e.g. nrf52840-based boards).
2019-07-04 09:22:46 +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
cladmi
5b00d3a942
boards/msba2-based: use common/msba2/Makefile.features
Introduce and use a common/msba2/Makefile.features.
The boards were already using the common `Makefile.include` and
`Makefile.dep`.

This makes 'include $(RIOTCPU)/lpc2387/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
Gaëtan Harter
6538d71ed0
boards/mspdebug: use FLASHFILE for boards using mspdebug
Update to use FLASHFILE as file to be flashed on the board.
IOTLAB_FLASHFILE also uses 'FLASHFILE' (and not the default 'ELFFILE').
2019-06-25 12:43:22 +02:00
Gaëtan Harter
201c283a8f
boards/dfu-util: use FLASHFILE for boards using dfu-util
Update to use FLASHFILE as file to be flashed on the board.
2019-06-17 18:10:38 +02:00
Gaëtan Harter
a379d95695
Merge pull request #11670 from aabadie/pr/boards/remove_features_mcu_group
boards/*: remove unused FEATURES_MCU_GROUP variable
2019-06-17 12:41:36 +02:00
Gaëtan Harter
4a085270ea
boards/esp*: use PORT in RESET_FLAGS
This allows selecting the correct device when multiple boards are connected.
2019-06-14 15:58:36 +02:00
Gaëtan Harter
1d8de6b24d
boards/esp*: update RESET and RESET_FLAGS
Update to use RESET and RESET_FLAGS variables set conditionally.
2019-06-14 15:58:36 +02:00
Marian Buschsieweke
3a92b79eea
boards/common/nrf52xxxdk: Split off SPI config
Moved SPI config from boards/common/nrf52xxxdk/include/periph_config.h to
boards/common/nrf52/include/cfg_spi_default.h. This allows all nRF52 based
boards to use this SPI config if applicable and also allows nRF52*-DK boards
to use custom SPI configs, if needed.
2019-06-14 12:02:29 +02:00
Marian Buschsieweke
d925540528
boards/common/nrf52xxxdk: Use GPIO_PIN in SPI conf 2019-06-14 12:02:29 +02:00
a68f78bb10
boards/*: remove unused FEATURES_MCU_GROUP variable 2019-06-14 11:32:15 +02:00
40577affaa
boards/nrf52: replace radio_ble provided feature by ble_nimble 2019-06-12 17:41:31 +02:00
e745078f76
particle-mesh: add usbdev feature 2019-06-11 14:17:07 +02:00
Gaëtan Harter
ec2278fff7
Merge pull request #11618 from aabadie/pr/boards/kw41z-cleanup
boards/kw41z: phynode-kw41z now also use the kw41z common Makefile.include
2019-06-11 11:37:46 +02:00
Gaëtan Harter
632da8ae0a
Merge pull request #11562 from fjmolinas/pr_kinetis_riotboot_frdm_kw41z
boards/frdm-kw41z-k64f: add riotboot
2019-06-07 19:49:08 +02:00
Gaëtan Harter
b9c15c3084
Merge pull request #11649 from smlng/pr/make/reset
make: allow to override RESET and RESET_FLAGS for all boards and tools
2019-06-07 12:09:41 +02:00
3a4dff9ddc
common/arduino-mkr: add usbdev feature 2019-06-06 17:04:35 +02:00
Sebastian Meiling
458b178d46 make: allow override of RESET for boards/common/stm32f103c8 2019-06-06 16:27:15 +02:00
Sebastian Meiling
3482bfaa2a make: allow override of RESET for boards/common/remote 2019-06-06 16:27:08 +02:00
Sebastian Meiling
8766f8bf28 make: allow override of RESET for boards/common/esp8266 2019-06-06 16:26:58 +02:00
Sebastian Meiling
44f8314a04 make: allow override of RESET for boards/common/esp32 2019-06-06 16:26:51 +02:00
francisco
5db21a4cc5 boards/kw41z: add riotboot support 2019-06-06 15:11:45 +02:00
e53b117563
Merge pull request #11625 from haukepetersen/opt_nrf51_timerrttcfg
boards/nrf51-based: split shared timer/rtt config
2019-06-05 12:00:27 +02:00
Hauke Petersen
44625ecc1b boards/nrf51-based: split shared timer/rtt config 2019-06-05 09:53:15 +02:00
Gaëtan Harter
675bd5eec0
board: remove exporting PORT_LINUX|PORT_DARWIN
PORT_LINUX and PORT_DARWIN are evaluated by
`makefiles/tools/serial.inc.mk` and some boards Makefile.include.
Their value does not need to be exported.

This also globally removes the line saying that the exports are needed
for flash rule.
2019-06-03 16:21:28 +02:00
13c89b5feb
boards/kw41z: move boards common kw41z to specific boards
usb-kw41z and frdm-kw41z are affected by this change.
2019-06-03 13:06:01 +02:00
414c304f2b
boards/*: remove useless export when setting DEBUG_ADAPTER 2019-06-03 10:32:08 +02:00
Juan I Carrano
245f04a33d
Merge pull request #11545 from cladmi/pr/kinetis/flash_no_arm_toolchain
cpu/kinetis: allow flashing without toolchain
2019-05-29 13:51:30 +02:00
Kevin "Bear Puncher" Weiss
9ff8c704ea
Merge pull request #11570 from aabadie/pr/boards/stm32_l0_i2c
boards/b-l072z-lrwan1: use STM32 common i2C configuration
2019-05-28 19:17:45 +02:00
Gaëtan Harter
dedbe9c737
Merge pull request #11554 from cladmi/pr/make/exports/remove_flash_debug_reset
make: remove exports for flash debug reset
2019-05-28 18:15:03 +02:00
Gaëtan Harter
e40d569204
kinetis: save 'wdog-disable.bin' binary in the repository
Keep the compiled '.bin' file to remove the need to compile it when
flashing. This remove the need to have the toolchain when flashing so
allow compiling and flashing with `BUILD_IN_DOCKER=1` without a local
toolchain.

Even if it ends up storing a binary, the file is only 34 bytes.
2019-05-28 14:37:11 +02:00
Gaëtan Harter
ff00096a39
boards/tools: remove exporting MSPDEBUGFLAGS
MSPDEBUGFLAGS is evaluated only in the same file.
Its value does not need to be exported.

This will also prevent evaluating 'PORT' for MSPDEBUGFLAGS when not needed.
2019-05-28 09:58:40 +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