diff --git a/ref_app/src/util/STL/cinttypes b/ref_app/src/util/STL/cinttypes index 71915d1bc..168731795 100644 --- a/ref_app/src/util/STL/cinttypes +++ b/ref_app/src/util/STL/cinttypes @@ -8,7 +8,7 @@ #ifndef CINTTYPES_2021_10_19_ #define CINTTYPES_2021_10_19_ - #if (defined(__GNUC__) && defined(__RL78__)) + #if (defined(__GNUC__) && (defined(__RL78__) || defined(__v850__))) #include #else #include diff --git a/ref_app/target/micros/v850es_fx2/make/v850es_fx2_flags.gmk b/ref_app/target/micros/v850es_fx2/make/v850es_fx2_flags.gmk index 3635665c1..59af484fe 100644 --- a/ref_app/target/micros/v850es_fx2/make/v850es_fx2_flags.gmk +++ b/ref_app/target/micros/v850es_fx2/make/v850es_fx2_flags.gmk @@ -1,5 +1,5 @@ # -# Copyright Christopher Kormanyos 2014 - 2024. +# Copyright Christopher Kormanyos 2014 - 2025. # Distributed under the Boost Software License, # Version 1.0. (See accompanying file LICENSE_1_0.txt # or copy at http://www.boost.org/LICENSE_1_0.txt) @@ -9,7 +9,7 @@ # compiler flags for the target architecture # ------------------------------------------------------------------------------ -GCC_VERSION = 13.2.0 +GCC_VERSION = 14.2.0 GCC_TARGET = v850-unknown-elf GCC_PREFIX = v850-unknown-elf @@ -23,13 +23,14 @@ TGT_ALLFLAGS = -Os \ -mzda=0 \ -msda=0 \ -finline-functions \ - -finline-limit=32 + -finline-limit=32 \ + -ffreestanding -TGT_CFLAGS = -std=c99 \ +TGT_CFLAGS = -std=c11 \ -Wunsuffixed-float-constants \ $(TGT_ALLFLAGS) -TGT_CXXFLAGS = -std=c++14 \ +TGT_CXXFLAGS = -std=c++23 \ $(TGT_ALLFLAGS) TGT_INCLUDES = -isystem $(PATH_APP)/util/STL