| 12345678910111213141516171819202122232425262728293031323334353637383940 |
- /**
- ******************************************************************************
- * @file : main.c
- * @author : Auto-generated by STM32CubeIDE
- * @brief : Main program body
- ******************************************************************************
- * @attention
- *
- * <h2><center>© Copyright (c) 2021 STMicroelectronics.
- * All rights reserved.</center></h2>
- *
- * This software component is licensed by ST under BSD 3-Clause license,
- * the "License"; You may not use this file except in compliance with the
- * License. You may obtain a copy of the License at:
- * opensource.org/licenses/BSD-3-Clause
- *
- ******************************************************************************
- */
- #if !defined(__SOFT_FP__) && defined(__ARM_FP)
- #warning "FPU is not initialized, but the project is compiling for an FPU. Please initialize the FPU before use."
- #endif
- #include "platform/platform.h"
- int main(void)
- {
- platform_init();
- for(int i = 0; i < 10; ++i)
- {
- i *= 2;
- }
- while (1)
- {
- }
- }
|