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

3575 Commits

Author SHA1 Message Date
Kees Bakker
eb0595e4be boards/sodaq-autonomo: add arduino config 2019-10-09 20:14:40 +02:00
Kees Bakker
9afb390362 boards/sodaq-explorer: add arduino config 2019-10-09 20:14:40 +02:00
Kees Bakker
20e7232d09 boards/sodaq-sara-aff: add arduino config 2019-10-09 20:14:40 +02:00
Kees Bakker
f80123da85 boards/sodaq-one: add arduino config 2019-10-09 20:14:40 +02:00
Kees Bakker
9974ec2231 boards/sodaq-autonomo: add ADC configuration 2019-10-09 20:14:40 +02:00
Kees Bakker
67f82cdf6a boards/sodaq-explorer: adjust ADC channels 2019-10-09 20:14:40 +02:00
Kees Bakker
d91f73ae3e boards/sodaq-one: adjust ADC channels 2019-10-09 20:14:40 +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
1ab5a9390d
boards/slwstk6000b-*: split one board for each module
Define one board for each of the available modules.
2019-10-08 16:33:27 +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
255ce7d1a8
Merge pull request #12377 from dylad/pr/board/samr34_fix_typo
board/samr34: fix typo in TCXO
2019-10-07 09:28:32 +02:00
Dylan Laduranty
40b65c16e2
Merge pull request #12291 from keestux/sam0-refactor-adc0
boards/sam0: refactor ADC_0 into plain ADC
2019-10-07 09:20:38 +02:00
Antonio Galea
a73bee8138 boards/samr34: TXCO should be TCXO
Fix board define to TCXO: Temperature Compensated eXternal Oscillator
2019-10-06 20:36:22 +02:00
c5664b77b0
boards/thing52: enable VDD pin for hts221 or lps22hb devices 2019-10-04 19:53:50 +02:00
5dfe80d24c
boards/stm32: initialize board gpios after cpu 2019-10-04 17:05:40 +02:00
7b33599179
boards/thingy52: set custom lps22hb default address 2019-10-04 16:00:27 +02:00
58a5f5e64c
boards/thingy52: auto pull in lps22hb with saul 2019-10-04 16:00:27 +02:00
1f04c5352a
boards/thingy52: use hts221 with saul 2019-10-04 16:00:27 +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
8de86e1206
boards/arduino-mkrwan1300: add initial support 2019-10-03 09:34:34 +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
bba8395dbc
boards/ruuvitag: thingy52: remove nrfmin default dependency 2019-10-02 12:54:30 +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
6ad10b9873
boards/reel: use nrf52840 common dependency file
This pull in nrf802154 when netdev_default is used
2019-10-02 12:54:30 +02:00
341a82dffe
boards/nrf52840*: use shared nrf52840 dependency file 2019-10-02 12:54:29 +02:00
a2ab86e5f6
boards/nrf52832: add nrf52832 dependency file
This pull in softdevice when netdev_default is used
2019-10-02 12:54:29 +02:00
50d47465a2
boards/nrf52dk: use shared nrf52832 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
benpicco
69d274d87b
Merge pull request #12290 from benpicco/opt_driver_lis2dh12i2c
drivers/lis2dh12: add I2C mode
2019-10-02 12:06:40 +02:00
Hauke Petersen
96db5c3def boards/thingy52: add SAUL dependency for lis2dh12 2019-10-02 11:39:56 +02:00
Hauke Petersen
1d9fbcb076 boards/thingy52: add config for on-board lis2dh12 2019-10-02 11:39:56 +02:00
Hauke Petersen
9c853b598d boards/thingy52: added I2C configuration 2019-10-02 11:39:56 +02:00
Leandro Lanzieri
3acb63d3f1
Merge pull request #12326 from benpicco/saul_ek-lm4f120xl
boards/ek-lm4f120xl: provide SAUL configuration
2019-10-02 11:02:20 +02:00
Bas Stottelaar
08bc67c0b6 boards+efm32: skip board initialization when in bootloader 2019-10-01 18:08:27 +02:00
Bas Stottelaar
962b0efaaf boards+efm32: add support for riotboot 2019-10-01 18:08:27 +02:00
benpicco
a7cb0a4b77
Merge pull request #12323 from basilfx/feature/efm32_uart_modes
cpu/efm32: provide periph_uart_mode
2019-10-01 15:32:50 +02:00
benpicco
9f7abf67d4
Merge pull request #12334 from cladmi/pr/board/slwstk6000b/move_cpu
boards/slwstk6000b: move CPU definiton to Makefile.features
2019-09-30 19:53:18 +02:00
benpicco
806b0c4d96
Merge pull request #12335 from cladmi/pr/boards/remove_duplicate_include_riotcpu
boards: remove duplicate include 'RIOTCPU/cpu/Makefile.features'
2019-09-30 19:52:44 +02:00
Bas Stottelaar
559fc1fe04 boards+efm32: provide periph_uart_modecfg 2019-09-30 18:12:15 +02:00
Bas Stottelaar
3371cf1831 boards+efm32: remove non-standard uart modes feature 2019-09-30 18:10:38 +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
Gaëtan Harter
769c9ef23f
boards/slwstk6000b: move CPU 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.

I did not move CPU_MODEL in that one as it requires other refactoring
first.
2019-09-30 12:23:11 +02:00
Bas Stottelaar
6a17cb7029 boards+efm32: remove LOW_POWER_ENABLED from doc.txt 2019-09-30 00:03:15 +02:00
243b02d8e0
boards/blxxxpill: move CPU/CPU_MODEL to Makefile.features 2019-09-29 18:51:41 +02:00
c72f286796
Merge pull request #12169 from maribu/blxxxpill
boards: Split off 128KiB version of bl*pill
2019-09-29 18:50:29 +02:00
23b40d8b8b
Merge pull request #12331 from aabadie/pr/boards/pic32-wifire-no-export-cpu
boards/pic32-wifire: remove export of CPU/CPU_MODEL
2019-09-29 17:12:23 +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
93dff4cd74
Merge pull request #12330 from aabadie/pr/boards/cleanup_makefile_features
boards: don't export CPU/CPU_MODEL for stm32f723i-disco and p-l496g-cell02
2019-09-29 16:40:20 +02:00
9b1115583e
boards/pic32-wifire: remove export of CPU/CPU_MODEL
These values are already defined in Makefile.features
2019-09-29 16:35:45 +02:00
b1c8f85873
boards/stm32f723e-disco: don't export CPU/CPU_MODEL variables 2019-09-29 15:54:21 +02:00
f83e9788a6
boards/p-l496g-cell02: don't export CPU/CPU_MODEL variables 2019-09-29 15:54:11 +02:00
e89693b6fc
boards/samr34-xpro: move cpu definitions to Makefile.features 2019-09-29 15:52:35 +02:00
Benjamin Valentin
77c2e94288 boards/ek-lm4f120xl: provide SAUL configuration
This adds a SAUL configuration for the buttons and LEDs on the board.
2019-09-28 19:11:03 +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
Francois Berder
39fb3cb9f0 boards: pic32-wifire: Add support for JLink programmer
Signed-off-by: Francois Berder <18538310+francois-berder@users.noreply.github.com>
2019-09-26 11:08:07 +01:00
e1e01e2617
Merge pull request #11250 from dylad/pr/samr34_support
board: add support for SAMR34-XPRO
2019-09-26 11:27:22 +02:00
dylad
dbc6ed544d boards/samr34-xpro: add basic board support 2019-09-26 10:48:03 +02:00
Francois Berder
7e3e827688 boards: pic32-wifire: Use default value of BAUD
Signed-off-by: Francois Berder <18538310+francois-berder@users.noreply.github.com>
2019-09-25 21:36:10 +01:00
Francois Berder
738550e28c boards: pic32-wifire: Fix initialization of UART
uart_init should not be called from board_init. stdio_init is responsible for
initializing debug UART device.

Signed-off-by: Francois Berder <18538310+francois-berder@users.noreply.github.com>
2019-09-25 21:36:10 +01:00
Francois Berder
30656bd18b boards: pic32-wifire: Define STDIO_UART_DEV
Signed-off-by: Francois Berder <18538310+francois-berder@users.noreply.github.com>
2019-09-25 21:36:10 +01:00
Martine Lenders
1598c8c6f8
Merge pull request #11950 from gschorcht/cpu/esp32/periph-gpio_read-fix
cpu/esp32: fix of gpio_read for output ports
2019-09-24 20:20:40 +02:00
benpicco
50ba48eea6
Merge pull request #9259 from cladmi/pr/pic32/flasher
pic32-wifire: add support for flashing with pic32prog
2019-09-24 18:52:44 +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
Gaëtan Harter
4eeda215e0
pic32-wifire: add flasher using pic32prog
For PICkit3 it requires having a scripting firmware installed.
2019-09-24 17:43:12 +02:00
Gaëtan Harter
773419e29c
pic32-wifire: add serial configuration 2019-09-24 17:43:12 +02:00
Gaëtan Harter
cdca4d89a9
boards/mulle: move CPU/CPU_MODEL definiton to Makefile.features
cpu/$(CPU)/Makefile.features and cpu/$(CPU)/Makefile.dep are
automatically included

The multiple boards handling has been changed to use 'CPU_MODEL ?='.

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
8a2d999848
boards/cc2538dk: 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-09-24 17:29:37 +02:00
Gaëtan Harter
17877ca993
boards/ek-lm4f120xl: move CPU/CPU_MODEL definition to Makefile.features
cpu/$(CPU)/Makefile.features and cpu/$(CPU)/Makefile.dep are
automatically included

CPU_MODEL is currently kept uppercase. Making it lowercase is a future task.

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
33816cbbb3
boards/pic32*: move CPU/CPU_MODEL definition to Makefile.features
cpu/$(CPU)/Makefile.features and cpu/$(CPU)/Makefile.dep are
automatically included

Add the missing space when defining 'CPU_MODEL'.

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
29459beaf2
boards/hifive1*: 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-09-24 17:29:37 +02:00
Gaëtan Harter
0029bb33ef
boards/nrf6310: 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-09-24 17:29:37 +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
Francisco
abdebaa86f
Merge pull request #11549 from cladmi/pr/pba_d_01_kw2x/fix_flashing
boards/pba-d-01-kw2x: fix flashing from invalid state
2019-09-23 13:09:02 +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
Francisco
3d2697973a
Merge pull request #12151 from cladmi/pr/pba-d-01-kw2x/do_not_use_OPENOCD_ADAPTER_INIT
boards/pba-d-01-kw2x: rely on the common adapter selection code
2019-09-23 11:47:50 +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
Francisco
04b92683e4
Merge pull request #11800 from aabadie/pr/boards/stm32f723e-disco
boards/stm32f723e-disco: add initial support
2019-09-20 17:04:17 +02:00
b77dd00142
boards/p-l496zg-cell02: move cpu define to Makefile.features 2019-09-20 13:46:58 +02:00
80a5e88403
boards/stm32f723e-disco: add initial support
Peripheral configured:
- 5 UARTs for stdio via STLink, Arduino connector, PMOD connector,
STMOD+ connector and ESP-01 connector
- 1 I2C available on Arduino connector and STMOD+ connector
- 2 SPIs available on Arduino connector and PMOD connector
2019-09-20 13:45:25 +02:00
Francisco
bd5ceb58e7
Merge pull request #11984 from aabadie/pr/boards/p-l496g-cell02
boards/p-l496g-cell02: add support
2019-09-20 11:28:54 +02:00
Francisco
6847d0d268
Merge pull request #12261 from cladmi/pr/frdm/fix_flashing
boards/frdm: fix flashing from invalid state
2019-09-20 09:15:47 +02:00
MichelRottleuthner
66f1cc78ea
Merge pull request #12059 from maribu/msba2-openocd
boards/msba2: Added OpenOCD config
2019-09-19 14:35:58 +02:00
Marian Buschsieweke
8f848e9b38
boards/msba2: Updated board documenation 2019-09-19 14:19:16 +02:00
Marian Buschsieweke
0c04e07740
boards/msba2: Added OpenOCD config 2019-09-19 14:19:16 +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
Marian Buschsieweke
8fa0c04e23
Merge pull request #12229 from benpicco/lpc238-cleanup
cpu/lpc2387: clean up the platform
2019-09-16 22:06:59 +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
Dylan Laduranty
e8b08d304f
Merge pull request #12182 from maribu/drop-jiminy
boards: Remove support for the Jiminy-Mega256RFR2
2019-09-16 12:00:28 +02:00
a9a971843b
nucleo-l031/l432: fix wrong i2c configuration 2019-09-15 19:29:14 +02:00
chrysn
667a34205a boards/thingy52: Add description and more precise flashing instructions 2019-09-12 16:44:04 +02:00
Francisco
2d890db6af
Merge pull request #10440 from jcarrano/no-export-ports
makefiles: remove exports so that PORT is not evaluated if it's not needed.
2019-09-12 13:50:24 +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
benpicco
6c35e86e95
Merge pull request #11550 from cladmi/pr/stm32f3discovery/fix_flashing
boards/stm32f3discovery: fix openocd config to flash from invalid state
2019-09-11 14:44:12 +02:00
benpicco
e11d457e63
Merge pull request #11209 from danpetry/boards/mega1284p_xplained
doc/mega-xplained: add JTAG/Atmel-ICE instructions
2019-09-11 14:03:29 +02:00
Gaëtan Harter
f5f275b929
boards/stm32f3discovery: fix openocd config to flash 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.

It was found after the `stm32f3discovery` get stuck in a non-flashable mode
after some firmwares.
2019-09-11 12:19:23 +02:00
danpetry
4554b6cb13 doc/mega-xplained: add JTAG/Atmel-ICE instructions
Adds instrucions for the Atmel-ICE with the JTAG header.
2019-09-11 11:49:35 +02:00
benpicco
6f63ef42a7
Merge pull request #11920 from maribu/lpc2387
cpu/lpc2387: Cleanup
2019-09-11 10:12:26 +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
88e07c06d2
Merge pull request #11367 from maribu/arm_early_stdio
cpu: Moved stdio_init() prior to periph_init() for ARM targets
2019-09-09 16:52:30 +03: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
Marian Buschsieweke
232aed3e18
boards: Remove support for the Jiminy-Mega256RFR2
- The Jiminy-Mega256RFR2 is seemingly unmaintained, as no one has responded
  on requests to test changes on it. This lack of support has been blocking
  various PRs in the last few months
- No one seems to use it
- Boards that are added to RIOT should match at least one of the following
    - It is actively maintained
    - It has a significant user base
    - It is an off-the-shelf product, so it might be easily obtained for testing
==> The Jiminy is matching none of the above
2019-09-09 10:20:00 +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
Marian Buschsieweke
73424c1d1e
board/msba2: Added stdio_init()
The MSB-A2 uses a custom boot up sequence and does not have a cpu_init(). This
adds the missing call to stdio_init() to that custom boot up sequence.
2019-09-06 16:54:24 +02:00
MrKevinWeiss
853540ce32 boards/slstk3402a: Add reset before flashing
It seems that this board needs a reset command before flashing with jlink
This adds the reset - r - to the JLINK_PRE_FLASH
2019-09-03 13:19:27 +02:00
MrKevinWeiss
699892cc7c boards/slstk3401a: Add reset before flashing
It seems that this board needs a reset command before flashing with jlink
This adds the reset - r - to the JLINK_PRE_FLASH
2019-09-03 11:01:21 +02:00
Francisco
900b23626a
Merge pull request #12148 from aabadie/pr/boards/nrf52832-mdk_i2c
boards/nrf52832-mdk: enable I2C and use default configuration
2019-09-03 08:52:24 +02:00
e45388e210
boards/stm32l0: use connect_assert_srst when flashing 2019-09-02 21:46:54 +02:00
281273f362
boards/stm32: remove use of connect_assert_srst for flashing stm32l0 2019-09-02 21:46:15 +02:00
01642b9075
boards/nucleo-f091rc: remove duplicate use of connect_assert_srst 2019-09-02 21:45:32 +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
Gaëtan Harter
94dfc4dd94
boards/pba-d-01-kw2x: fix flashing from invalid state
When in an invalid state, the board could not flash anymore.
Like for example after flashing `tests/driver_adt7310` this makes it
flash again.

I used `reset_config srst_only` as the other kinetis boards are also
configured that way.
2019-09-02 15:56:14 +02:00
Kevin "Tristate Tom" Weiss
d9b0db0d61
Merge pull request #11976 from fjmolinas/pr_stm32f0x_extra_flash
dist/tools/openocd: add OPENOCD_EXTRA_INIT_RESET use for nucleo-f091rc
2019-09-02 15:54:24 +02:00
Francisco Molina
06c830e8cd boards/nucleo-f091rc: set OPENOCD_RESET_USE_CONNECT_ASSERT_SRST
- Nucleo-f091rc can become unflashable when hardfaults occure.
  To make sure flashing succeeds `connect_assert_srst` is called
  before connecting to flash threw openocd.
2019-09-02 14:54:38 +02:00
Gaëtan Harter
19290fe8b7
boards/pba-d-01-kw2x: rely on the common adapter selection code
Do not set 'OPENOCD_EXTRA_INIT' but rely on
'openocd/openocd-adapters/dap.inc.mk' to select the adapter.
Using 'OPENOCD_EXTRA_INIT' for this was deprecated.

When 'DEBUG_ADAPTER_ID' was set it was already the case but not with
'SERIAL'.
The compatibility with using 'SERIAL' is maintained.
2019-09-02 14:48:01 +02:00
cb51cee2ba
boards/nrf52832-mdk: enable I2C and use default configuration 2019-09-02 13:12:40 +02:00
afb8509034
boards/nucleo: use shared I2C configuration 2019-09-02 08:17:21 +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
Marius
d6b6b7a529 board/nucleo-l031k6: Add i2c to periph_conf 2019-09-01 17:14:06 +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
e9ea6a02ed
Merge pull request #12068 from twostairs/board_nucleo-l432kc_i2c
board/nucleo-l432kc: Implementing I2C for board
2019-08-29 13:33:57 +02:00
Martine Lenders
b83c7dd61d
Merge pull request #11927 from maribu/arduino-leonardo
cpu/atmega32u4: Fixed external interrupts; boards/arduino-leonardo: Fixed dependency tracking
2019-08-29 12:12:56 +02:00
Hauke Petersen
d961ceefbe boards/reel: add missing radio_nrf52840 feature 2019-08-29 10:51:17 +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
dff436be63 boards/reel: make nrf802154 the default radio 2019-08-28 16:49:21 +02:00
Hauke Petersen
da494251b6 board/nrf52840dk: fix order in Makefile.dep 2019-08-28 16:49:21 +02:00
Hauke Petersen
d127d18384 boards/nrf52: set NimBLE for gnrc_netdev_default 2019-08-28 16:49:20 +02:00
Hauke Petersen
14662da1db boards/nrf52dk: add nimble_netif dependency 2019-08-28 16:48:42 +02:00
Marius
80c521b2c3 boards/nucleo-l432kc: provide I2C configuration 2019-08-28 10:50:24 +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
Juan I Carrano
e2b2b8e43c
Merge pull request #12014 from cladmi/pr/cpu_cpu_model/migration/straightforward_ones
boards: move CPU/CPU_MODEL definition to Makefile.features
2019-08-21 18:52:28 +02:00