Francisco Molina
f9ebc8658f
dist/tools/jlink: cleanup doc
2019-11-18 13:04:42 +01:00
Marian Buschsieweke
135a37a4d1
makefiles/tools: Allow make reset via avrdude
...
In order to flash AVR devices, avrdude needs the ability to reset them:
Those using a bootloader will only enter it after a reset, and those programmed
via ISP also need a reset to enter ISP mode.
Sadly, avrdude has no option to reset the board. But running it without commands
will read and print the boards identification and fuse settings. For this, as
reset is needed. This commit uses this side-effect reset to implement make reset
for all AVR based boards
2019-11-17 14:46:48 +01:00
61c6b071b2
Merge pull request #12699 from basilfx/feature/netdev_tap_stack
...
netdev_tap: don't allocate DEBUG_EXTRA_STACKSIZE twice
2019-11-16 23:16:00 +01:00
Gunar Schorcht
92191efc48
Merge pull request #12726 from aabadie/pr/drivers/efm32_pwm_blacklist
...
drivers/pca9685: blacklist efm32 architecture
2019-11-16 17:09:43 +01:00
1d20e9e1bb
tests/driver_pca9685: remove useless BOARD_BLACKLIST
...
The efm32 arch is blacklisted at driver dependency level.
2019-11-16 14:16:27 +01:00
79943cb0de
drivers/pca9685: blacklist efm32 arch
...
The CPU doesn't support PWM_RIGHT
2019-11-16 14:08:49 +01:00
7d3a6fecee
cpu/efm32: provide arch_efm32 features
2019-11-16 14:07:53 +01:00
benpicco
d755d50b1f
Merge pull request #12723 from benpicco/msba2-cleanup
...
boards/common: clean up msba2 common files
2019-11-16 13:14:33 +01:00
Benjamin Valentin
60686c96dc
boards/common: clean up msba2 common files
...
The 'msba2' common files have accumulated many empty files are files that
do nothing.
This makes reasoning about the boards needlessly difficult.
Trim down on `common/msba2/` so that it now only contains the setup for the
UART/bootloader based flashing.
This should eventuelly be moved to `makefiles/tools/`
2019-11-16 11:57:15 +01:00
Marian Buschsieweke
e52c92eb42
Merge pull request #12720 from maribu/cleanup
...
examples/default: Removed accidentally added file
2019-11-15 22:10:28 +01:00
Marian Buschsieweke
e6d7d9e167
examples/default: Removed accidentally added file
...
What a mess :-/
2019-11-15 21:41:26 +01:00
550bd160ae
Merge pull request #12719 from aabadie/pr/pkg/spiffs_msp430
...
tests/pkg_spiffs: exclude msp430 boards because of missing memory
2019-11-15 20:42:20 +01:00
2f5f69e23a
tests/pkg_spiffs: exclude msp430 boards because missing memory
...
The build fails during link because of insufficient memory. No need to use BOARD_BLACKLIST for msp430 based boards
2019-11-15 19:11:37 +01:00
9fa6a8c686
Merge pull request #12718 from aabadie/pr/pkg/semtech-loramac_blacklist_arch
...
pkg/semtech-loramac: blacklist arch_msp430 and remove use of BOARD_BLACKLIST
2019-11-15 19:09:12 +01:00
c3a647f15e
tests/pkg_semtech-loramac: remove useless BOARD_BLACKLIST
...
msp430 architecture is blacklisted at package level. pic32-clicker/wifire boards doesn't provided the some required features (SPI, GPIO_IRQ)
2019-11-15 18:14:25 +01:00
5400ab7284
pkg/semtech-loramac: blacklist MSP430 based boards
...
EXIT_SUCCESS/EXIT_FAILURE macros are not provided by the toolchain, which ends-up in a failing build
2019-11-15 18:14:25 +01:00
Martine Lenders
384b1aeec8
Merge pull request #12667 from leandrolanzieri/pr/net/ipv6_get_iface_string
...
net/ipv6: Don't assume interface specifier is an int for splitting
2019-11-15 15:41:38 +01:00
Leandro Lanzieri
a78354c271
tests/unittests/ipv6_addr: Add tests for ipv6_addr_split_prefix
2019-11-15 14:35:30 +01:00
Leandro Lanzieri
b5930af760
tests/unittests/ipv6_addr: Add tests for ipv6_addr_split_iface
2019-11-15 14:35:30 +01:00
Leandro Lanzieri
39984b1f51
shell/gnrc_netif: Use ipv6_addr_split_int for prefix
2019-11-15 14:35:30 +01:00
Leandro Lanzieri
ad4fc4b76e
tests/nanocoap_cli: Adapt to change in ipv6_addr_split_iface
2019-11-15 14:35:30 +01:00
Leandro Lanzieri
e64d327ea8
tests/gnrc_udp: Adapt to change in ipv6_addr_split_iface
2019-11-15 14:35:30 +01:00
Leandro Lanzieri
c3a02d86df
tests/gnrc_ipv6_ext_frag: Adapt to change in ipv6_addr_split_iface
2019-11-15 14:35:30 +01:00
Leandro Lanzieri
1d0f92203b
shell/sntp: Adapt to change in ipv6_addr_split_iface
2019-11-15 14:09:32 +01:00
Leandro Lanzieri
edae993f63
shell/gnrc_icmpv6_echo: Adapt to change in ipv6_addr_split_iface
2019-11-15 14:02:50 +01:00
Leandro Lanzieri
3c89597c83
net/gnrc/tcp: Adapt to change in ipv6_addr_split_iface
2019-11-15 14:02:50 +01:00
Leandro Lanzieri
a602e0afae
examples/gnrc_networking_mac: Adapt to change in ipv6_addr_split_iface
2019-11-15 14:02:50 +01:00
Leandro Lanzieri
2856f166c6
examples/gnrc_networking: Adapt to change in ipv6_addr_split_iface
2019-11-15 14:02:50 +01:00
Leandro Lanzieri
7d41fcc87d
examples/gcoap: Adapt to change in ipv6_addr_split_iface
2019-11-15 14:02:50 +01:00
Leandro Lanzieri
4c6da9f178
examples/dtls-wolfssl: Adapt to change in ipv6_addr_split_iface
2019-11-15 14:02:50 +01:00
Leandro Lanzieri
65b852ba15
examples/dtls-echo: Adapt to change in ipv6_addr_split_iface
2019-11-15 14:02:50 +01:00
Leandro Lanzieri
4d4f6ae1d6
net/ipv6: Return string pointer when splitting IPv6 interface.
...
Right now 'ipv6_addr_split_iface' assumes that the interface specifier
will always be a number (based on GNRC way of identifying interfaces),
but this may not be always the case.In order to be able to use the
Network Interface API, interfaces should be referred by their name.
This changes 'ipv6_addr_split_iface' so it returns a pointer to the
string that specifies the interface.
2019-11-15 14:02:50 +01:00
27e8caf3f3
Merge pull request #12526 from kaspar030/fix_fe310_default_optimization
...
cpu/fe310: change default optimization to "-Os"
2019-11-15 13:10:13 +01:00
b6401c3752
Merge pull request #12714 from maribu/bitarithm_timings
...
tests/bitarithm_timings: Fixed bugs
2019-11-15 13:06:42 +01:00
Kevin "Tristate Tom" Weiss
61aadf1d96
Merge pull request #10964 from yegorich/pr/doxygen/double-typedefs
...
Documentation: don't include overridden typedefs
2019-11-15 12:04:16 +01:00
Yegor Yefremov
f2127391c4
doxygen/UART: don't include overridden typedefs
...
Add missing #ifndefs to overridden UART typedefs.
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
2019-11-15 10:44:52 +01:00
Yegor Yefremov
df7e760588
doxygen/I2C: don't include overridden typedefs
...
Add missing #ifndefs to overridden I2C typedefs.
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
2019-11-15 10:35:33 +01:00
Yegor Yefremov
cf65070b06
doxygen/GPIO: don't include overridden typedefs
...
Add missing #ifndefs to overridden GPIO typedefs.
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
2019-11-15 10:35:33 +01:00
Yegor Yefremov
fa3b0ff04b
doxygen/SPI: don't include overridden typedefs
...
Add missing #ifndefs to overridden SPI typedefs.
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
2019-11-15 10:35:32 +01:00
Yegor Yefremov
5b0252b150
doxygen/ADC: don't include overridden typedefs
...
Add missing #ifndefs to overridden ADC resolution typedefs.
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
2019-11-15 10:35:32 +01:00
Marian Buschsieweke
8854255d7a
tests/bitarithm_timings: Fix use of volatile
...
The tests used the volatile qualifier for two this:
1. Prevent the compiler to optimize out calls to the inline-able functions
bitarithm_msb, bitarithm_lsb, bitarithm_bits_set
2. Communication between IRQ context and thread context
While the first use is valid, the second is dangerous, see [1], [2], [3], [4].
This commit replaces the second use with C11 atomics, which were explicitly
added to the C standard to address this use case.
[1]: https://www.kernel.org/doc/html/latest/process/volatile-considered-harmful.html
[2]: http://c.isvolatileusefulwiththreads.com/
[3]: https://web.archive.org/web/20181124154026/http://software.intel.com/en-us/blogs/2007/11/30/volatile-almost-useless-for-multi-threaded-programming/
[4]: https://blog.regehr.org/archives/28
2019-11-15 09:22:18 +01:00
Marian Buschsieweke
a1be610c9d
tests/bitarithm_timings: Fixed hang
...
Prevent bitarithm_lsb() from being called with 0, as it loops forever then
2019-11-15 09:21:24 +01:00
Francisco
1018a6fa67
Merge pull request #12679 from jue89/bugfix/stm32f103rc-ramlen
...
cpu/stm32_common: fix RAM_SIZE for stm32f103xc, stm32f105xx and stm32f107xx
2019-11-14 22:28:43 +01:00
Francisco
2adc5a23c2
Merge pull request #12361 from haukepetersen/add_nimble_autoconn
...
pkg/nimble: add simple BLE connection manager: autoconn
2019-11-14 14:02:24 +01:00
Kevin "Tristate Tom" Weiss
57e791fcc9
Merge pull request #12705 from fjmolinas/pr_fix_periph_timer_frdmk64f
...
tests/periph_timer: add frdm-k64f/k22f to 32kHz timers
2019-11-14 11:38:43 +01:00
Francisco Molina
f851a40098
tests/periph_timer: 32Khz as timer speed for frdm-k%f
2019-11-14 10:42:34 +01:00
Kees Bakker
43670aee7b
Merge pull request #12615 from benpicco/samd21-1kHz_gclk
...
cpu/samd21: use dedicated 1kHz GCLK4 for RTC and WDT
2019-11-13 20:25:55 +01:00
Jue
b037bce7ab
cpu/stm32_common: fixed RAM_LEN for stm32f105__ and stm32f107__
2019-11-13 19:58:44 +01:00
Jue
ef9363a509
cpu/stm32_common: fixed RAM_LEN for stm32f103_c
2019-11-13 19:57:59 +01:00
253c75ab6b
Merge pull request #12703 from haukepetersen/fix_nrfboards_blefeat
...
nrf5x: move nimble_ble feat. to cpu
2019-11-13 19:07:48 +01:00