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

3333 Commits

Author SHA1 Message Date
b1fa4fb2d9
boards/nucleo-l152re: use TIM5 common timer configuration 2019-08-05 15:01:15 +02:00
b710cda156
boards/lobaro-lorabox: use common timer configuration 2019-08-05 15:00:53 +02:00
3c00d41764
boards/ublox-c030-u201: use common timer configuration
This also requires to include the STM32 shared include directory
2019-08-05 15:00:12 +02:00
27230c7c10
boards/stm32f4: use common timer configuration 2019-08-05 15:00:12 +02:00
6b5a977f08
boards/stm32: introduce common timer config with TIM5 2019-08-05 15:00:12 +02:00
564686f882
boards/nucleo-l4*: use common timer configuration 2019-08-05 15:00:11 +02:00
7ee7315418
boards/stm32l0: use common timer configuration 2019-08-05 15:00:11 +02:00
e7e3f15d5d
boards/nucleo-f0/3/7: use common timer configuration 2019-08-05 15:00:11 +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
7853ca0108
boards/stm32*: remove useless RTC_NUMOF defines 2019-08-05 11:08:53 +02:00
Robert Hartung
18117b4eb8 boards/arduino-mega2560: restrics usable pin change interrupts 2019-08-01 09:35:35 +02:00
Robert Hartung
09b26120fd boards: adds atmega pin change interrupt to doc 2019-08-01 09:35:35 +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
Francisco Molina
39695afeb4 boards/nrf52840-mdk: use TWIM1 for i2c
- SPIM0/SPIS0/TWIM0/TWIS0 have the same priority and are mutually exclusive,
  to allow concurrent use we change the default TWIM used for i2c to
  TWIM1 since spi uses SPI0 by default
2019-07-31 10:18:28 +02:00
Marian Buschsieweke
e354c8f781
boards/arduino-leonardo: Add missing dependencies
Somehow Makefile.dep was missing on the Arduino Leonardo. This commit adds it.
2019-07-26 17:27:50 +02:00
Peter Kietzmann
294fb38381
Merge pull request #11833 from MrKevinWeiss/boards/openmoteb/flashfix
boards/openmote-b: Fix flashing issues
2019-07-22 11:51:48 +02:00
MrKevinWeiss
a24fc7d1a6 boards/openmote-b: Update doc after flash and debug fixes 2019-07-22 10:08:19 +02:00
MrKevinWeiss
36ca186bd1 boards/openmote-b: Fix openmote-b flasher
This fixes the JTAG flasher which needs a hw_reset
This is needed since the standard jtag reset command does not work
Since FLASHFILE is assigned in the jlink makefile only the bsl needs something
The FLASHFILE is assigned a hex since the bin takes much longer to flash
2019-07-22 10:08:19 +02:00
kenrabold
e4bee51a9d tests/* : blacklisting for hifive1b 2019-07-19 13:25:18 -07:00
kenrabold
2de4da03ef cpu/hifive1b: initial HiFive1B support
Initial support for HiFive1B board with FE310_G002 CPU
2019-07-19 13:25:17 -07:00
kenrabold
6391913a15 board/hifive1: minor changes for FE310_G000 CPU
Minor changes to support both HiFive1 and HiFive1B boards and their respective CPUs
2019-07-19 13:25:17 -07:00
Juan I Carrano
3c7efb2213
Merge pull request #11849 from cladmi/pr/hamilton/oflags
boards/hamilton: remove OFLAGS '-O binary'
2019-07-18 12:03:34 +02:00
MrKevinWeiss
08ef6a7e22 boards/openmote-b: Set boot pin to input
Some boards seem to lock the bootloader if the boot pin is high
It must be set to input to prevent contention from the msp430 line controller
2019-07-17 16:39:55 +02:00
3f25c43204
Merge pull request #11733 from nmeum/fix-native-build
boards/native: fix undefinied reference to qdecs_value
2019-07-16 16:42:52 +02:00
Gaëtan Harter
d52b3f4fc5
boards/hamilton: remove OFLAGS '-O binary'
The 'binary' output format is now given by default to .bin files creation
2019-07-16 15:31:37 +02:00
Juan I Carrano
ee6b6b9c38 boards/mips-malta: remove board.
The mips-malta board is a maintainance burden, has no working UART input
and is unobtainable and thus must be removed.

1. Unobtainable board
=====================

The mips-malta board is not an off-the-shelf part. A quick web
search only show the MIPS website where one is told to "contact sales".

I could find it on ebay, used, at €155 and from single seller.

Not having access to the board means:

a. We cannot maintain it. In fact it could be broken right now.
b. Potential RIOT uses have not access to the board either. In other
   words, it is pointless to run on hardware nobody has.

2. No working UART input
========================

Not all applications need UART input, but that is no excuse for not supporting
it:

a. Makes development & debugging way harder.
b. It is impossible to run interactive tests.
 b.1. Constrains the rest of the platforms by providing an incentive to not
      make tests interactive.
c. The lack of UART is a witness to the poor quality of the port.

I want to stress point (c). If something as basic as a serial port cannot work,
how can we expect more complex fucntionality to work. The answer is impossible
to know, because of point (1).

3. Maintainance burden
======================

The RIOT project has limited time and human resources which can be better spent.

a. Compiling for mips-malta wastes CPU time.
b. Blacklisting the board in the test wastes contributor's time.
c. Adapting the board's makefile during build system rework takes time and makes
   the reworks harder.
 c.1. Add to that that the changes are most of the time not even tested on the board
      because of (1). Look at the github issues/PRs and you will see it.
d. Developers usually stick to the lowest common denominator. Issue (2) sets this
   denominator unacceptably low.

MIPS platform in general
========================

In commits I will address general issues in the MIPS platform and why it should all
be removed.
2019-07-12 12:24:52 +02:00
Francisco Acosta
6b094a78a9
Merge pull request #11804 from fjmolinas/pr_stm32l1_add_AX
stm32_common/stm32_mem_length: fix RAM_LEN for stm32l1xx-A/X cpu's
2019-07-10 18:18:42 +02:00
Kevin "Bear Puncher" Weiss
a5f65361b2
Merge pull request #11793 from MrKevinWeiss/pr/board/doc
boards/doc: Add a guide to find physical board pins
2019-07-09 10:43:13 +02:00
MrKevinWeiss
218742b851 boards/doc: Add a guide to find physical board pins
This is needed for those who do not know about searching the periph conf
It gives some hints on how to physically locate you board if connecting up sensors
2019-07-09 10:11:59 +02:00
Francisco
ba5106df4f
Merge pull request #9517 from aabadie/pr/board/stm32l0538-disco
boards/stm32l0538-disco: add initial support
2019-07-09 09:06:14 +02:00
francisco
9bdfc1c95a boards/lobaro-lorabox: add -A suffix to CPU_MODEL 2019-07-09 08:56:37 +02:00
4ac2b4ec2b
tests: exclude stm32l0538-disco board
because of insufficient memory available
2019-07-08 21:50:36 +02:00
7044c95ebf
boards/nucleo-144: fix l4r5zi LED0 pin 2019-07-08 09:09:48 +02:00
be8acc1496
boards/nucleo-l4r5zi: initial basic support 2019-07-08 09:09:48 +02:00
ea2da7b380
boards/stm32l0538-disco: initial support 2019-07-08 09:06:55 +02:00
1e7409a4f0
boards/nucleo*: cleanup board doxygen group definition
These boards were providing an empty doc.txt and the group definition was still in the periph_conf.h file
2019-07-07 17:56:54 +02:00
Leandro Lanzieri
cb57c6ff1a
Merge pull request #11798 from jia200x/pr/remove_sx127x_multi
sx127x: remove MULTIDIO and fix missing interrupt handling
2019-07-05 11:33:42 +02:00
Jose Alamos
c5dab7e615 boards/sensebox_samd21: remove DIOMULTI from pin configuration 2019-07-05 10:52:43 +02:00
Martine Lenders
395aaf34e9
Merge pull request #11582 from kaspar030/add_microbit_qemu_emulation
boards/microbit: add QEMU emulation
2019-07-04 21:36:16 +02:00
f03bba8d5c boards/microbit: add docuumentation for QEMU emulation 2019-07-04 17:50:39 +02:00
ce9de0e942 boards/microbit: add EMULATOR setting for QEMU 4.0 2019-07-04 16:26:45 +02:00
9e6d558596
stm32_eth: Code cleanup and some fixes
cpu/stm32_common: cleanup periph eth
boards/nucleo-f767zi: cleanup dependencies
boards/nucleo-f767zi: fix dma configuration attribute for eth
examples/default: add nucleo-767zi in boards with netif
drivers/stm_32_eth: Add header guard for eth_config

Co-authored-By: Robin <robin@chilio.net>
2019-07-04 15:27:50 +02:00
Robin
4729bea46e
stm32_eth: Multiple Improvements of the original codebase
stm32eth: Move to stm32_common periph
cpu/stm32_periph_eth: Rebase to current master branch

- Update DMA to use new vendor headers
- Update send to use iolist. It looks like the packet headers are now transfered as seperate iolist entries which results in the eth periph sending each header as own packet. To fix this a rather ugly workaround is used where the whole iolist content is first copied to a static buffer. This will be fixed soon in another commit
- If MAC is set to zero use luid to generate one
- Small code style fixes

cpu/stm312f7: Add periph config for on-board ethernet
boards/nucleo-f767zi: Add config for on board ethernet
tests/stm32_eth_lwip: Remove board restriction
boards/common/nucleo: Add luid module if stm32 ethernet is used
tests/stm32_eth_gnrc: Add Testcase for gnrc using the stm32 eth periph
stm32_eth: Rework netdev driver layour
tests/stm32_eth_*: Use netdev driver header file for prototypes
stm32_eth: Add auto init for stm32 eth netdev driver
boards/stm32: Enable ethernet conf for nucleo boards
stm32_eth_auto_init: Add dont be pendantic flag
stm32_eth: Remove dma specific stuff from periph_cpu.h

Looks like this was implemented in PR #9171 and 021697ae94 with the same interface.

stm32_eth: Remove eth feature from stm32f4discovery boards
stm32_eth: Migrate to stm32 DMA API
stm32_eth: Add iolist to module deps
stm32_eth: Rework send function to use iolist
stm32_eth: Fix ci build warnings
stm32_eth: Fix bug introduced with iolist usage
stm32_eth: Remove redundant static buffer
stm32_eth: Fix feature dependencies
stm32_eth: Fix wrong header guard name
stm32_eth: Implement correct l2 netstats interface
stm32_eth: Rename public functions to stm32_eth_*
stm32_eth: Fix doccheck
stm32_eth: Move register DEFINE to appropriate header file
stm32_eth: remove untested configuration for f446ze boards
stm32_eth: Move periph configuration struct to stm32_common
stm32_eth: Fix naming of eth_phy_read and eth_phy_write
stm32_eth: Remove obsolete test applications
2019-07-04 15:27:26 +02:00
Victor Arino
e206087d65
stm32_eth: Initial implementation by Victor Arino
drivers/eth-phy: add generic Ethernet PHY iface
cpu/stm32f4: implement eth driver peripheral

This implements the ethernet (MAC) peripheral of the stm32f4 as a
netdev driver.
boards/stm32f4discovery: add eth configuration
boards/stm32f4discovery: add feature stm32_eth
tests/stm32_eth_lwip: add test application
2019-07-04 15:04:01 +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
342f3e87e2
boards/stm32l4: add riotboot support 2019-07-04 10:35:02 +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
Leandro Lanzieri
5492214fbf
Merge pull request #11768 from aabadie/pr/boards/lobaro_lorabox
boards/lobaro-lorabox: add sx1272 radio driver dependency to netdev_default
2019-07-04 09:19:26 +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
cladmi
6be662a48b
boards/msp30: use common/msb-430/Makefile.features
Use the common `msb-430/Makefile.features` instead of duplicating the
`cpu` include.
2019-07-01 18:09:57 +02:00
cladmi
38e0ce3d54
boards/bluepill/blackpill: always include common Makefile.features
The file is there so no reason to have an include if file exists.
2019-07-01 18:09:57 +02:00
8db29ad065
boards/lobaro-lorabox: add sx1272 driver to netdev_default deps 2019-07-01 14:50:04 +02:00
Sören Tempel
7c49cbb4a1 boards/native: make compilation of qdec mock conditional
Previously this code was compiled unconditionally which might result in
a linking error since qdecs_value is not defined if the periph_qdec
module isn't enabled.
2019-07-01 14:23:15 +02:00
a1d0192e48
boards/nucleo-f3xx: add support for riotboot feature 2019-07-01 10:44:32 +02:00
Marian Buschsieweke
67631f3ae8
boards/msbiot: Added missing doc in board.h
- Fixes warnings with current Doxygen version
- Resolves issue with Doxygen linking e.g. LED0_PIN to the doc of a different
  board
2019-06-28 16:46:46 +02:00
c9bf22be69
Merge pull request #11748 from maribu/msbiot_doc
boards/msbiot: Updated/fixed documentation
2019-06-28 15:44:25 +02:00
Gaëtan Harter
47ff0198d5
boards/native: define FLASHFILE
Even if native does not require flashing, it is the file used for running.
2019-06-27 14:27:10 +02:00
Marian Buschsieweke
489138c2d3
boards/msbiot: Updated/fixed documentation
- Updated outdated information
- Fixed Markdown to generate desired output
- Replaced references to source code by references to their documentation
- Correct use of units (b = bit, B = byte, Ki = 1024, K = 1000, ...)
2019-06-27 09:27:04 +02:00
MrKevinWeiss
407dff7f62 boards/openmote-b/doc: Add doc.txt to openmote-b
It seems the doc was not added during the port.
This adds documentation similar to the openmote-cc2538.
This also expands on some flashing issues that have occurred.
2019-06-26 09:58:06 +02:00
Kevin "Bear Puncher" Weiss
90e8da0a9b
Merge pull request #11708 from cladmi/pr/mspdebug/flashfile
boards/mspdebug: use FLASHFILE for boards using mspdebug
2019-06-25 13:38:32 +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
6e0164be3c
boards/mbed_lpc1768: fix file format documentation in flash
The board is flashing using a binary file and not a 'hex' file.
I did not update the documentation when renaming the variable.

The comment was copied from the other boards using 'fscopy' and a
hexfile.
2019-06-25 12:36:08 +02:00
Kevin "Bear Puncher" Weiss
b4079badf7
Merge pull request #11730 from leandrolanzieri/pr/boards/nucleo-l476rg_dma_config
boards/nucleo-l476rg: Add DMA support
2019-06-24 15:30:46 +02:00
Kevin "Bear Puncher" Weiss
cc13558c5e
Merge pull request #11699 from cladmi/pr/pic32/flashfile
boards/pic32-xx: set FLASHFILE to HEXFILE
2019-06-24 11:16:39 +02:00
Kevin "Bear Puncher" Weiss
5481ef1141
Merge pull request #11710 from cladmi/pr/boards/single/flashfile
boards/single: use FLASHFILE
2019-06-24 10:59:45 +02:00
Kevin "Bear Puncher" Weiss
b076d856ab
Merge pull request #11709 from cladmi/pr/dfu/flashfile
boards/dfu-util: use FLASHFILE for boards using dfu-util
2019-06-24 10:59:14 +02:00
Kevin "Bear Puncher" Weiss
dec51aac20
Merge pull request #11711 from cladmi/pr/board/mips-malta/flashfile
boards/mips-malta: set FLASHFILE
2019-06-24 10:35:27 +02:00
Benjamin Valentin
ba7841d7b4 boards/same54-xpro: add riotboot support 2019-06-21 09:47:04 +02:00
Leandro Lanzieri
e92516e31c boards/nucleo-l476rg: Add DMA support 2019-06-21 09:40:03 +02:00
Gaëtan Harter
78fdc49b32
boards/mips-malta: set FLASHFILE
Set FLASHFILE to the file that was generated before.

It still need to have HEXFILE=$(BINFILE) as it cannot generate a hex file.
2019-06-17 18:52:41 +02:00
Gaëtan Harter
1c14a7da86
boards/goodfet: use FLASHFILE for boards using goodfet.bsl
Update to use FLASHFILE as file to be flashed on the board.
2019-06-17 18:26:39 +02:00
Gaëtan Harter
785a9546ae
boards/opencm904: use FLASHFILE for boards using robotis-loader.py
Update to use FLASHFILE as file to be flashed on the board.
2019-06-17 18:26:36 +02:00
Gaëtan Harter
451b129315
boards/f4vi1: use FLASHFILE for boards using st-flash
Update to use FLASHFILE as file to be flashed on the board.
2019-06-17 18:26:33 +02:00
Gaëtan Harter
1b3d4b1a56
boards/teensy31: use FLASHFILE for boards using teensy_loader
Update to use FLASHFILE as file to be flashed on the board.
2019-06-17 18:26:30 +02:00
Gaëtan Harter
af810add1a
boards/fscopy: use FLASHFILE when using fscopy
Update to use FLASHFILE as file to be flashed on the board.
2019-06-17 18:26: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
18bb31c38e
Merge pull request #11643 from fjmolinas/pr_stm32l4_riotboot
boards/nucleo-l476rg: add riotboot
2019-06-14 16:50:28 +02:00
Gaëtan Harter
baa326b83d
boards/pic32-xx: set FLASHFILE to HEXFILE
The boards are using HEXFILE for flashing even if there is no
FLASHER for the moment.
2019-06-14 15:06:24 +02:00
Marian Buschsieweke
04b7ab16c0
boards/nrf52840dk: Arduino-compatible SPI config
Added a SPI config that allows using Arduino-Shields that use SPI via the
Arduino-ICSP header
2019-06-14 12:04:30 +02:00
Marian Buschsieweke
c822f48789
boards/nrf52dk: Arduino-compatible SPI config
Added a SPI config that allows using Arduino-Shields that use SPI via the
Arduino-ICSP header
2019-06-14 12:04:30 +02:00
Marian Buschsieweke
f1c25b7c5c
boards/nrf52832-mdk: Use default SPI config 2019-06-14 12:04:30 +02:00
Marian Buschsieweke
2e16256abe
boards/nrf52840-mdk: Use default SPI config 2019-06-14 12:04:30 +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
98aa643d7e
PHYTEC reel: add usbdev feature 2019-06-11 14:17:11 +02:00
e745078f76
particle-mesh: add usbdev feature 2019-06-11 14:17:07 +02:00
7ca573aace
nrf52840-mdk: add usbdev feature 2019-06-11 14:17:02 +02:00
cc5320d626
nrf52840dk: Add usbdev feature 2019-06-11 14:14:36 +02:00
4e5a320dc6
Merge pull request #11513 from skullbox305/board-nrf52840-mdk
boards/nrf52840-mdk: added I2C config
2019-06-11 13:48:15 +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
6932709163
boards/stm32f429i-disc1: add i2c configuration 2019-06-07 17:35:43 +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