178e39afc2
cpu/msp430: remove obsolete stdio code
2020-08-05 14:29:07 +02:00
30cf61dd35
cpu/msp430: remove obsolete msp430 specific headers
2020-08-05 14:29:07 +02:00
a0aeeb5ff4
cpu/msp430: update to modern gcc & newlib
2020-08-05 14:29:00 +02:00
bf072bdd55
cpu/msp430_common: add msp430-gcc-support-files 1.208
2020-08-05 14:27:25 +02:00
0268a772ed
Revert "cpu/msp430_common: set top of heap for sbrk"
...
This reverts commit 55f433103b
.
2020-08-05 14:27:25 +02:00
5b6534e02d
Revert "cpu/msp430_common: add real malloc/free functions"
...
This reverts commit 419cedf58e
.
2020-08-05 14:27:25 +02:00
11cf4dfaff
Merge pull request #14658 from kaspar030/allow_shell_test_no_socat
...
tests/shell: allow not using socat, do so on z1
2020-08-05 14:25:05 +02:00
3f81591905
Merge pull request #14707 from maribu/thread_get_inline
...
core/thread: Make thread_get inlineable
2020-08-05 14:08:03 +02:00
Marian Buschsieweke
a5c4692806
sys/event: Add multi-queue initializers
...
Add a set of helper functions to initialize / claim an array of queues and use
this in `tests/events`.
2020-08-05 11:59:40 +02:00
Marian Buschsieweke
2c03dfca13
sys/event: Made trivial functions static inline
...
When the expected ROM overhead of a function is bigger than the actual function,
it is better to provide the function as static inline function in the header.
2020-08-05 11:45:53 +02:00
Marian Buschsieweke
649486f5cd
sys/event: Remove incorrect comment
...
The value of `queue->waiter` at the time the event was queued (with IRQs
disabled) was backed up to the stack-variable `waiter`. Thus, the test later on
for `waiter` checks if the queue was already claimed at the time the event
was queued. Therefore, there is no race.
2020-08-05 11:44:25 +02:00
f69a3c1757
murdock: disable nrf52dk
...
They're currently too flakey to give useful results.
2020-08-05 11:42:50 +02:00
7b05b85135
Merge pull request #14682 from maribu/event_wait_prio
2020-08-05 11:38:55 +02:00
Marian Buschsieweke
315cdcdb5f
core/thread: Make thread_get inlineable
2020-08-05 10:51:16 +02:00
Francisco
dbc128570d
Merge pull request #14675 from benpicco/tests/periph_rtc_delayed_start
...
tests/periph_rtc: delay RTC init
2020-08-05 09:31:58 +02:00
Benjamin Valentin
871f51dca6
openocd-adapters/raspi.inc.mk-fix: fix typo
...
Somehow a space has sneaked in here, breaking the variable expansion.
2020-08-04 19:04:39 +02:00
Benjamin Valentin
14144030fa
core/bitarithm: use __builtin_clz() for bitarithm_msb()
...
The `clz` instruction pretty much implements getting the most significant bit
in hardware, so use it instead of the software implementation.
This reults in both a reduction in code size as in a speedup:
master:
text data bss dec hex filename
14816 136 2424 17376 43e0 tests/bitarithm_timings/bin/same54-xpro/tests_bitarithm_timings.elf
+ bitarithm_msb: 3529411 iterations per second
this patch:
text data bss dec hex filename
14768 136 2424 17328 43b0 tests/bitarithm_timings/bin/same54-xpro/tests_bitarithm_timings.elf
+ bitarithm_msb: 9230761 iterations per second
2020-08-04 17:50:09 +02:00
Marian Buschsieweke
3b06234dc0
Merge pull request #14694 from kaspar030/fix_cc2420_go_to_rx_noop
...
drivers/cc2420: fix bogus cc2420_set_state(dev, CC2420_GOTO_RX) type
2020-08-04 16:41:24 +02:00
Benjamin Valentin
a8d5f13ad9
cpu/cc2538: rtt: allow to set alarm and overflow cb independently
...
Previously the setting the alarm would overwrite the overflow callback
and vice versa.
Since we can only set one alarm in hardware, always set the alarm to the
closest event of the two.
2020-08-04 16:22:44 +02:00
Benjamin Valentin
852fd7f531
cpu/cc2538: rtt: implement rtt_get_alarm()
...
We can't read back the alarm, so just store it in a variable.
2020-08-04 16:21:19 +02:00
Benjamin Valentin
d7f722e98f
cpu/cc2538: rtt: implement rtt_set_counter()
...
We can't set the hardware counter directly, so always add an offset.
2020-08-04 16:21:17 +02:00
Nicolas Harel
6916616c47
boards/particle-xenon: add UART1 to uart_config
2020-08-04 16:06:30 +02:00
Leandro Lanzieri
fe6a35a2ca
Merge pull request #14697 from cgundogan/pr/whitespacecheck
...
tools: whitespacecheck: use ignore file to easily add expressions
2020-08-04 15:48:48 +02:00
Leandro Lanzieri
d7dbbb71ac
Merge pull request #14226 from benpicco/cpu/sam0_common/i2c_arbitrary_freqs
...
cpu/sam0_common: i2c: fix BAUD handling & cleanup
2020-08-04 14:49:10 +02:00
Martine S. Lenders
6532459010
Makefile.include: add capability to log make term
to file
2020-08-04 14:42:50 +02:00
d8794d7c5a
drivers/cc2420: fix bogus cc2420_set_state(dev, CC2420_GOTO_RX)
...
It doesn't compile, compiler complains that the enum type of
CC2420_GOTO_RX cannot be converted to netopt_state_t as required by the
function.
The numerical value of CC2420_GOTO_RX would be NETOPT_STATE_IDLE (2), which
makes sense as it puts the device into RX mode.
2020-08-04 13:56:49 +02:00
Marian Buschsieweke
4aa33d55ac
tests/event: Also test multi-queue flavor
2020-08-04 13:31:03 +02:00
Marian Buschsieweke
8bda9fac1b
sys/event: Add support for multiple queues
...
Added `event_wait_multi()` that takes an array of event queues rather than
a single event queues. The queue with the lowest index will have the highest
priority.
2020-08-04 13:30:25 +02:00
Cenk Gündoğan
f4e631ffdb
tools: whitespacecheck: use ignore file to easily add expressions
2020-08-04 13:19:26 +02:00
0904d77dff
tests/shell: allow not using socat, do so on z1
2020-08-04 12:37:10 +02:00
Benjamin Valentin
1472d2095c
cpu/sam0_common: i2c: document frequency constraints
2020-08-04 12:13:28 +02:00
Benjamin Valentin
e560042488
cpu/sam0_common: flashpage: split RWWEE and normal functions
...
Move common code into helper functions and extract the commands
that differ between normal and RWWEE page reading / writing.
This cuts down on `#ifdef` use.
2020-08-04 12:00:49 +02:00
benpicco
52bf3096cf
Merge pull request #14480 from benpicco/openocd-adapters_swd
...
openocd-adapters: select transport based on adapter
2020-08-04 11:37:32 +02:00
Cenk Gündoğan
4517e27837
Merge pull request #14684 from leandrolanzieri/pr/kconfig/optimize_integration
...
makefiles/kconfig.mk: remove duplicate calls to merge_config and cleanups
2020-08-04 11:21:06 +02:00
José Alamos
7967066f51
Merge pull request #14657 from maribu/netdev_doc
...
drivers/net: Fix netdev_driver_t doc
2020-08-04 10:49:24 +02:00
Benjamin Valentin
8f1d32bb2d
boards/common/nrf52: add note about ST-LINKV2 as programmer
2020-08-04 10:36:40 +02:00
Benjamin Valentin
eceb84f9c0
boards/mcb2388: remove transport selection from openocd.cfg
2020-08-04 10:36:40 +02:00
Benjamin Valentin
d06b26dfd8
boards/common/nrf52: remove transport selection from openocd.cfg
2020-08-04 10:36:40 +02:00
Benjamin Valentin
37a10de671
boards/frdm: remove transport selection from openocd.cfg
2020-08-04 10:36:40 +02:00
Benjamin Valentin
0d59e7dc6e
makefiles/tools/openocd-adapters: default to SWD, but make it configurable
2020-08-04 10:36:39 +02:00
Leandro Lanzieri
7f1f8ae576
Merge pull request #14652 from akshaim/Kconfig_netif
...
net/netif : Expose configurations to Kconfig
2020-08-03 20:03:33 +02:00
benpicco
77be30dee6
Merge pull request #14613 from benpicco/openocd-buspirate
...
makefiles/buspirate: add Bus Pirate as Debug Adapter
2020-08-03 15:34:49 +02:00
Benjamin Valentin
1a04425d7b
makefiles/buspirate: add Bus Pirate as Debug Adapter
...
Flash with PROGRAMMER=openocd DEBUG_ADAPTER=buspirate
2020-08-03 14:10:42 +02:00
Martine Lenders
b043e1fa64
Merge pull request #14683 from miri64/gnrc_sixlowpan_frag_vrb/fix/cppcheck-warning
...
gnrc_sixlowpan_frag_vrb: fix cppcheck warning
2020-08-03 13:15:52 +02:00
Akshai M
e557fa8ef6
net/netif : Update documentation
2020-08-03 16:10:15 +05:30
Akshai M
1a844b3df6
net/netif : Expose configurations to Kconfig
...
Co-authored-by: Leandro Lanzieri <leandro.lanzieri@haw-hamburg.de>
2020-08-03 16:10:00 +05:30
Akshai M
b52e3e1587
net/netif : Move 'NETIF_NAMELENMAX' to 'CONFIG_'
2020-08-03 16:09:21 +05:30
benpicco
4964e4cdf8
Merge pull request #14680 from benpicco/gnrc_ipv6_nib_fix_13741
...
gnrc/nib: fix _idx_dsts() calculation
2020-08-03 12:38:51 +02:00
Martine S. Lenders
5885293e9e
gnrc_sixlowpan_frag_vrb: fix cppcheck warning
...
... which wasn't a false positive after all.
2020-08-03 12:29:06 +02:00
Leandro Lanzieri
cf779a7241
makefiles/kconfig.mk: Remove duplicate calls to merge_config
2020-08-03 12:26:05 +02:00