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

Merge pull request #18652 from kaspar030/jammy_fixes

treewide: Ubuntu jammy build fixes
This commit is contained in:
Marian Buschsieweke 2022-09-27 14:12:11 +02:00 committed by GitHub
commit 1a372d253d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 8 additions and 2 deletions

View File

@ -418,7 +418,7 @@ typedef enum {
/* for compatibility between different versions of AVR libc: Legacy versions
* occasionally use ASPACE instead of ASIZE for some MCUs, while new AVR libc
* uses ASIZE as name consistently */
#ifdef EBI_CS_ASPACE_gm
#ifndef EBI_CS_ASIZE_gm
typedef EBI_CS_ASPACE_t EBI_CS_ASIZE_t;
#define EBI_CS_ASIZE_256B_gc EBI_CS_ASPACE_256B_gc
#define EBI_CS_ASIZE_512B_gc EBI_CS_ASPACE_512B_gc

View File

@ -31,4 +31,7 @@ FEATURES_OPTIONAL += periph_spi
# a terminal is opened to synchronize.
TESTRUNNER_RESET_AFTER_TERM ?= 1
# failing on native with floating point exception (#15870)
TEST_ON_CI_BLACKLIST = all
include $(RIOTBASE)/Makefile.include

View File

@ -9,5 +9,8 @@ include $(RIOTBASE)/pkg/pkg.mk
CFLAGS += -Wno-type-limits
CFLAGS += -Wno-cast-align
# Silence warning popping up since `gcc version 11.2.0 (Ubuntu 11.2.0-19ubuntu1)`
CFLAGS += -Wno-stringop-overflow
all:
$(QQ)"$(MAKE)" -C $(PKG_SOURCE_DIR) -f $(RIOTBASE)/Makefile.base

View File

@ -172,7 +172,7 @@ static void _print_equalizer(dfplayer_t *dev)
static void _print_mode(dfplayer_t *dev)
{
dfplayer_mode_t mode;
dfplayer_mode_t mode = {0};
int retval = dfplayer_get_mode(dev, &mode);
if (retval) {
_print_error(retval);