Bas Stottelaar
2b7dc32035
Merge pull request #8489 from basilfx/feature/efm32_i2c_mutex
...
cpu: efm32: use static mutex initialization.
2018-02-14 10:27:09 +01:00
Bas Stottelaar
76ca2c9bb3
cpu: efm32: use static mutex initialization.
2018-02-14 09:30:08 +01:00
4947e8a8aa
Merge pull request #8552 from gebart/pr/vfs-reserve-stdio-fileno
...
sys/vfs: Exclude stdio file numbers from auto allocation
2018-02-13 21:49:41 +01:00
Bas Stottelaar
abf16ef658
boards: sltb001a: adapt to common board files.
2018-02-13 21:46:05 +01:00
Bas Stottelaar
eada4b71df
boards/common: silabs: add common board drivers for Silicon Labs devkits.
2018-02-13 21:46:05 +01:00
41dab11a8f
cpu/stm32f4: fix periph/adc resolution check
2018-02-13 21:45:02 +01:00
Francisco Acosta
b98227626d
Merge pull request #8554 from basilfx/bugfix/gecko_sdk_fallthrough
...
pkg: gecko_sdk: update version for GCC7 fixes.
2018-02-13 20:52:36 +01:00
Bas Stottelaar
2abc284e77
pkg: gecko_sdk: update version for GCC7 fixes.
2018-02-13 20:02:27 +01:00
Joakim Nohlgård
d24cd4fd73
unittests/vfs: Add test case for #8309
2018-02-13 18:14:58 +01:00
Joakim Nohlgård
be14d2eace
sys/vfs: Exclude stdio file numbers from auto allocation
...
Fixes #8309 (https://github.com/RIOT-OS/RIOT/issues/8309 )
2018-02-13 18:05:28 +01:00
smlng
c4194d4ba9
make: add flash-only target
2018-02-13 17:21:28 +01:00
88e79fb825
Merge pull request #8507 from kaspar030/allow_git_pkg_source_override
...
pkg: add local.mk, allow source folder override for git packages
2018-02-13 14:47:46 +01:00
Francisco Acosta
1b2ce2d559
Merge pull request #8544 from smlng/osx/cflags
...
cpu/native: reduce scope of CFLAGS for OSX compatibility
2018-02-13 14:29:54 +01:00
9227c6f0d8
pkg: add local.mk, allow source folder override for git packages
2018-02-13 14:11:28 +01:00
6f46b50337
Merge pull request #8488 from smlng/fix_tests_180129
...
tests: minor fixes for libfixmath, sizeof_tcb and gnrc_netif
2018-02-13 12:53:18 +01:00
f5da8c2cf5
Merge pull request #8518 from kYc0o/stm32l1_temp_fix
...
cpu/cortexm: add __NOP(); after __WFI(); for stm32l152 to avoid hardfault
2018-02-12 16:16:09 +01:00
Francisco Acosta
ac9328381c
cpu/cortexm_common: add NOP after WFI to avoid hardfault on stm32l152
2018-02-12 15:10:34 +01:00
Sebastian Meiling
fb8ade2331
Merge pull request #8546 from gebart/pr/vfs-fd-allocation
...
sys/vfs: Check suggested fd is valid
2018-02-12 10:08:06 +01:00
Joakim Nohlgård
85125d04ef
unittests/vfs: Add test for vfs_bind invalid FD argument
2018-02-12 08:46:44 +01:00
Joakim Nohlgård
490e7c87e0
sys/vfs: Check suggested fd is valid
...
Avoids out of bounds array access on _vfs_open_files if vfs_bind is
called with an invalid (positive) fd number
2018-02-12 08:45:19 +01:00
smlng
16d3225da0
pkg/tinydtls: fix for arm-none-eabi newlib 2.4.x
2018-02-09 20:56:21 +01:00
smlng
15a7e6bb98
cpu/native: reduce scope of CFLAGS for OSX compatibility
2018-02-09 17:44:41 +01:00
Vincent Dupont
368818aa23
Merge pull request #8272 from OTAkeys/pr/clean-up-mtd-native
...
boards/native: clean-up MTD and SPIFFS default config
2018-02-09 14:49:54 +01:00
Vincent Dupont
dfbbc0aa9f
Merge pull request #8315 from OTAkeys/pr/vfs_format
...
vfs: add format in vfs API
2018-02-09 14:48:56 +01:00
Vincent Dupont
d5bce2440b
vfs: do not umount fs which is not mounted
2018-02-09 14:29:46 +01:00
Vincent Dupont
5ede5db234
pkg/littlefs: add format implementation
2018-02-09 14:29:46 +01:00
Vincent Dupont
6c2d7ecac6
unittests/spiffs: add a format test
2018-02-09 14:29:45 +01:00
Vincent Dupont
054e6c2215
pkg/spiffs: implement format from vfs
2018-02-09 14:29:45 +01:00
Vincent Dupont
2eca6d25fd
vfs: add format function in vfs api
2018-02-09 14:29:45 +01:00
Joakim Nohlgård
2cc07f7f05
Merge pull request #7390 from tobhe/random
...
random: add random_bytes() function
2018-02-09 10:33:46 +01:00
Joakim Nohlgård
0cf3f63b6f
Merge pull request #8292 from cladmi/pr/deprecated/feature_macros
...
makefiles/modules.inc.mk: remove setting deprecated FEATURE_PERIPH_ macros
2018-02-09 10:32:12 +01:00
2afc28922a
Merge pull request #8535 from jia200x/fix_event_doc
...
doc: fix event_t attribute in documentation
2018-02-09 09:59:04 +01:00
06019e2070
Merge pull request #8540 from OTAkeys/pr/rtt_stm32f4
...
cpu/stm32_common: add RTT support for stm32f4
2018-02-08 18:21:58 +01:00
Vincent Dupont
a40055e65d
boards/nucleo144-f413: add RTT support
2018-02-08 17:40:05 +01:00
Vincent Dupont
972eeefe6e
stm32_common/rtt: add support for stm32f4
2018-02-08 17:39:39 +01:00
smlng
3eb6c0cc25
pkg/emb6: fix patching with newer git version
2018-02-08 15:59:17 +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
danpetry
06b98c8d0d
boards/openmote-cc2538: Changed UART config format
...
Changed the configuration of the OpenMote board 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
danpetry
c0a85babda
boards/cc2538dk: Changed UART config format
...
Changed the configuration of the cc2538dk board 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
danpetry
cd449e388b
cpu/cc2538: Adapted UART driver incl. board config
...
Changed the style of the UART configuration for different boards,
from a define based configuration to one based on an array of
structs, one struct for each UART, with the format of the struct defined
in cc2538/include/periph_cpu.h.
- Defined the fields of the struct in periph_cpu.h
- Removed the compilation includes that were in uart.c for each UART
- Implemented a generic ISR subroutine for clarity
- combined uart_base and uart_init in uart.c
- used bitmask for the interrupt setup
- took the uart Rx, Tx, and IRQ numbers out of the config
(as this has to match the .dev field). Replaced with
macros from the uart number
- took out some unused code
- implemented power on/off commands
- removed reset function - now bytes are just discarded on error
- Rx now not initialised if Rx callback = NULL, as per
drivers/periph/uart.h
- device is now enabled after callbacks are set, not before
- asserts raised if rts and cts are enabled for UART0
- BIT macro removed
2018-02-08 14:36:51 +01:00
Daniel Krebs
cbc9121ad4
gnrc/netif: fix source address selection for non-matching prefixes
...
According to RFC 6724 ch. 5 rule 8, the source address candidate with
the longest matching prefix has to be selected. The current
implementation discards source addresses that have no matching prefix
(`match = 0`) which is perfectly fine for any global address.
2018-02-08 13:46:46 +01:00
Jose Alamos
66cab7762a
doc: fix event_t attribute in documentation
2018-02-08 09:59:16 +01:00
Francisco Acosta
bba457290e
Merge pull request #8525 from kaspar030/namespace_mcuboot
...
make: mcuboot: add MCUBOOT_ namespacing
2018-02-07 17:57:24 +01:00
c38f818007
Merge pull request #8528 from PeterKietzmann/pr_nucleo-f103_add_rtt
...
boards/nucleo-f103: add rtt configuration
2018-02-07 12:47:44 +01:00
1f26fd2284
Merge pull request #8529 from gebart/pr/fmt-bufsize
...
fmt: Adjust stack allocated buffer, add comments
2018-02-07 10:39:16 +01:00
Martine Lenders
4cdf0de365
Merge pull request #8530 from gebart/pr/tests-rng-includes
...
tests/rng: Clean up includes
2018-02-07 10:35:13 +01:00
Joakim Nohlgård
2bf1068c72
tests/rng: Clean up includes
2018-02-07 10:24:33 +01:00
Joakim Nohlgård
9fe024b87e
fmt: Adjust stack allocated buffer, add comments
...
Adjusted buffer size for u64 case to fit the largest 64 bit decimal
number, added comments on all decimal buffers to explain which number
will fit.
2018-02-07 10:21:22 +01:00
Peter Kietzmann
dd99e7f8e0
boards/nucleo-f103: add rtt configuration
2018-02-07 08:55:29 +01:00
Martine Lenders
47bbeb8969
Merge pull request #8517 from smlng/enh/gnrc/netreg
...
gnrc_netreg: some optimisations
2018-02-07 08:22:44 +01:00