Bas Stottelaar
229a01b60b
netdev: don't allocate DEBUG_EXTRA_STACKSIZE twice
2019-11-12 20:00:05 +01:00
a42bdaeecd
Merge pull request #12694 from miri64/tests/enh/periph_cpuid
...
tests/periph_cpuid: read CPUID_LEN from app instead of environment
2019-11-12 19:57:22 +01:00
Martine Lenders
b5465402b5
Merge pull request #12678 from miri64/tests/enh/gnrc_sock+gnrc_neterr
...
tests: add a simple proof of concept test for gnrc_sock + gnrc_neterr
2019-11-12 19:29:02 +01:00
Martine S. Lenders
06f26146d0
tests/periph_cpuid: check if correct number of bytes was printed
2019-11-12 19:24:09 +01:00
Martine S. Lenders
a33857bf29
tests/periph_cpuid: read CPUID_LEN from app instead of environment
2019-11-12 19:24:09 +01:00
Martine Lenders
d33548243a
Merge pull request #12698 from miri64/gnrc_sixlowpan_frag_vrb/fix/empty-with-frag
...
gnrc_sixlowpan_frag_vrb: set src_len to 0 on remove
2019-11-12 18:42:10 +01:00
Martine Lenders
02295ce5c7
Merge pull request #12593 from miri64/gnrc_sixlowpan_frag_rb/enh/deletion-timer
...
gnrc_sixlowpan_frag_rb: allow for deletion timer after completion
2019-11-12 17:54:15 +01:00
Martine S. Lenders
e4d95c568b
gnrc_sixlowpan_frag_vrb: set src_len to 0 on remove
...
45f7966
made the `src_len` field the "emptiness signifier" for the VRB.
However, when `gnrc_sixlowpan_frag` is compiled in, the remove function
`gnrc_sixlowpan_frag_vrb_rm()` does not set the `src_len` to zero,
resulting in already deleted entry to be recognized as non-empty.
2019-11-12 17:13:45 +01:00
Martine S. Lenders
11669d9bdc
gnrc_sixlowpan_frag_rb: add missing \n
at end of DEBUG line
2019-11-12 17:06:52 +01:00
Martine S. Lenders
40138fdce8
gnrc_sixlowpan_frag_rb: allow for deletion timer after completion
...
This allows to set a timer between the completion of a datagram in the
reassembly buffer and the deletion of the corresponding reassembly
buffer entry. This allows to ignore potentially late incoming link-layer
duplicates of fragments of the datagram that then will have the
reassembly buffer entry be blocked.
This was noted in this [discussion] for classic 6LoWPAN reassembly (and
minimal fragment forwarding) and is recommended in the current
[selective fragment recovery draft][SFR draft].
[discussion]: https://mailarchive.ietf.org/arch/msg/6lo/Ez0tzZDqawVn6AFhYzAFWUOtJns
[SFR draft]: https://tools.ietf.org/html/draft-ietf-6lo-fragment-recovery-07#section-6
2019-11-12 17:06:52 +01:00
Martine Lenders
918a4ac04d
Merge pull request #12682 from miri64/gnrc_sock/fix/consider-all-snips-for-error
...
gnrc_sock: consider all pktsnip for gnrc_neterr reporting
2019-11-12 11:45:50 +01:00
Martine Lenders
6b50db1713
tests: add a simple proof of concept test for gnrc_sock + gnrc_neterr
2019-11-12 11:45:08 +01:00
benpicco
341d23dded
Merge pull request #12504 from bergzand/pr/usbus/descr_terminology
...
usbus: Unify terminology to use 'descriptor' everywhere
2019-11-12 11:41:10 +01:00
benpicco
f77e5a6c6a
Merge pull request #12673 from benpicco/purge-rtc_numof
...
boards: remove RTT_NUMOF/RTC_NUMOF
2019-11-12 11:33:16 +01:00
Martine S. Lenders
2f0187e076
tests/periph_cpuid: print CPUID_LEN
2019-11-12 10:42:23 +01:00
3db4678384
usbus: Unify terminology to use 'descriptor' everywhere
2019-11-12 10:29:19 +01:00
Francisco
9352b88da4
Merge pull request #12417 from cladmi/pr/make/boards/cpu_cpu_model_to_features
...
Makefile.features: assert CPU is defined by BOARD/Makefile.features
2019-11-12 10:09:23 +01:00
benpicco
4a02bdf883
Merge pull request #12692 from aabadie/pr/tests/periph_cpuid_autotest
...
tests/periph_cpuid: add automatic test script
2019-11-11 22:14:53 +01:00
9b02b9d042
tests/periph_cpuid: add automatic test script
2019-11-11 21:18:13 +01:00
Marian Buschsieweke
614d81f6bb
Merge pull request #12690 from benpicco/atmega_cpu_id-fixup
...
cpu/atmega_common: cpuid: add a word of warning
2019-11-11 19:00:13 +01:00
Leandro Lanzieri
5febd49c84
Merge pull request #12689 from aabadie/pr/pkg/lora-serialization_update_8bit
...
pkg/lora-serialization: bump to latest version and update test for AVR
2019-11-11 18:08:27 +01:00
Benjamin Valentin
3ce6ddcdb2
cpu/atmega_common: cpuid: add a word of warning
...
The CPU ID only differs in byte 4 (RC calibration) between devices.
Add a word of warning to the documentation that this may not be very unique.
2019-11-11 18:07:09 +01:00
774a19621b
tests/pkg_lora-serialization: fix C-style comments
2019-11-11 17:31:49 +01:00
7e7c49a109
tests/pkg_lora-serialization: fix test 02 on AVR
2019-11-11 17:31:22 +01:00
d6f11a4c3c
pkg/lora-serialization: bump to latest versio
2019-11-11 17:30:31 +01:00
Martine Lenders
8992dce4da
gnrc_sock: consider all pktsnip for gnrc_neterr reporting
...
As analyzed in #12678 there are cases where different reports can be
generated for the different snips of the packet send via the `sock`.
To catch all errors generated by the stack, the sock has to subscribe
for all snips of the packet sent. If any of the snips reports an error
distinct from `GNRC_NETERR_SUCCESS` or the previous one, we report that
status instead of just the first we receive. This way we are ensured to
have the first error reported by the stack for the given packet.
2019-11-11 16:40:32 +01:00
José Alamos
a78bdaa85a
Merge pull request #12626 from leandrolanzieri/pr/core/kernel_defines_is_active
...
core/kernel_defines: Introduce 'IS_ACTIVE' macro
2019-11-11 16:17:16 +01:00
b75ba42b77
Merge pull request #12686 from maribu/code_style
...
drivers/net/netdev: Use consistent code formatting
2019-11-11 13:54:06 +01:00
Marian Buschsieweke
107b50ca04
drivers/net/netdev: Use consistent code formatting
2019-11-11 13:03:50 +01:00
Leandro Lanzieri
62b6e5e6ff
makefiles/modules: Add note regarding 'IS_USED' macro.
2019-11-11 12:53:18 +01:00
Leandro Lanzieri
0dd776a9e6
core/kernel_defines: Introduce 'IS_ACTIVE' macro.
...
IS_ACTIVE allows to evaluate macro definitions in non-preprocessor
expressions. It takes a macro that may be defined to 1 or not defined at
all and expands to 1 or 0 respectively.
2019-11-11 12:53:03 +01:00
Marian Buschsieweke
8eab67e4ee
Merge pull request #12684 from fabian18/arduino_SPI_interface_little_bugfix
...
sys/arduino: bug: missing 0
2019-11-11 11:06:06 +01:00
fabian18
a8ff989db1
sys/arduino: Fixed frequency selection in SPI
2019-11-11 10:33:01 +01:00
Martine Lenders
519b4d3ce7
Merge pull request #12683 from maribu/cc110x-6ln-fix
...
sys/net/gnrc: Flag cc110x as 6LN
2019-11-11 09:58:04 +01:00
Marian Buschsieweke
bd8c4b36aa
sys/net/gnrc: Flag cc110x as 6LN
...
In gnrc_netif_init_6ln() the flag GNRC_NETIF_FLAGS_6LN is accidentally not set
for cc110x devices. This commit fixes this.
2019-11-11 09:24:01 +01:00
Martine Lenders
f092c27356
gnrc_ipv6: add missing new-line to debug message
2019-11-10 13:50:56 +01:00
benpicco
e4f1b67612
Merge pull request #12617 from benpicco/atmega_cpu_id
...
atmega_common: provide CPU ID for every device
2019-11-08 17:36:09 +01:00
Benjamin Valentin
5b6d56efd5
atmega_common: provide CPU ID for every device
...
ATmega128RFA1/ATmega256RFR2 do not have a unique CPU ID.
Use the RC oscillator callibration byte as an impromptu CPU ID and rely
on bootlader constants present on all ATmega families for the remaining
bytes.
This way we can provide a faux CPU ID on all ATmega MCUs and typical hobbyists
with no access to JTAG adapters or high voltage programmer capable of writing
the user signature have a good chance that the CPU IDs of their device do not collide.
2019-11-08 16:58:03 +01:00
7ee8c059c9
Merge pull request #12672 from maribu/lpc2387-cleanup
...
cpu/lpc2387: Add MCU features to Makefile.features
2019-11-08 15:27:50 +01:00
Benjamin Valentin
0ea2cbf1eb
boards: remove RTT_NUMOF/RTC_NUMOF
...
Those macros are defined but never used.
2019-11-08 14:20:33 +01:00
Gunar Schorcht
c247f4e544
Merge pull request #12660 from maribu/coding_rules
...
Added CODING_CONVENTIONS_C++.md
2019-11-08 14:13:03 +01:00
Marian Buschsieweke
9a0657af9b
boards: Refactored avsextrem & msba2
...
- Removed features already provided at CPU level
- Sorted features alphabetically
2019-11-08 14:02:42 +01:00
Marian Buschsieweke
72714aefea
cpu/lpc2387: Added MCU provided features
...
Added features provided by the LPC2387 MCU to cpu/lpc2387/Makefile.features
2019-11-08 14:02:35 +01:00
507a7b9cb7
Merge pull request #12670 from benpicco/driver_hd44780-revert
...
Revert "drivers/hd44780: add short delay after each character"
2019-11-08 13:56:21 +01:00
Marian Buschsieweke
80a23ea1f3
CODING_CONVENTIONS_C++.md: Fixed typos and links
...
- Fixed broken links
- Fixed typos
- Reformatted markdown to better comply with the 80 chars line limit
2019-11-08 10:36:27 +01:00
Benjamin Valentin
d213bbc6f5
Revert "drivers/hd44780: add short delay after each character"
...
This reverts commit cf01c743a8
.
Adding an unexplained delay seemed wrong in the first place, but it fixed
the display on the MCB2388.
Turns out the display was erroneously operating in 8-bit mode due to the
uninitialized flag register.
Why the delay helped here I don't know.
But with #12634 fixing this, this hack is not needed anymore.
2019-11-07 22:40:01 +01:00
Leandro Lanzieri
66d5e4d05f
Merge pull request #12637 from benpicco/lpc2387-uart
...
cpu/lpc2387: update the UART driver
2019-11-07 22:21:50 +01:00
Benjamin Valentin
9e68556393
boards/msba2: configure remaining UARTs
...
All UARTs on the MSBA2 are exposed through pin headers on the board.
Configure them according to the data sheet.
2019-11-07 21:55:25 +01:00
Benjamin Valentin
90aef98ca0
boards/avsextrem: adapt to updated UART driver
2019-11-07 21:55:25 +01:00
Benjamin Valentin
3e053d1db9
boards/msba2: adapt to updated UART driver
2019-11-07 21:55:25 +01:00