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
Benjamin Valentin
6af92ee113
gnrc/nib: fix _idx_dsts() calculation
...
Using pointer difference already gives us the number of elements of
size of what the pointer is pointing to.
Dividing by size will lead to the wrong (always 0) result.
2020-08-03 11:35:54 +02:00
Peter Kietzmann
6adf07caf0
Merge pull request #14672 from jia200x/pr/fix_cc2538_rssi
...
cc2538: fix RSSI offset
2020-08-03 09:45:16 +02:00
Martine Lenders
763924bcaa
Merge pull request #14674 from benpicco/tools/usb-cdc-ecm/start_network.sh-fix
...
tools/usb-cdc-ecm/start_network.sh: remove parameters to read
2020-08-02 20:46:52 +02:00
Peter Kietzmann
c1f83aeac8
Merge pull request #14673 from jia200x/pr/fix_nrf_pow
...
nrf802154: fix set_tx_power function
2020-08-02 15:19:51 +02:00
Benjamin Valentin
6ac24d1a95
tools/usb-cdc-ecm/start_network.sh: remove parameters to read
...
The `read` implementation on my system doesn't know a `-n` parameter:
tools/usb-cdc-ecm/start_network.sh: 100: read: Illegal option -n
As the command is only used to block if no terminal is started, we can
as well remove them.
2020-08-02 15:04:02 +02:00
Dylan Laduranty
7bf0879a53
Merge pull request #14416 from benpicco/cpu/sam0/rtc_rtt-merge
...
cpu/sam0_common: merge RTC & RTT implementation
2020-07-31 22:53:18 +02:00
Benjamin Valentin
d90d09573b
tests/periph_rtc: delay RTC init
...
Just like `tests/periph_rtt`, delay the RTC init so that if init gets stuck
it doesn't get stuck in early boot but inside the test.
This makes debugging easier.
2020-07-31 22:06:18 +02:00
Benjamin Valentin
4d231d06d0
boards/common/saml1x: drop INTERNAL_OSC32_SOURCE
...
This is not available on saml1x
2020-07-31 22:04:38 +02:00
Benjamin Valentin
548f59d380
cpu/samd5x: remove RTC workaround
...
This is no longer needed.
2020-07-31 22:00:09 +02:00
Benjamin Valentin
83a56ae666
cpu/sam0_common: merge RTC & RTT implementation
...
The RTC and RTT share the same peripheral, so they can also
share the same code.
This is needed to integrate the Tamper Detection into common
RTC/RTT code.
2020-07-31 22:00:09 +02:00
Cenk Gündoğan
9f4f27a8cd
Merge pull request #14659 from leandrolanzieri/pr/kconfig/allow_clean_all
...
makefiles/kconfig.mk: include KCONFIG_OUT_CONFIG unconditionally
2020-07-31 18:06:26 +02:00
Martine Lenders
46e552ffc0
Merge pull request #14587 from aabadie/master_actions_iotlab
...
.github/workflows: add CI on IoT-LAB
2020-07-31 17:41:29 +02:00
Jose Alamos
5c824f6f12
nrf802154: fix set_tx_power function
2020-07-31 17:16:10 +02:00
76ba397c2b
.github/workflows: run tests on IoT-LAB
2020-07-31 16:42:02 +02:00