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
Joakim Nohlgård
30ad56d133
Merge pull request #8522 from gebart/pr/fmt_s64_dec
...
sys/fmt: Add fmt_s64_dec, print_s64_dec
2018-02-07 07:55:42 +01:00
smlng
c178ea8798
gnrc/netreg: remove gnrc_netreg_num
2018-02-06 21:41:19 +01:00
smlng
a7b7789388
unittests: adapt tests-netreg
2018-02-06 21:40:47 +01:00
smlng
c2b403f4ad
gnrc/netreg: remove usages of gnrc_netreg_num
2018-02-06 21:39:58 +01:00
smlng
573b6dc98a
gnrc/netreg: optimize lookup and getnext
2018-02-06 21:37:39 +01:00
ff94655627
Merge pull request #8515 from aabadie/pr/cstyle_comments
...
*: use c-style comments instead of ccp style comments
2018-02-06 20:17:38 +01:00
56d5ceb601
tests: instead of cpp-style, use C-style comments
2018-02-06 16:59:58 +01:00
e72448703d
drivers: instead of cpp-style, use C-style comments
2018-02-06 16:59:58 +01:00
4ec8f4c2fc
sys: instead of cpp-style, use C-style comments
2018-02-06 16:59:58 +01:00
7847a91e12
cpu: instead of cpp-style, use C-style comments
2018-02-06 16:59:58 +01:00
aa57ea5b74
core: instead of cpp-style, use C-style comments
2018-02-06 16:59:58 +01:00
3d4d9c7902
boards/*: instead of cpp-style, use C-style comments
2018-02-06 16:59:58 +01:00
3bfe4b6986
make: mcuboot: add MCUBOOT_ namespacing
2018-02-06 16:41:48 +01:00
jia200x
c61c44a1ae
Merge pull request #8374 from Hyungsin/forupstream_radio_ackpending
...
driver/at86rf2xx: add an option for auto-ack with the pending bit
2018-02-06 14:15:40 +01:00
0fc1cf44a0
Merge pull request #8521 from gebart/pr/unittest-fmt
...
unittests: improve tests-fmt, add buffer overflow checks
2018-02-06 11:12:45 +01:00
acaed9e377
Merge pull request #8068 from dylad/fix_nordic_softdevice
...
pkg/nordic_softdevice_ble: fix broken package
2018-02-06 11:09:37 +01:00
Joakim Nohlgård
5ec44c82ba
fmt: Add fmt_s64_dec, print_s64_dec
2018-02-06 11:04:42 +01:00
Joakim Nohlgård
8ecf3c6bb6
unittests/fmt: Basic check for buffer overflow errors
2018-02-06 11:03:05 +01:00
Joakim Nohlgård
19d3995504
unittests/fmt: Add max test for fmt_u16_dec
2018-02-06 11:03:05 +01:00
Joakim Nohlgård
3b90481bed
unittests/fmt: Add test for min/max in fmt_s32_dec
2018-02-06 11:03:05 +01:00
Gaëtan Harter
6db9bafae5
nordic_softdevice_ble: print when removing router modules
...
Add a warning message in user's console to inform them routing capabilities will
be disabled with the softdevice
2018-02-06 10:44:30 +01:00