main.c 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. /**
  2. ******************************************************************************
  3. * @file : main.c
  4. * @author : Auto-generated by STM32CubeIDE
  5. * @brief : Main program body
  6. ******************************************************************************
  7. * @attention
  8. *
  9. * <h2><center>&copy; Copyright (c) 2021 STMicroelectronics.
  10. * All rights reserved.</center></h2>
  11. *
  12. * This software component is licensed by ST under BSD 3-Clause license,
  13. * the "License"; You may not use this file except in compliance with the
  14. * License. You may obtain a copy of the License at:
  15. * opensource.org/licenses/BSD-3-Clause
  16. *
  17. ******************************************************************************
  18. */
  19. #if !defined(__SOFT_FP__) && defined(__ARM_FP)
  20. #warning "FPU is not initialized, but the project is compiling for an FPU. Please initialize the FPU before use."
  21. #endif
  22. #include "platform/platform.h"
  23. int main(void)
  24. {
  25. platform_init();
  26. for(int i = 0; i < 10; ++i)
  27. {
  28. i *= 2;
  29. }
  30. while (1)
  31. {
  32. }
  33. }