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

20981 Commits

Author SHA1 Message Date
552909cf90
Merge pull request #10694 from MrKevinWeiss/pr/bh1750fix
drivers/bh1750: Fix mislabeled i2c address
2019-01-03 09:50:56 +01:00
Kevin "Bear Puncher" Weiss
fd15cb8f77
Merge pull request #10646 from aabadie/pr/boards/nucleo-f072-i2c
boards/nucleo-f072rb: configure I2C using common stm32 configuration
2019-01-03 09:48:57 +01:00
MrKevinWeiss
b870dbb3b9 drivers/bh1750: Fix mislabeled i2c address
The i2c address when the pin is high/low are swapped.
This swaps them to match the datasheet and changes the default to low.
2019-01-03 09:08:31 +01:00
Ken Bannister
5e9a2c0925 net/nanocoap: allow user to configure macros 2019-01-02 13:12:05 -05:00
Ken Bannister
5f8e993faf net/coap: reference RFC for configurability 2019-01-02 12:54:12 -05:00
Ken Bannister
663bb5bb3d net/coap: use separate name for macro doc 2019-01-02 12:54:12 -05:00
Ken Bannister
94660f4db7 net/coap: allow user to configure message retry macros 2019-01-02 12:54:12 -05:00
Francisco Acosta
e8660b2012 cpu/cortex_common: add support for multislot
A second slot is defined with a calculated size, from the
remaining flash after the bootloader and the first slot.
Both slots are defined as equal size, but it can be overriden.
2019-01-02 17:56:11 +01:00
Francisco Acosta
8a0a0be426 riotboot: allow to overwrite slot 1
By erasing slot 1 header the slot gets invalidated.
This is very useful while debugging, since we can
force the bootloader to ignore anything on that
slot.
2019-01-02 17:56:11 +01:00
Francisco Acosta
ec24ea49b1 riotboot: add support for multislot
riotboot looks for valid, available slots and compares its
version. The slot with the highest version is booted, otherwise
if no valid slot is found it loops on `while(1);`
2019-01-02 17:56:11 +01:00
Francisco Acosta
8f22175af3 riotboot_slot: add second slot compatibility
When a second slot is defined, the "partition table"
gets a second field which represents the starting of
the second slot, at a defined offset.
2019-01-02 17:56:11 +01:00
Kevin "Bear Puncher" Weiss
90b5865692
Merge pull request #10691 from aabadie/pr/boards/stm32_useless_defines
boards/stm32: remove useless empty conf defines
2019-01-02 17:00:30 +01:00
c0b1d37d73 boards/nucleo-f072rb: use common i2c configuration 2019-01-02 16:08:56 +01:00
f6985c5b31 cpu/stm32f0: update stm32f072xb CMSIS header 2019-01-02 16:08:56 +01:00
402f02d471 boards/nucleo-f767zi: use STM32 common i2c config 2019-01-02 16:06:34 +01:00
9a61febf5c cpu/stm32f7: update stm32f767zi cmsis header file 2019-01-02 16:06:34 +01:00
Kevin "Bear Puncher" Weiss
24837e9f17
Merge pull request #10690 from aabadie/pr/boards/stm32_common_i2c_f0_f2
boards/stm32: factorize i2c configuration on stm32f0 and stm32f2 based nucleo boards
2019-01-02 16:05:36 +01:00
Kevin "Bear Puncher" Weiss
5fd304b5f5
Merge pull request #10588 from aabadie/pr/tests/bench_coreapis_pexpect_fix
tests/bench_runtime_coreapis: improve pexpect autotest
2019-01-02 15:06:51 +01:00
9a69c9bbc5 boards/stm32: remove useless empty conf defines 2019-01-02 14:52:38 +01:00
3eba44a660 boards/nucleo-f0207zg: use common clock and i2c configuration 2019-01-02 14:29:26 +01:00
24bc5ae254 boards/nucleo-f0xx: use common i2c configuration 2019-01-02 14:23:46 +01:00
541fc7f93f boards/stm32: add f2 common clock configuration 2019-01-02 14:23:46 +01:00
f90c69cf6e tests/bench_runtime_coreapis: improve pexpect autotest 2019-01-02 14:22:37 +01:00
4e7bfb65df tests/bench_runtime_coreapis: globally import testrunner 2019-01-02 14:22:28 +01:00
Kevin "Bear Puncher" Weiss
02ec3845de
Merge pull request #9728 from aabadie/pr/boards/stm32_common_i2c
boards: factorize some nucleo f4/f7/l4 i2c configuration
2019-01-02 14:05:32 +01:00
536e4a55a8 boards/nucleo-l496zg: provide and configure i2c 2019-01-02 11:27:42 +01:00
ed6dcfe872 boards/nucleo-f746zg: provide and configure i2c 2019-01-02 11:27:25 +01:00
4fd4ce4c54 boards/nucleo-f722/l476: use common i2c configuration 2019-01-02 11:26:54 +01:00
f8d8ddb1ef boards/stm32: adapt common i2c config to f7 and l4 2019-01-02 11:25:32 +01:00
0d6af64a15
Merge pull request #10647 from aabadie/pr/boards/nucleo-l422rc-i2c
boards/nucleo-l433rc: add I2C configuration
2019-01-02 11:01:17 +01:00
b81941f953 boards/nucleo-f4**: use common clock and I2c configuration 2019-01-02 10:30:13 +01:00
08608c350c boards/stm32: add common I2C configuration
This configuration provides 1 I2C using I2C1 on PB8 and PB9, which is very common for STMs
2019-01-02 10:30:13 +01:00
11da5036fb boards/stm32: add new common clock configurations 2019-01-02 10:30:13 +01:00
824201b9ea boards/nucleo-l433rc: add I2C configuration 2019-01-02 10:19:46 +01:00
Kevin "Bear Puncher" Weiss
7f179cd0bf
Merge pull request #10689 from aabadie/pr/boards/st_adc_numof_cleanup
boards/stm32: remove unnecessary ADC defines in board config
2019-01-02 10:10:29 +01:00
973a6a4c93 boards/stm32: remove unnecessary ADC defines in board config 2019-01-02 09:15:22 +01:00
Ken Bannister
c17cf650ca net/nanocoap: remove obsolete macro 2018-12-31 07:17:29 -05:00
Ken Bannister
03d4230d3a net/gcoap: specify range for token length 2018-12-31 06:13:55 -05:00
Bas Stottelaar
7372074223 cpu: efm32: update vendor headers 2018-12-30 23:35:57 +01:00
Bas Stottelaar
af7f3544a8 pkg: gecko_sdk: update to v2.5 2018-12-30 23:35:57 +01:00
Martine Lenders
c6150d3b35 gnrc_ipv6: make gnrc_netapi documentation more detailed 2018-12-30 19:24:24 +01:00
Ken Bannister
beae37cf18 net/gcoap: retitle documentation group
Avoids confusion with generic CoAP and capitalization retains order
in documentation.
2018-12-30 10:45:35 -05:00
Ken Bannister
3467994896 net/gcoap: add config macros to config doc group 2018-12-30 10:45:35 -05:00
Gunar Schorcht
d3f78a5a40
Merge pull request #10679 from miri64/gnrc_sixlowpan_frag/fix/send-check-msg-queue
gnrc_sixlowpan_frag: check if own message queue is full
2018-12-30 15:48:26 +01:00
Gunar Schorcht
934c4225d2
Merge pull request #10680 from miri64/gnrc_sixlowpan_frag/fix/rbuf-full-release
gnrc_sixlowpan_frag: release packet rbuf_add error cases
2018-12-30 15:47:59 +01:00
Martine Lenders
e8da744e6d gnrc_sixlowpan_frag: release packet when frag hdr can't be marked
Otherwise, there will be leaks ;-).
2018-12-30 01:05:34 +01:00
Martine Lenders
a409603f84 gnrc_sixlowpan_frag: release packet when rbuf is full
Otherwise, there will be leaks ;-).
2018-12-30 00:59:04 +01:00
Martine Lenders
9e3cdebae1 gnrc_sixlowpan_frag: check if own message queue is full
When issueing the sending of the next fragment the current version of
`gnrc_sixlowpan_frag` doesn't check if the queue is full. This leads to
leakage of the packet buffer, since when it is full, the package never
gets released.

This change adds a checks and error exits in case the queue is full.
2018-12-29 22:54:52 +01:00
Martine Lenders
d5bbf45d32 gnrc_sixlowpan_frag: reduce code duplication in send 2018-12-29 22:54:14 +01:00
Gunar Schorcht
a87c2c9563
Merge pull request #10675 from miri64/dist/enh/print-toolchain-version-xtensa
print_toolchain_versions.sh: add xtensa toolchains
2018-12-29 15:44:44 +01:00