Skip to main content
Associate III
March 13, 2024
Solved

I'd like to know how to build the project with STM32H503 board

  • March 13, 2024
  • 3 replies
  • 2582 views

Hi, 

I'm planning to buy STM32H503 board and X-NUCLEO-IKS01A3 to study I3C protocol. 

Before I buy those, I'm making sure I can program the code for I3C to compile it. and found the document on below link.

https://www.st.com/resource/en/application_note/an5879-introduction-to-i3c-for-stm32h5-series-mcu-stmicroelectronics.pdf

 

It shows how to generate the code with STM32CubeMX, but it doesn't show how to compile and generate the binary to download it. 

Please let me know how to compile the code that i generate. Do I have to buy complier?

 

Thanks,

Luke.

 

Best answer by Tesla DeLorean

Cube IDE would be the Integrated Development tool with the GNU/GCC compiler, and debugger

https://www.st.com/en/development-tools/stm32cubeide.html

 

3 replies

Tesla DeLorean
Tesla DeLoreanBest answer
Guru
March 13, 2024

Cube IDE would be the Integrated Development tool with the GNU/GCC compiler, and debugger

https://www.st.com/en/development-tools/stm32cubeide.html

 

Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..
Tesla DeLorean
Guru
March 13, 2024
Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..
Associate III
March 13, 2024

thank you very much for your answer, I can compile with STM32cubeIDE now. 

Thanks,

Luke.

Foued_KH
ST Employee
March 13, 2024

Hello @LukeJang522 , 

You don't need to buy a complier just you can use STM32cubeIDE , IAR , Keil ..
You can use the available example in the STM32H5 cubefw : 

STM32Cube_FW_H5_V1.1.1\Projects\NUCLEO-H503RB\Examples\I3C\I3C_Sensor_Private_Command_IT

I3C article also : Getting started with I3C - stm32mcu

Foued

 

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
Andrew Neil
Super User
March 13, 2024

@Foued_KH wrote:

You don't need to buy a complier just you can use STM32cubeIDE , IAR , Keil ..


Err... you would need to buy IAR or Keil - they're not free!

A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.
Andrew Neil
Super User
March 13, 2024

@LukeJang522 wrote:

It shows how to generate the code with STM32CubeMX, but it doesn't show how to compile and generate the binary to download it. 


With current STM32CubeIDE versions, the STM32CubeMX functionality is all built in - you don't need a separate step in a separate app.

A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.
Associate III
March 13, 2024

Yep, thank you for your answer, I can do it all with STM323CubeIDE now.