Skip to content

Files

Latest commit

95ec74a · Mar 3, 2024

History

History

ST_STM32F429I_DISCOVERY

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Sep 15, 2022
Apr 19, 2022
Mar 3, 2024
Feb 16, 2023
Aug 24, 2021
Feb 13, 2023
Apr 1, 2021
Jan 3, 2022
Apr 1, 2021
Aug 24, 2021
Apr 1, 2021
Aug 24, 2021
Apr 1, 2021
Feb 25, 2022
Feb 25, 2022
May 13, 2022
May 13, 2022
Oct 29, 2021
Apr 1, 2021
Feb 3, 2023
Apr 22, 2021
Apr 1, 2021
Feb 24, 2022
Feb 24, 2022

Configuration of Chibios, HAL and MCU

For a successful build the following changes are required:

In halconf.g (in both nanoBooter and nanoCLR folders), when compared with a default file:

  • HAL_USE_SERIAL to TRUE
  • HAL_USE_SERIAL_USB to TRUE
  • HAL_USE_USB to TRUE
  • SERIAL_DEFAULT_BITRATE to 921600

In mcuconf.h (in both nanoBooter and nanoCLR folders), when compared with a default file:

  • STM32_SERIAL_USE_USART2 to TRUE
  • STM32_USB_USE_OTG1 to TRUE

In chconf.h (only for nanoCLR folder), when compared with a default file:

  • set the CORTEX_VTOR_INIT with the appropriate address of the vector table for nanoCLR

Definitions for each image

Any defines specific to an image (nanoBooter or nanoCLR) that are to be made available throughout the code should be added to the target_board.h.in. There is one in nanoBooter and another in nanoCLR directories, allowing different defines for each one. Defines that are common to a target board should be added to the target_common.h.in. The content of these files is parsed by CMake. It can include CMake variables. Check the documentation of CMake config files here.

NOTE: this configuration was successfully tested in a ST_STM32F429I_DISCOVERY board using the Serial over USB connection on USB port 1 that creates a virtual COM port.

Floating point

The current build is set to add support for single-precision floating point. Meaning that System.Math API supports only the float overloads. The double ones will throw a NotImplementedException.