1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
Commit Graph

35317 Commits

Author SHA1 Message Date
Francisco
7b65dda691
Merge pull request #16190 from aabadie/pr/pkg/make_silent_ci_build
pkg: silent make commands with RIOT_CI_BUILD=1
2021-03-30 10:28:12 +02:00
Kevin "Tristate Tom" Weiss
796175591d
Merge pull request #15877 from MrKevinWeiss/pr/gootfet2to3
dist/tools/goodfet: Update goodfet flasher to python3
2021-03-30 09:54:40 +02:00
chrysn
6d242c9d51 boards/microbit*/doc: Link to matrix display driver 2021-03-29 22:09:52 +02:00
Marian Buschsieweke
2e9a80cba5
Merge pull request #16246 from kfessel/patch-2
stm32/ptp: avoid creating a new rounding rule
2021-03-29 17:06:30 +02:00
Karl Fessel
cf7078ab0a stm32/ptp: avoid creating a new rounding rule 2021-03-29 16:27:27 +02:00
Marian Buschsieweke
5873d46850
Merge pull request #15960 from Jnae/ptp_ztimer
sys/ztimer: add periph_ptp backend
2021-03-29 10:08:00 +02:00
Gerson Fernando Budke
53235dd2e2 cpu/atxmega/atxmega_cpu: Fix clk sel after dfll en
The current ATxmega clock_init enable DFLL to improve the accuracy of
the 2MHz and 32MHz internal oscillators.  In some ATxmega revisions,
after started DFLL the clock become unstable.  Add another sync point
for 32MHz internal oscilator.

Note:  If clock is not stable, system won't switch from 2MHz to 32MHz
as main clock.

Signed-off-by: Gerson Fernando Budke <nandojve@gmail.com>
2021-03-28 11:40:39 -03:00
Jnae
b1aaa974bd sys/ztimer: add periph_ptp backend 2021-03-28 15:50:19 +02:00
Marian Buschsieweke
28e6544748
Merge pull request #16236 from maribu/cpu/stm32/periph_eth
cpu/stm32/periph_eth: bugfix
2021-03-28 09:20:15 +02:00
Dylan Laduranty
c9cf60db20
Merge pull request #16181 from h-filzer/bastwan
boards/bastwan: Support BastWAN Board
2021-03-27 21:54:53 +01:00
Gerson Fernando Budke
4a9f0efb6d boards: introduce atmega328p-xplained-mini
Add ATmega328P Xplained Mini board.  The board is an official
development kit from MCHP based on the Arduino UNO, reduced
hardware, with a xplainedmini debugger and CDC ACM serial
converter.

Signed-off-by: Gerson Fernando Budke <nandojve@gmail.com>
2021-03-27 14:10:19 -03:00
Marian Buschsieweke
7b08b97eb6
cpu/stm32/periph_eth: bugfix & cleanup
Fix compilation with module `stm32_eth_link_up` when `stm32_eth_auto`
is not used by relying on the compiler to optimize unused functions
and variables out, rather than using the preprocessor.
2021-03-26 17:42:45 +01:00
Marian Buschsieweke
80e14e88a1
Merge pull request #16221 from maribu/ptp-fix
cpu/stm32/periph_ptp: bugfix & better debug output
2021-03-25 17:23:19 +01:00
Lokotius
303ac4ded2 boards/bastwan: Support BastWAN Board
This board is based on rak4260 with rak specific pinmappings.
ADC, LED and UART as well as USB ist supposed to work.
Mostly adopted from SAM R34 Xplained Pro board with adoption to rak pinout.
2021-03-25 16:21:18 +01:00
Erik Ekman
6b89f4f34b pkg/lwip: Start DHCP early for all Ethernet netifs
Netifs without link status support will keep sending discover
messages with increasing time between.

Netifs that support link status will wait for the link to be up,
and then start sending.

Netifs that support link status but send no link status events
will continue to not work (unless link status is up from the
first check when setting it up).
2021-03-25 16:01:27 +01:00
benpicco
9cad382dc8
Merge pull request #16153 from yarrick/netif_add
pkg/lwip: Add netifs with netif_add_noaddr
2021-03-25 13:36:17 +01:00
benpicco
b0364941b5
Merge pull request #16082 from yarrick/link_state
pkg/lwip: Set netif link state properly when supported
2021-03-25 13:36:07 +01:00
Rémy Grünblatt
3e8dacde41 sys/include/random: generate documentation for random double generation 2021-03-24 14:34:19 +01:00
8f93e42e9c
Merge pull request #16225 from jnohlgard/tests-includes
tests: Fix some pedantic mistakes
2021-03-24 14:15:36 +01:00
aea7b78326
Merge pull request #16224 from jnohlgard/core-msg-printf
core/msg: Fix mismatched printf formats
2021-03-24 13:45:15 +01:00
Joakim Nohlgård
821eb21861 tests/fault_handler: Fix pedantic warnings about signed/unsigned 2021-03-24 12:07:26 +01:00
Joakim Nohlgård
f24e835c71 tests/cpu_efm32_features: Add missing include stdio.h
for puts
2021-03-24 12:07:20 +01:00
Joakim Nohlgård
1f710f94e6 tests/cortexm_address_check: Add missing include inttypes.h
for PRIx32
2021-03-24 12:07:15 +01:00
Joakim Nohlgård
87727febd7 core/msg: Fix mismatched printf bool format
_Bool will be extended to int when calling the variadic printf function.
2021-03-24 12:01:23 +01:00
Joakim Nohlgård
783c407787 core/msg: Fix mismatched printf signed/unsigned format
enum signedness depends on the platform settings, use explicit casts for robustness
2021-03-24 12:01:18 +01:00
Joakim Nohlgård
a83516b2f6 core/msg: Fix mismatched printf signed/unsigned format
cib_avail returns unsigned int
2021-03-24 12:01:07 +01:00
Joakim Nohlgård
f941782442 devfs: Split devfs-random into two files using submodules 2021-03-24 11:57:44 +01:00
chrysn
4596f79c95 tests/dac_dds: Fix sine wave to fit in PCM range
The previous sine wave cast signed integers into the PCM range, causing
jumps at zero transitions. This shifts everything up by the respective
maximum signed integer, so that the signed idle zero becomes the
unsigned PCM signal's idle half-point and can continuously cover the
whole unsigned range.
2021-03-24 00:35:19 +01:00
Marian Buschsieweke
650559276f
cpu/stm32/periph_ptp: bugfix & better debug output
- Clear the PTP timer interrupt *after* the user callback is executed
    - Otherwise it would be possible that the ISR sets another super
      short timeout that triggers during ISR, which also gets cleared
    - This is a pretty nasty race condition :-/
- The debug output was a bit too verbose to be generally useful. Some
  noise is now silenced unless `DEBUG_VERBOSE` is `#define`d to 1
2021-03-23 22:58:10 +01:00
chrysn
5b44d7e5b0
Merge pull request #16219 from chrysn-pull-requests/saul-shell-no-null-percents
sys/shell/saul: Don't print from NULL
2021-03-23 19:11:43 +01:00
chrysn
00af946aef
Merge pull request #16220 from chrysn-pull-requests/microbit-doc-links
boards/microbit-v2: Add links to schematics etc.
2021-03-23 17:27:07 +01:00
chrysn
e711e96f9d boards/microbit-v2: Add links to schematics etc. 2021-03-23 16:16:39 +01:00
chrysn
9eaaa68641 sys/shell/saul: Don't print from NULL
SAUL devices can legitimately be unnamed; catching all attempts to read
their names with a generic "(no name)" name.
2021-03-22 21:53:49 +01:00
Marian Buschsieweke
bcc899f2db
Merge pull request #16100 from maribu/netopt_tx_end_irq
sys/net/netopt: make NETOPT_TX_END_IRQ and friends read-only
2021-03-22 21:17:45 +01:00
chrysn
bf571ad7b2 riotboot: Build ARCHIVES
Like /Makefile.include builds ARCHIVES before ELFFILES.
2021-03-22 20:43:41 +01:00
Benjamin Valentin
2d910dcc53 examples/gnrc_border_router: default to DHCPv6 for CDC ECM 2021-03-22 16:24:07 +01:00
Benjamin Valentin
b48acc2573 tests/bench_msg_pingpong: cleanup
Drop the global volatile variable, clean up the code.
2021-03-22 12:42:46 +01:00
José Alamos
c5d620add8
Merge pull request #16206 from akshaim/lorawan-netif_dr_fix
gnrc_netif_lorawan: Validate DR
2021-03-22 11:03:30 +01:00
Marian Buschsieweke
4cfcc4ee9e
tests/driver_xbee: Update Makefile.ci
The additional warning message increases the size of the .rodata
section. For the Arduino Mega2560 this is placed in RAM (and flash), as
flash is not mapped into the data address space.
2021-03-22 08:15:55 +01:00
Marian Buschsieweke
3a378c24a2
drivers/cc2420: make TX/RX IRQs read only
This brings the implementation in sync with the API.
2021-03-22 08:15:54 +01:00
Marian Buschsieweke
1d0ee42046
drivers/at86rf2xx: make TX/RX IRQs read only
This brings the implementation in sync with the API.
2021-03-22 08:15:54 +01:00
Marian Buschsieweke
08063bebfe
drivers/at86rf215: make TX/RX IRQs read only
This brings the implementation in sync with the API.
2021-03-22 08:15:54 +01:00
Marian Buschsieweke
134f323fb1
drivers/kw41zrf: make TX/RX IRQs read only
This brings the implementation in sync with the API.
2021-03-22 08:15:54 +01:00
Marian Buschsieweke
fba104c2ce
drivers/kw2xrf: make TX/RX IRQs read only
This brings the implementation in sync with the API.
2021-03-22 08:15:54 +01:00
Marian Buschsieweke
a18ec987bf
drivers/mrf24j40: make TX/RX IRQs read only
This brings the implementation in sync with the API.
2021-03-22 08:15:54 +01:00
Marian Buschsieweke
52c8be9da9
drivers/mrf24j40: drop unused define
MRF24J40_OPT_REQ_AUTO_ACK is never used and wrongly documented. Let's
just drop it.
2021-03-22 08:15:53 +01:00
Marian Buschsieweke
80d56488cc
sys/net/gnrc/netif: update use of NETOPT_TX_END_IRQ and friends
With the API change, it is no longer possible to enable these IRQs at
run time. Instead, query if the needed events are supported (with DEVELHELP).
2021-03-22 08:15:52 +01:00
Marian Buschsieweke
ff08139263
sys/net/gnrc/lwmac: update use of NETOPT_TX_END_IRQ and friends
With the API change, it is no longer possible to enable these IRQs at
run time. Instead, query if those are supported (with DEVELHELP).
2021-03-22 08:14:28 +01:00
Marian Buschsieweke
94e0ef47c7
sys/net/gnrc/gomach: update use of NETOPT_TX_END_IRQ and friends
With the API change, it is no longer possible to enable these IRQs at
run time. Instead, query if those are supported (with DEVELHELP).
2021-03-22 08:14:27 +01:00
Marian Buschsieweke
d86df5b217
sys/net/netopt: make NETOPT_TX_END_IRQ and friends read-only
Reasoning:

- Many drivers already just generate these events regardless of configuration.
  This will make behavior more consistent
- Run time configuration increases ROM, complexity and maintaining
  effort
- At least NETOPT_TX_END_IRQ is now de facto mandatory, as the new
  netdev driver API requires NETDEV_EVENT_TX_COMPLETE to always be
  generated.
2021-03-22 08:14:27 +01:00