Francisco Molina
e325985321
makefiles/tools: pass DEBUG_ADAPTER_ID to pyocd
2019-09-12 08:13:28 +02:00
Francisco Molina
f718cc581a
dist/tools/pyocd: add PYOCD_ADAPTER_INIT
...
- Pass parameters before flash, debug, reset
2019-09-12 08:13:28 +02:00
Martine Lenders
8911c514fd
Merge pull request #10951 from miri64/gnrc_ipv6_nib/enh/abr-helpers
...
shell/sc_gnrc_ipv6_nib: extend for ABR
2019-09-12 07:34:09 +02:00
benpicco
73eee6f84b
Merge pull request #12206 from bergzand/pr/usb/usbus_cleanup
...
usbus: rename setup request to control request
2019-09-12 00:06:38 +02:00
Martine Lenders
1656162835
shell_commands: gnrc_ipv6_nib: remove unnecessary cast
2019-09-11 23:51:20 +02:00
Martine Lenders
5c2fec106a
tests/unittests: add tests for _abr_iter()
2019-09-11 23:51:20 +02:00
Martine Lenders
28ac07d8e5
shell/sc_gnrc_ipv6_nib: extend for ABR
...
Adds functionality to list and edit authoritative border router list.
2019-09-11 23:51:20 +02:00
Martine Lenders
b77e08652e
gnrc_ipv6_nib: provide ABR iteration and print function
2019-09-11 23:51:20 +02:00
dd99cea622
usbus: rename setup request to control request
...
This commit changes the name of the requests over the control endpoints
to control requests instead of setup requests. This is a terminology fix
to follow the USB specification more closely as technically only the
first stage of a control request is named setup which contains a setup
packet. The whole transfer is a control transfer.
2019-09-11 21:39:05 +02:00
benpicco
729ba07e9a
Merge pull request #11229 from maribu/msp430_cleanup
...
cpu/msp430_common: Cleanup
2019-09-11 20:12:55 +02:00
benpicco
ca6009592f
Merge pull request #11781 from fjmolinas/pr_schedstatistics_refactor
...
core/schedstatistics: fix call to uninitialized xtimer
2019-09-11 20:11:55 +02:00
Gaëtan Harter
9ee84c62c9
tests/pthread*: enable pthread tests on avr
...
'pthread' is now compatible with 'avr' so enable them in tests.
All the tests ran on 'arduino-mega2560' when supported.
2019-09-11 18:25:10 +02:00
Gaëtan Harter
5c405b56f8
tests/pthread_condition_variable: adapt for slow boards
...
Reduce the number of required iterations on boards.
This will allow running it on 'arduino-mega2560'.
2019-09-11 18:25:10 +02:00
Gaëtan Harter
624957252e
pthread_cond.h: use 'sys/types.h' value of 'clockid_t' for avr
...
This enables 'pthread' support on arduino.
avr-libc C90 'time.h' does not include 'sys/types.h' as POSIX expects it.
However, the type previously defined conflicts with the one in
'cpu/atmega_common/avr_libc_extra/include/sys/types.h' when both are
included, so include 'sys/types.h'.
Maybe it should alway be included by 'time.h' but this
would need its specific review.
2019-09-11 18:25:10 +02:00
Juan I Carrano
00e0a1cf13
Merge pull request #12056 from JulianHolzwarth/pr/posix/pthread/small_insert_fix
...
sys/posix/pthread/pthread.c: fix thread count limiting in pthread_create()
2019-09-11 18:22:54 +02:00
benpicco
b14e08cce1
Merge pull request #11877 from OTAkeys/feat/gpio-flashing
...
makefiles: add support for sysfs gpio debug adapter
2019-09-11 18:00:31 +02:00
JulianHolzwarth
1d16b3d5dc
core/thread.c: thread_create fix priority type
...
Bugfix: changing type of priority to uint8_t to be consistent with struct _thread
2019-09-11 17:42:48 +02:00
Francisco Acosta
092f8e8d46
Merge pull request #8774 from OTAkeys/pr/flashpage_mtd
...
drivers: add mtd wrapper for periph_flashpage
2019-09-11 16:59:15 +02:00
Juan Carrano
7799fb38cd
.murdock: blacklist the -gz (debug compression) compiler flag.
...
-gz enables DWARF section compression, though it is a no-op where debug
is not enable, e.g. in murdock.
Due to a combination of factors, including a bug in CCACHE, this flag
makes CCACHE ineffective and slows down murdock.
The alternative, of filtering the flags in our buid system (for example,
by testing RIOT_CI_BUILD or CCACHE) are too much of a shotgun approach
as the problem is quite specific to our CI setup.
Read the comment in the file for a more in-depth description.
2019-09-11 16:56:34 +02:00
23c1831473
Merge pull request #11470 from cladmi/pr/nrf52/opencd/softdevice
...
boards/common/nrf52: add openocd support for 'nordic_softdevice_ble'
2019-09-11 15:33:08 +02:00
benpicco
c12b88ef59
Merge pull request #12188 from jcarrano/sam0_rtt_fix_flags
...
cpu/sam0_common/../rtt: correcly clear flags.
2019-09-11 15:24:46 +02:00
JulianHolzwarth
984eb7cd6c
tests/pthread_flood: test for max pthread creation
2019-09-11 15:07:32 +02:00
benpicco
6c35e86e95
Merge pull request #11550 from cladmi/pr/stm32f3discovery/fix_flashing
...
boards/stm32f3discovery: fix openocd config to flash from invalid state
2019-09-11 14:44:12 +02:00
Sebastian Meiling
ddd97001c1
cpu/lm4f120: fix uninit var in periph/timer
2019-09-11 14:15:51 +02:00
benpicco
e11d457e63
Merge pull request #11209 from danpetry/boards/mega1284p_xplained
...
doc/mega-xplained: add JTAG/Atmel-ICE instructions
2019-09-11 14:03:29 +02:00
Sebastian Meiling
0629d076eb
cpu/sam3: adapt timer to return 0 on success
...
Adapt periph/timer implementation of sam3 based MCUs
to return 0 on success for all functions.
2019-09-11 13:53:04 +02:00
Sebastian Meiling
49acf98841
cpu/sam0: adapt timer to return 0 on success
...
Adapt periph/timer implementation of sam0 based MCUs
to return 0 on success for all functions.
2019-09-11 13:52:28 +02:00
Sebastian Meiling
af529531a4
cpu/nrf5x: adapt timer to return 0 on success
...
Adapt periph/timer implementation of nrf5x based MCUs
to return 0 on success for all functions.
2019-09-11 13:51:53 +02:00
Sebastian Meiling
935bb51e14
cpu/native: adapt timer to return 0 on success
...
Adapt periph/timer implementation of native based MCUs
to return 0 on success for all functions.
2019-09-11 13:51:02 +02:00
Sebastian Meiling
22f4ec81b0
cpu/mips32r2: adapt timer to return 0 on success
...
Adapt periph/timer implementation of mips32r2 based MCUs
to return 0 on success for all functions.
2019-09-11 13:48:12 +02:00
Sebastian Meiling
ddcbfce391
cpu/lpc1768: adapt timer to return 0 on success
...
Adapt periph/timer implementation of lpc1768 based MCUs
to return 0 on success for all functions.
2019-09-11 13:47:32 +02:00
Sebastian Meiling
fd900357fc
cpu/lm4f120: adapt timer to return 0 on success
...
Adapt periph/timer implementation of lm4f120 based MCUs
to return 0 on success for all functions.
2019-09-11 13:46:55 +02:00
Sebastian Meiling
84e6d1571a
cpu/kinetis: adapt timer to return 0 on success
...
Adapt periph/timer implementation of kinetis based MCUs
to return 0 on success for all functions.
2019-09-11 13:46:15 +02:00
Sebastian Meiling
c4fcb241b1
cpu/cc26x0: adapt timer to return 0 on success
...
Adapt periph/timer implementation of cc26x0 based MCUs
to return 0 on success for all functions.
2019-09-11 13:45:29 +02:00
Sebastian Meiling
cabaaebff4
cpu/cc2538: adapt timer to return 0 on success
...
Adapt periph/timer implementation of cc2538 based MCUs
to return 0 on success for all functions.
2019-09-11 13:44:46 +02:00
Sebastian Meiling
1d24709674
cpu/atmega_common: adapt timer to return 0 on success
...
Adapt periph/timer implementation of atmega based MCUs
to return 0 on success for all functions.
2019-09-11 13:41:44 +02:00
Sebastian Meiling
ed5f085b30
periph/timer: always return 0 for success
...
Change documentation on return codes in periph/timer API to
return 0 on success and (-1) on error by default.
For timer_init this was already the case, but for timer_set,
timer_set_absolute, and timer_clear this is now changed
from 1 to 0 for success, while error remains (-1).
2019-09-11 13:31:13 +02:00
Juan Carrano
f7279c84bb
cpu/sam0_common: rtt: correcly clear flags.
...
The INTFLAGS register is cleared by writing a 1 to the corresponding interrupt
flag bit. From the samr21's manual:
> Writing a zero to this bit has no effect.
> Writing a one to this bit clears the Compare 0 interrupt flag.
This is a common pattern in flag registers.
This RTT driver is using or-equal to clear the flags, which means it can
possibly clear other interrupts. There's a small chance that one event is
missed if it happens very close to another event.
Credits to @benpicco, @dylad for pointing out missing fixes.
2019-09-11 12:55:10 +02:00
Gaëtan Harter
f5f275b929
boards/stm32f3discovery: fix openocd config to flash from invalid state
...
When flashing some applications the flasher sometimes gets stuck which
prevents flashing after.
It may be from a specific firmware or operation but do not have one yet.
Connect with reset asserted fix flashing from this state.
It was found after the `stm32f3discovery` get stuck in a non-flashable mode
after some firmwares.
2019-09-11 12:19:23 +02:00
Kevin "Tristate Tom" Weiss
d6af98b5b7
Merge pull request #11835 from miri64/gnrc_sixlowpan_frag/new/stats
...
gnrc_sixlowpan_frag_stats: initial import of frag statistics
2019-09-11 12:01:22 +02:00
danpetry
4554b6cb13
doc/mega-xplained: add JTAG/Atmel-ICE instructions
...
Adds instrucions for the Atmel-ICE with the JTAG header.
2019-09-11 11:49:35 +02:00
Ken Bannister
4ace366e8b
net/nanocoap: add unit test for get opaque option
2019-09-11 05:40:14 -04:00
Ken Bannister
39eddce078
net/nanocoap: add function to retrieve opaque option
2019-09-11 05:40:14 -04:00
Martine Lenders
0ab0a19871
shell_commands: add command to get 6lo frag statistics
2019-09-11 10:30:29 +02:00
Martine Lenders
dca3408167
gnrc_sixlowpan_frag_stats: initial import of frag statistics
2019-09-11 10:30:29 +02:00
benpicco
b6fe0e25fe
Merge pull request #10020 from gebart/pr/kinetis-lptmr-reload
...
kinetis: lptmr reload instead of spinning
2019-09-11 10:12:58 +02:00
benpicco
6f63ef42a7
Merge pull request #11920 from maribu/lpc2387
...
cpu/lpc2387: Cleanup
2019-09-11 10:12:26 +02:00
benpicco
410e6edf58
Merge pull request #11882 from maribu/arm7_buildsystem
...
cpu/arm7_common: Moved compiler flags here
2019-09-11 10:12:14 +02:00
benpicco
85798e831b
Merge pull request #11887 from maribu/arm7_thread_yield_higher
...
cpu/arm7_common: Fix thread_yield_higher in ISR
2019-09-11 10:11:57 +02:00
MichelRottleuthner
3d0e3b0117
Merge pull request #10308 from danielinux/master
...
wolfSSL pkg addition with examples
2019-09-11 09:12:57 +02:00