Skip to main content
ManishNair
Associate III
January 20, 2019
Question

How to include codes from examples

  • January 20, 2019
  • 2 replies
  • 809 views

Hi,

I am using Nucloe144 H743 board, Cube Mx and true studio.

I want to incorporate codes given in cubeH7 example for EVal boads.

How i can do this? For example how i can use FatFs application Code for EVAL boards in Nucleo or Other Custom boards.... Any link or help or tutoriol available?

This topic has been closed for replies.

2 replies

Tesla DeLorean
Guru
January 20, 2019

Porting tends to start by understanding both boards and the differences in pin usage and connectivity.

For the STM32 I tend to start with a simple donor project or template that provides minimal functionality, which usually consists of IO routines to a USART based terminal and a proper Hard Fault Handler which can print out useful diagnostics.

Keep a copy of this if you plan to repeat using the new target platform.

Then bring over sections of code you want to use, editing for differences and testing along the way. Have the IDE build along the way so you can fix errors quickly rather than deal with 100s later. ​

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
ManishNair
Associate III
January 21, 2019

Thank you...