cancel
Showing results for 
Search instead for 
Did you mean: 

HSO Algorithm - where to find function definitions?

Rahuld
Associate II

Hi,

 I have generated code for HSO on a workbench as recommended by the release note. I need to view definitions of following functions: 

Rahuld_0-1749120598489.png

But not able to view the definitions of these functions. Could you please help me to open these functions? As I need to port this code into STM32F4 Series code.

 

Thanks, and Regards,

Rahul D

1 ACCEPTED SOLUTION

Accepted Solutions
Gael A
ST Employee

Hello Rahuld,

In addition to what Andrew Neil said, I am sorry to inform you that the HSO's source code is not public and that we cannot provide what you are asking for.

If you agree with my answer, please consider accepting it by clicking on 'Accept as solution'.

Hope this will help,
Gaël A.

View solution in original post

5 REPLIES 5
Andrew Neil
Super User

Welcome to the forum.

Please see How to write your question to maximize your chances to find a solution for best results; in particular, How to insert source code - not as images.

 


@Rahuld wrote:

I need to view definitions of following functions: 


Have you tried the IDE's 'Open Declaration' feature?

  1. Right-click the function name
  2. Choose 'Open Declaration'

Or click the name, then press F3

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.
Gael A
ST Employee

Hello Rahuld,

In addition to what Andrew Neil said, I am sorry to inform you that the HSO's source code is not public and that we cannot provide what you are asking for.

If you agree with my answer, please consider accepting it by clicking on 'Accept as solution'.

Hope this will help,
Gaël A.
Rahuld
Associate II

Hi @Andrew Neil 

Yes, I tried this, but it shows declaration but not definition.

Thanks,

Rahul D

Hi @Gael A ,

Thanks for the information provided. I have generated the software code for HSO using STM32G473QE. But I am using the STM32F4 or STM32F7 controller. Is it possible to use these functions with the STM32F4 or STM32F7 series? Will HSO work by porting software code and using HSO functions as is?

 

Thanks & Regards,

Rahul Deshpande

You already have a separate thread on that question:

https://community.st.com/t5/stm32-mcus-motor-control/hso-algorithm-for-stm32f4-or-stm32f7/td-p/809994

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.