Skip to content

Commit faf06a3

Browse files
Avoid obsolete GCC 7.1 note on building WiFi (#1684)
Fixes #1683
1 parent d0ac7f0 commit faf06a3

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

platform.txt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -42,11 +42,11 @@ compiler.libraries.ldflags=
4242
# Compile variables
4343
# -----------------
4444

45-
compiler.warning_flags=-Werror=return-type
46-
compiler.warning_flags.none=-Werror=return-type
47-
compiler.warning_flags.default=-Werror=return-type
48-
compiler.warning_flags.more=-Wall -Werror=return-type -Wno-ignored-qualifiers
49-
compiler.warning_flags.all=-Wall -Wextra -Werror=return-type -Wno-ignored-qualifiers
45+
compiler.warning_flags=-Werror=return-type -Wno-psabi
46+
compiler.warning_flags.none=-Werror=return-type -Wno-psabi
47+
compiler.warning_flags.default=-Werror=return-type -Wno-psabi
48+
compiler.warning_flags.more=-Wall -Werror=return-type -Wno-ignored-qualifiers -Wno-psabi
49+
compiler.warning_flags.all=-Wall -Wextra -Werror=return-type -Wno-ignored-qualifiers -Wno-psabi
5050

5151
compiler.netdefines=-DPICO_CYW43_ARCH_THREADSAFE_BACKGROUND=1 -DCYW43_LWIP=1 {build.libpicowdefs} -DLWIP_IGMP=1 -DLWIP_CHECKSUM_CTRL_PER_NETIF=1
5252
compiler.defines={build.led} {build.usbstack_flags} -DCFG_TUSB_MCU=OPT_MCU_RP2040 {build.usbpid} {build.usbvid} {build.usbpwr} '-DUSB_MANUFACTURER={build.usb_manufacturer}' '-DUSB_PRODUCT={build.usb_product}' {compiler.netdefines} -DARDUINO_VARIANT="{build.variant}" -DTARGET_RP2040 -DPICO_FLASH_SIZE_BYTES={build.flash_total}

0 commit comments

Comments
 (0)