Fix some spammy warnings

This commit is contained in:
Yaya-Cout
2024-12-29 11:48:18 +01:00
parent 219c6c4046
commit 4c26e846d3
2 changed files with 3 additions and 1 deletions

View File

@@ -2,7 +2,7 @@
#define REGS_SYSCFG_H
#include "register.h"
#include <regs/config/syscfg.h>
// #include <regs/config/syscfg.h>
#include "gpio.h"
#define REGS_SYSCFG_CONFIG_F412 1

View File

@@ -8,7 +8,9 @@
#define _LIBCPP_CONSTEXPR_AFTER_CXX11
#define _LIBCPP_CONSTEXPR_AFTER_CXX14
#define _LIBCPP_CONSTEXPR constexpr
#ifndef __has_feature
#define __has_feature(__x) 0
#endif
#define _LIBCPP_NO_CFI
#define _NOEXCEPT noexcept
#define _NOEXCEPT_(x) noexcept(x)