2 * This file is part of Cleanflight and Betaflight.
4 * Cleanflight and Betaflight are free software. You can redistribute
5 * this software and/or modify this software under the terms of the
6 * GNU General Public License as published by the Free Software
7 * Foundation, either version 3 of the License, or (at your option)
10 * Cleanflight and Betaflight are distributed in the hope that they
11 * will be useful, but WITHOUT ANY WARRANTY; without even the implied
12 * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
13 * See the GNU General Public License for more details.
15 * You should have received a copy of the GNU General Public License
16 * along with this software.
18 * If not, see <http://www.gnu.org/licenses/>.
24 // make these visible to unit test
25 #define STATIC_UNIT_TESTED
26 #define STATIC_INLINE_UNIT_TESTED
27 #define INLINE_UNIT_TESTED
30 #define STATIC_UNIT_TESTED static
31 #define STATIC_INLINE_UNIT_TESTED static inline
32 #define INLINE_UNIT_TESTED inline
37 #define REQUIRE_CC_ARM_PRINTF_SUPPORT
38 #define REQUIRE_PRINTF_LONG_SUPPORT
42 // IDs are permanent as they have a dependency to configurator through MSP reporting
45 MCU_TYPE_SIMULATOR
= 0,
56 MCU_TYPE_H743_REV_UNKNOWN
,
64 MCU_TYPE_UNKNOWN
= 255,
67 mcuTypeId_e
getMcuTypeId(void);