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

22832 Commits

Author SHA1 Message Date
14d9f54abb
Merge pull request #11598 from aabadie/pr/missing_stdio_uart_rx
Add stdin pseudo module and set it as dependency for applications using getchar
2019-06-20 17:11:46 +02:00
Martine Lenders
d47ac80d4c
Merge pull request #10350 from miri64/gnrc/fix/static-analyzis
gnrc: fix several issues found with LLVM's static code analyzer
2019-06-20 16:53:36 +02:00
MrKevinWeiss
6419a7a3aa cpu/kinetis/i2c: Fix false positive for expected EIO during i2c write
This fixes the positive result when master write data is NACKed.
This false positive occurs when the write frame is finished but a data nack occurred.
The AF check should occur first.
2019-06-20 16:32:25 +02:00
Martine Lenders
3ee75c3ca9 gnrc_sixlowpan_iphc: assure ctx != NULL for dst compression
For the source address compression it was already done the same way in
12bcc46f15
2019-06-20 16:18:23 +02:00
Martine Lenders
2cb0ccc800 shell_commands: gnrc_netif: fix _newline() handling 2019-06-20 16:18:23 +02:00
Martine Lenders
3edb52de0c gnrc_rpl_dodag: remove new_best assignment at initialization
The variable is without usage reassigned with `dodag->parent` below.
2019-06-20 16:18:23 +02:00
Martine Lenders
fa95cc8090 gnrc_ipv6_nib: assure netif != NULL in route info callback 2019-06-20 16:18:23 +02:00
9c7a1e6a27
tests/lua_loader: add stdin dependency 2019-06-20 16:01:45 +02:00
c10905623d
sys/stdio_uart: document stdin module requirement 2019-06-20 16:01:45 +02:00
7f5a402267
tests/posix_time,xtimer_usleep: add stdin dependency 2019-06-20 16:01:45 +02:00
a66c7cf6e7
tools/nrf52_resetpin_cfg: add stdin dependency 2019-06-20 16:01:45 +02:00
7d4a98a075
make: introduce stdin pseudomodule 2019-06-20 15:56:44 +02:00
MrKevinWeiss
b5db0dab2d cpu/stm32/i2c: Fix error flag clearing in sr1
This commit fixes the clearing of a error condition after read.
This causes the incorrect errorcodes if the register is read
then an error occurs, then it is cleared.
By clearing only after the error is processed the bug is fixed.
This can be tested by reading a i2c slave that is not there.
2019-06-20 15:53:44 +02:00
Benjamin Valentin
f29ca155d8 cpu/samd5x: fix CPU init
There were still some things wrong with samd5x CPU init which only
showed up when used in conjunction with RIOTBOOT, that is cpu_init()
was called twice.

 - gclk_connect() should block until the GCLK is ready.
 - DPLL should be disabled dring configuration.
 - make sure not to use DPLL for MCLK when re-configuring DPLL
 - All APBxMASK bits should be in a defined state.
 - always enable 1kHz oscilator output.
2019-06-20 11:29:05 +02:00
a671c6c247
Merge pull request #11715 from fjmolinas/pr_stm32_flashpage_cleanup
stm32_common/flashpage: cleanup
2019-06-20 10:03:18 +02:00
francisco
46b90134ad stm32_common/flashpage: cleanup stm32l0/1
- Since writes are performed per word no actions need
  to be performed for flash access, and the FPRG doesn't
  need to be cleared.
2019-06-20 09:43:13 +02:00
francisco
5e709edb31 stm32_common/flashpage: remove repeated command 2019-06-20 09:31:48 +02:00
francisco
eb78d35096 stm32_common/flashpage: make implicit CPU_FAM defines explicit 2019-06-20 09:28:27 +02:00
francisco
10875890e0 stm32_common/flashpage: use HSI only for stm32f0/1
- Before, HSI was enabled as the default case when it is only
  used for stm32f0 and stm32f1. It is now implemented explicitly
  for those platforms, and only those.
2019-06-20 09:27:26 +02:00
Kees Bakker
4a06b9109b usbus: simplify adding entry to list 2019-06-19 22:22:10 +02:00
Martine Lenders
abf4d60286
Merge pull request #11718 from jia200x/pr/netdev_ieee802154_pib
netdev_ieee802154: add txpower and page
2019-06-19 18:24:13 +02:00
Semjon Kerner
c332514875
Merge pull request #11721 from miri64/sock_ip/fix/doc-udp
sock_ip: fix documenation referring to UDP sock
2019-06-19 14:59:40 +02:00
Martine S. Lenders
9ba22083ee sock_ip: fix documenation referring to UDP sock 2019-06-19 14:18:45 +02:00
Francisco
6db5aa09cb
Merge pull request #11641 from fjmolinas/pr_riotboot_m4
riotboot/Makefile.include: increase RIOTBOOT_HDR_LEN for ARMv7*-M
2019-06-18 22:42:49 +02:00
francisco
75efed16cb sys/riotboot: RIOTBOOT_HDR_LEN generic definition 2019-06-18 15:12:54 +02:00
francisco
4acceefa65 cortexm_common/Makefile.include: set RIOTBOOT_HRD_LEN for cortex-m
- Since the Vector table must be naturally aligned to the next power
  of two of the amount of supported ISR, and the table will be
  placed after riotboot_hdr, we must ensure RIOTBOOT_HRD_LEN has the
  same alignment.
2019-06-18 15:11:05 +02:00
Jose Alamos
302fa1467f netdev_ieee802154: add txpower to descriptor 2019-06-18 13:51:31 +02:00
Jose Alamos
c33d5f744b netdev_ieee802154: add channel page to descriptor 2019-06-18 13:51:31 +02:00
Dylan Laduranty
fc9577030e
Merge pull request #11689 from benpicco/sam0_32k-gclk
cpu/sam0_common: RTC & RTT cleanup
2019-06-18 13:50:04 +02:00
Benjamin Valentin
d6b8df1ff7 cpu/samd21: allow to use XOSC32K for GCLK2
GCLK2 is needed by RTC/RTT, so make it possible to configure it with
XOSC32K as source.
2019-06-18 13:20:04 +02:00
Benjamin Valentin
7928c74e26 sam0_common: rtc/rtt: don't setup oscilators
leave that to cpu.c
2019-06-18 13:20:04 +02:00
Benjamin Valentin
c9c3cb84bf cpu: saml1x/saml21: setup 32kHz Oscilator in cpu.c
Clock setup does not belong in the peripheral driver.
2019-06-18 13:20:04 +02:00
Benjamin Valentin
46565ad339 cpu: saml1x/saml21: reduce differences in cpu.c
The init code for both MCUs is so alike, but it diverged over time.
Re-order the code, so that it's the same on both families again.
2019-06-18 13:20:04 +02:00
Martine Lenders
255a5cd0a6
Merge pull request #11716 from miri64/gnrc_ipv6_nib/fix/slaac-addr-validation
gnrc_ipv6_nib: add address from netif to address validation timer
2019-06-18 12:45:55 +02:00
Martine Sophie Lenders
a09072c93d gnrc_ipv6_nib: add address from netif to address validation timer
The `addr` parameter of the NIB's `_handle_dad()` function can come
from anywhere (e.g. in the fallback to classic SLAAC the destination
address of the IP header is used), so putting that pointer in a timer
is not a good idea. Instead we use the version of the address that is
stored within the interface.
2019-06-18 12:05:07 +02:00
Martine Sophie Lenders
f5f8261b1c gnrc_ipv6_nib: add debug messages for DAD + 6Lo 2019-06-18 11:48:04 +02:00
Martine Sophie Lenders
484526533d gnrc_ipv6_nib/SLAAC: add debug message for address validation 2019-06-18 11:47:47 +02:00
Leandro Lanzieri
f32ab700cb
Merge pull request #11703 from fhessel/fix-ubjson-i64
sys/ubjson: Write missing marker for i64
2019-06-18 11:14:11 +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
a12f1a4026
makefiles/dfu.inc.mk: use FLASHFILE
Update to use FLASHFILE as file to be flashed on the board.
2019-06-17 18:09:43 +02:00
Leandro Lanzieri
3f348f50fb
Merge pull request #11702 from fhessel/fix-ubjson-bool
sys/ubjson: Do not invert bool when writing it
2019-06-17 16:17:29 +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
Kevin "Bear Puncher" Weiss
2c0b2f3982
Merge pull request #11696 from cladmi/pr/pyocd/use_flashfile
makefiles/pyocd.inc.mk use FLASHFILE
2019-06-17 09:48:48 +02:00
Leandro Lanzieri
9696dd6c65
Merge pull request #11700 from cladmi/pr/bossa/use_flashfile
makefiles/bossa.inc.mk: use FLASHFILE
2019-06-17 09:27:05 +02:00