Merge branch 'master' into structure-refactor

This commit is contained in:
Kuba Szczodrzyński
2023-03-13 17:41:21 +01:00
9 changed files with 127 additions and 18 deletions

View File

@@ -83,6 +83,7 @@ queue.AppendPrivate(
"-Wno-comment",
"-Wno-char-subscripts",
"-Wno-missing-braces",
"-Wno-return-type",
],
CFLAGS=[
"-Wno-format",

View File

@@ -26,6 +26,7 @@ queue.AppendPublic(
("ERRNO", "1"), # for LwIP
"MBEDTLS_KEY_EXCHANGE__SOME__PSK_ENABLED", # enable PSK in mbedTLS
# "MBEDTLS_DEBUG_C",
"MBED_PERIPHERALNAMES_H", # see fixups/cmsis.h
],
LINKFLAGS=[
"-mcpu=cortex-m4",

View File

@@ -31,6 +31,7 @@ env.Append(
"-fdata-sections", # place each function or data item into its own section
"-ffunction-sections", # place each function or data item into its own section
"-fno-strict-aliasing", # (don't) assume the strictest aliasing rules applicable
"-fno-inline-functions", # (don't) consider all functions for inlining
# Preprocessor Options
"-MMD", # output a rule suitable for make describing the dependencies of the main source file
# Code Generation Options
@@ -96,6 +97,7 @@ queue.AppendPublic(
CXXFLAGS=[
"-Wno-literal-suffix",
"-Wno-write-strings",
"-Wno-psabi",
],
CPPDEFINES=[
("LIBRETUYA", 1),