[realtek-ambz] Update Arduino core to new structure
This commit is contained in:
6
cores/realtek-ambz/base/fixups/basic_types.h
Normal file
6
cores/realtek-ambz/base/fixups/basic_types.h
Normal file
@@ -0,0 +1,6 @@
|
||||
/* Copyright (c) Kuba Szczodrzyński 2023-03-02. */
|
||||
|
||||
// fix conflicting declaration with ArduinoCore-API
|
||||
#define boolean boolean_rtl
|
||||
#include_next "basic_types.h"
|
||||
#undef boolean
|
||||
6
cores/realtek-ambz/base/fixups/section_config.h
Normal file
6
cores/realtek-ambz/base/fixups/section_config.h
Normal file
@@ -0,0 +1,6 @@
|
||||
/* Copyright (c) Kuba Szczodrzyński 2023-03-02. */
|
||||
|
||||
// section_config.h is in the same directory as basic_types.h
|
||||
// make the former include a fixup instead
|
||||
#include "basic_types.h"
|
||||
#include_next "section_config.h"
|
||||
Reference in New Issue
Block a user