dylad
4ff319b469
nrf52/i2c: adapt to new I2C API
2018-07-25 12:01:34 +02:00
dylad
93558125b5
sam0/i2c: update sam0 based periph_conf
...
Signed-off-by: dylad <dylan.laduranty@mesotic.com>
2018-07-25 12:01:34 +02:00
Peter Kietzmann
f398b5e5ff
Merge pull request #9428 from kYc0o/add_reset_remote
...
remote: add RESET variable
2018-07-11 10:28:39 +02: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
ce917269da
Merge pull request #9333 from cladmi/pr/make/fix/stm32f103c8
...
stm32f103c8: fix Makefile.include INCLUDES definition
2018-07-04 09:56:35 +02:00
Gaëtan Harter
d4ca2644a3
boards/iotlab-m3|a8: fix openocd configuration
...
iotlab-m3 boards always ended up not being able to flash after time.
This changes managed to fix and flash boards that where able to be flashed with
the deprecated `ft2232` driver and not with the `ftdi` driver used in RIOT.
It combines configuration from openocd, iot-lab, RIOT config and Alexandre
Abadie feedback
* http://repo.or.cz/openocd.git/blob/HEAD:/tcl/interface/ftdi/iotlab-usb.cfg
* ftdi configuration
* https://github.com/iot-lab/iot-lab-gateway/blob/2.4.1/gateway_code/static/iot-lab-m3.cfg
* `trst_and_srst` config
* Alexandre feedback and http://openocd.org/doc/html/Reset-Configuration.html
* 'connect_assert_srst' reset configuration
* it prevents errors in the output on first flash
* should help on boards with invalid code
* It was taken from what Alexandre found for board 'b-l072z-lrwan1'
* It requires using '-c reset halt' instead of '-c halt' before debug
* RIOT
* Keep the `configure -rtos` auto
2018-07-02 11:00:48 +02:00
4e1f07b895
Merge pull request #8475 from aabadie/pr/common-stlink
...
boards/stm32: use common place of openocd config files for all boards using stlink
2018-06-28 15:13:48 +02:00
Marian Buschsieweke
de9b67bdc2
drivers/sht1x: Major refactoring
...
- Use RIOT's GPIO interface to access the sensor to increase portability
- Changed API to allow more than one sensor per board
- Added `sht1x_params.h` that specifies how the sensors is connected - each
board can overwrite default settings by #defining SHT1X_PARAM_CLK and
SHT1X_PARAM_DATA
- Changed arithmetic to use integer calculations only instead of floating point
arithmetic
- Added support for checking the CRC sum
- Allow optional skipping of the CRC check to speed up measuring
- Added support for advanced features like reducing the resolution and skipping
calibration to speed up measuring
- Allow specifying the supply voltage of sensor which heavily influences the
temperature result (and use that information to calculate the correct
temperature)
- Reset sensor on initialization to bring it in a well known state
- Support for the obscure heater feature. (Can be useful to check the
temperature sensor?)
- Updated old SHT11 shell commands to the new driver interface, thus allowing
more than one SHT10/11/15 sensor to be used
- Added new shell command to allow full configuration of all attached SHT1x
sensors
- Removed old command for setting the SHT11 temperature offset, as this feature
is implemented in the new configuration command
2018-06-27 08:58:00 +02:00
Marian Buschsieweke
d208c224b0
drivers: Renamed module sht11 to sht1x
...
The sensor family SHT10, SHT11 and SHT15 only differ in their accuracy (as in
calibration, not as in resolution). Thus, the same driver can be used for all.
The new driver name better reflects this fact.
2018-06-27 08:57:58 +02:00
de15af4c87
boards/common/stm32-link: add common place for stlink
...
- introduce common place for boards using stlink: same serial, all use openocd
- apply this to nucleos
2018-06-26 20:45:23 +02:00
Gaëtan Harter
9d891c7b75
wsn430: IoT-LAB requires the HEXFILE for flashing
2018-06-15 15:37:21 +02:00
d8c3e1da4e
Merge pull request #8549 from haukepetersen/opt_boards_stm32-clk-f4-180
...
boards/stm32-based: use shared configuration snippets
2018-06-12 20:48:01 +02:00
Gaëtan Harter
9f26d374ae
stm32f103c8: fix indentation in Makefile.include
2018-06-12 15:34:59 +02:00
Gaëtan Harter
5580bae495
stm32f103c8: fix INCLUDES definition location
...
It was currently defined in the flasher conditional.
2018-06-12 15:34:41 +02:00
6bc494b928
boards: fix doxygen grouping
2018-06-11 19:12:02 +02:00
Marian Buschsieweke
bb6d0e304c
boards: Added module boards_common_stm32f103c8 & refactored bluepill
...
- Moved common code for STM32F103C8 based boards to the new module
- Updated board `bluepill` to use the new module
2018-06-04 08:52:23 +02:00
Martine Lenders
3f1cf7d5ee
common_wsn430: rename board.h to board_common.h
...
Since wsn430-v1_3b and wsn430-v1_4 do have different radio
configurations we need to separate `board.h` for them, so this moves
their currently common `board.h` to `board_common.h` to be included by
later introduced `board.h`
2018-05-29 21:22:29 +02:00
5897cf09cc
Merge pull request #9133 from aabadie/pr/boards/riottools
...
boards: use RIOTTOOLS variable
2018-05-28 17:02:43 +02:00
Hauke Petersen
079f3c08d4
boards/stm32f4-based: use shared 168MHz clock conf
2018-05-24 19:00:42 +02:00
Hauke Petersen
cc90edc373
boards/stm32: use shared 180MHz clock config
2018-05-24 19:00:42 +02:00
Hauke Petersen
3182ad21e6
boards/stm32: add shared spi divtable header
2018-05-24 19:00:42 +02:00
Hauke Petersen
e18f518023
boards: add path for STM32-shared config snippets
2018-05-24 19:00:42 +02:00
ac00b81e24
boards/nucleo-l496zg: add initial support
2018-05-15 11:56:51 +02:00
cb991cd47d
boards: use RIOTTOOLS variable
2018-05-15 11:23:44 +02:00
3f1657ffbb
Merge pull request #8952 from ZetaR60/RIOT_atmega_graceful_clock
...
boards/common/atmega: gracefully handle CKDIV8 fuse
2018-05-14 16:11:17 +02:00
bb60b3e040
Merge pull request #9074 from haukepetersen/opt_nrf5x_nrfminfeature
...
cpu/nrf5x: define nrfmin feature in nrf5x_common
2018-05-12 02:18:31 +02:00
3474d052b9
boards/iotlab: fix saul gpio configuration
...
take into account inversion of LEDs and initialize them cleared
2018-05-04 15:07:20 +02:00
Hauke Petersen
9815697b3e
cpu/nrf5x: define nrfmin feature in nrf5x_common
2018-05-04 13:47:46 +02:00
Matthew Blue
2979626ef6
boards/common/atmega: gracefully handle CKDIV8 fuse
2018-05-02 14:05:33 -04:00
Matthew Blue
a6ef6ddbfd
boards/common/arduino-atmega: remove context swap defines
2018-04-27 14:13:34 -04:00
22aa6b9cc5
Merge pull request #8962 from aabadie/pr/boards/doxygen_cleanup
...
boards*: cleanup doxygen
2018-04-24 10:56:00 +02:00
7f62fd83ed
boards/arduino-atmega: don't provide arduino for jiminy-mega256rfr2
2018-04-20 16:23:17 +02:00
70802fc652
boards*: cleanup doxygen
...
- replace brief with name where required
- remove some unwanted empty lines
- fix missing closing doxygen name block
2018-04-18 12:08:56 +02:00
479ee51649
Merge pull request #8807 from kYc0o/fix_f4_backoff
...
nucleo-f4xx: increase xtimer backoff to 7 for F4 family
2018-04-10 15:26:14 +02:00
Francisco Acosta
7b16b8a994
boards/common/nucleo: increase backoff to 8 for F4 family
2018-04-10 15:15:55 +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
d7bf2c112e
Merge pull request #7491 from aabadie/nucleo_l433
...
boards/nucleo-l433rc: initial support
2018-04-07 21:12:14 +02:00
Hauke Petersen
ceb76403f4
boards/nrf52xxxdk: add Skald dependencies
2018-04-06 11:18:53 +02:00
Hauke Petersen
2c01034088
boards/nrf52xxxdk: added BLE radio features
2018-04-06 11:18:53 +02:00
Francisco Acosta
69f4d632e3
Merge pull request #8837 from kaspar030/refactor_atmega_stdio
...
cpu/atmega: refactor stdio init code
2018-04-03 15:56:33 +03:00
60a55eb06d
boards/common/arduino-atmega: use common/atmega shared code
2018-04-03 14:18:32 +02:00
ae8822ff46
boards/common/atmega: initial commit of atmega shared code
2018-04-03 14:18:32 +02:00
Sebastian Meiling
ee3196a6b6
Merge pull request #8726 from smlng/remote/add_uart1
...
boards: add UART1 config for Zolertia Remotes
2018-03-29 14:22:23 +02:00
Gaëtan Harter
fff5810191
Makefile.include: FIX .DEFAULT_GOAL not being all
...
.DEFAULT_GOAL was reset many times which removed 'all' from being the default
goal.
By chance it was then set to `link` so was working by some magic.
2018-03-28 16:59:00 +02:00
Gaëtan Harter
72ddc72f2b
make: cleanup HEXFILE/ELFFILE/BINFILE
...
* Use the existing variable when possible
* Remove duplicate definition
* Remove unused BINFILE variable
2018-03-27 16:02:48 +02:00
61f1b941ce
make: replace curly braces with parenthesis
2018-03-22 20:43:15 +01:00
e05fe7f60a
boards/common/nucleo64: specific cases for nucleo-l433
2018-03-21 17:07:28 +01:00
1c90210277
boards/nucleo-l433rc: initial basic support
2018-03-21 17:07:28 +01:00
Francisco Acosta
a0017e3eb7
Merge pull request #8763 from aabadie/pr/boards/nucleo-l1-xtimer-backoff
...
boards/nucleo-l152: increase xtimer backoff
2018-03-20 18:33:48 +01:00
Bas Stottelaar
3bcb3f6d9e
board: common/silabs, sltb001a: add conditional include
2018-03-16 22:17:54 +01:00
912e107d23
boards/nucleo-l152: increase xtimer backoff
2018-03-09 09:28:25 +01:00
Martine Lenders
6ca74fa145
Merge pull request #8708 from aabadie/boards/params/iotlab
...
boards/iotlab*: fix driver params usage
2018-03-08 14:02:51 +01:00
Joakim Nohlgård
6dbc8d7e17
frdm-common: Add OpenOCD configurations for Kinetis L devices
2018-03-02 15:38:39 +01: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
Sebastian Meiling
f5ef0bd09c
Merge pull request #8345 from danpetry/cc2538_uart
...
cc2538/include/periph_cpu.h: Changed UART configuration format for cc2538.
2018-03-01 12:02:59 +01:00
79ab920333
boards/iotlab*: fix driver params usage
2018-02-28 18:26:39 +01:00
Bas Stottelaar
eada4b71df
boards/common: silabs: add common board drivers for Silicon Labs devkits.
2018-02-13 21:46:05 +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
3d4d9c7902
boards/*: instead of cpp-style, use C-style comments
2018-02-06 16:59:58 +01:00
dylad
391164a788
pkg: fix broken nordic softdevice package
...
Prevent CPU from using cortexm_init() when softdevice is used for NRF52 devices
as the softdevice already do some obscur inits
Also ensure the softdevice pkg will be used by hacking Makefile due to RIOT's
build system limitations (will be fix later with the new build system)
2018-02-05 17:04:13 +01:00
Hauke Petersen
2b2accf0cc
boards/nrf52-based: updated I2C configuration
2018-02-02 11:34:40 +01:00
f8744e7b27
boards/common: move nucleo doxygen group to boards group
2018-01-27 18:48:24 +01:00
Martine Lenders
8ab837c4b9
Merge pull request #8061 from haukepetersen/opt_boards_wsn430
...
boards: cleanup structure of wsn430 boards
2018-01-24 16:05:42 +01:00
Hauke Petersen
70aa86e5e6
boards/common/wsn30: cleanup clock configuration
2018-01-24 15:09:59 +01:00
Hauke Petersen
18268ea535
boards/nucleo: fixed doxygen group in board.c
2018-01-24 10:24:23 +01:00
Hauke Petersen
fa0f4be203
boards/nucleo144: always (auto-) initialize LED0
2018-01-24 10:24:23 +01:00
Hauke Petersen
c6c0b752c3
boards/nucleo: use shard board.h and board.c files
2018-01-24 10:24:23 +01:00
Hauke Petersen
b4f497f5e2
boards/nucleo: factored out nucleo64 common
2018-01-24 10:23:17 +01:00
Hauke Petersen
ea0dc223a4
boards/wsn430: cleaned up structure
2018-01-24 10:19:22 +01:00
906a9e3a02
boards/common/nucleo: add missing 'brief' description
2018-01-18 10:23:34 +01:00
Peter Kietzmann
384cc455fa
Merge pull request #8359 from aabadie/pr/nucleo64_btn_gpio
...
boards/common/nucleo: use inverted gpio for user button
2018-01-17 11:53:59 +01:00
Hauke Petersen
8587ba0e67
boards/nrf52xxxdk: fix board name in doxygen
2018-01-15 23:01:34 +01:00
Hauke Petersen
89cdf584c9
boards/common/nrf52xxxdk: guard SAUL GPIO mappings
2018-01-15 23:01:34 +01:00
Hauke Petersen
761258cf3a
boards/common/nrf52xxxdk: move LED mask to board.h
2018-01-15 23:01:34 +01:00
845ffe0100
boards/common/nucleo: use inverted gpio for user button
2018-01-15 09:42:49 +01:00
Martine Lenders
9163bdc406
Merge pull request #8328 from aabadie/pr/boards/doxygen
...
boards: fix doxygen inconsistencies and typos
2018-01-09 16:25:02 +01:00
Dylan Laduranty
87e3f10e8b
Merge pull request #8318 from PeterKietzmann/dnahm_nrf52_i2c
...
cpu/nrf52: add i2c driver and configs
2018-01-08 09:23:35 +01:00
ce66117dc0
boards/common/nucleo: use @name instead of @brief
2018-01-05 15:33:03 +01:00
5b5c99c27b
boards: fix doxygen typo on arduino
2018-01-05 15:32:20 +01:00
Hauke Petersen
8d5b9edba4
boards/thingy52: use shared Makefile.include
2018-01-05 13:14:20 +01:00
dnahm
6245b4165f
cpu/nrf52: add i2c driver and configs
2018-01-04 10:51:05 +01:00
dnahm
201d532251
boards/ACD52832: add new NRF52 based developement board
2017-12-20 16:37:17 +01:00
smlng
b1df79a45b
boards: fix doxygen groups for STM nucleo boards
2017-12-15 17:06:29 +01:00
smlng
776a05003b
boards/common: add doxygen group
2017-12-15 10:35:48 +01:00
smlng
7ae468c7f3
boards/common: enhance doxygen for IoTlab boards
2017-12-15 10:28:51 +01:00
smlng
b19422780c
boards/common: enhance doxygen for NXP FRDM
2017-12-15 10:28:03 +01:00
smlng
08e838e9e0
boards/common: enhance doxygen for WSN-430
2017-12-15 10:27:58 +01:00
smlng
356fe22ec5
boards/common: enhance doxygen for Zolertia Re-Mote
2017-12-15 10:27:22 +01:00
smlng
39a5576aa7
boards/common: enhance doxygen for stm nucleo144
2017-12-15 10:26:48 +01:00
smlng
b06b5748ec
boards/common: enhance doxygen for stm nucleo32
2017-12-15 10:25:59 +01:00
smlng
c1354ac3d7
boards/common: enhance doxygen for stm nucleo
2017-12-15 10:25:29 +01:00
smlng
a4b1ce658b
boards/common: enhance doxygen for nrf52
2017-12-15 10:24:48 +01:00
smlng
37be1e3846
boards/common: enhance doxygen for msb-a2
2017-12-15 10:24:13 +01:00
smlng
2a37aa265d
boards/common: enhance doxygen for msb-430
2017-12-15 10:23:27 +01:00
smlng
f29b01ebe3
boards/common: enhance doxygen for arduino-mkr
2017-12-15 10:22:35 +01:00
smlng
779979bab5
boards/common: enhance doxygen for arduino-due
2017-12-15 10:21:45 +01:00
smlng
800fac5be4
boards/common: enhance doxygen for arduino-atmega
2017-12-15 10:21:10 +01:00
smlng
25ef1ea880
boards, remote-X: adapt and centralize uart pin config
2017-12-14 10:43:58 +01:00
Hauke Petersen
41ec9b2542
boards/common/nrf52: fixed SAUL gpio params
2017-11-30 16:13:12 +01:00
Hauke Petersen
076de4eb35
boards: factored out shared code for nRF52 boards
2017-11-30 15:50:57 +01:00
Hauke Petersen
01bfac6dbc
boards/common: add Arduino Due common files
2017-11-30 13:50:55 +01:00
Hauke Petersen
6b252e56ec
boards/frdm: moved shared code to common/frdm
2017-11-30 10:26:36 +01:00
Hauke Petersen
59b3e0cedd
boards/nucleo: move shared code to common/nucleo
2017-11-30 10:26:36 +01:00
Hauke Petersen
00a365b956
boards/nucleo32: move shared code to common/nucleo32
2017-11-30 10:26:36 +01:00
Hauke Petersen
f1135af3d7
boards/nucleo144: move shared code to common/nucleo144
2017-11-30 10:26:35 +01:00
Hauke Petersen
050a1ddeab
boards/arduino-mkr: move shared code to common/arduino-mkr
2017-11-30 10:26:35 +01:00
Hauke Petersen
0f155db499
boards/arduino-atmega: move shared code to common/arduino-atmega
2017-11-30 10:26:35 +01:00
Hauke Petersen
eb2b9f2169
boards/iotlab: move shared code to common/iotlab
2017-11-30 10:26:35 +01:00
Hauke Petersen
6c118cfc0b
boards/msb-430: move shared code to common/msb-430
2017-11-30 10:26:35 +01:00
Hauke Petersen
b7943900fc
boards/msba2-based: move shared code to common/msba2
2017-11-30 10:26:35 +01:00
Hauke Petersen
4bcb353f89
boards/remote: move shared code to common/remote
2017-11-30 10:26:35 +01:00
Hauke Petersen
bd96d42ede
boards/wsn430: move shared code to common/wsn430
2017-11-30 10:26:35 +01:00