cancel
Showing results for 
Search instead for 
Did you mean: 

Static Library Usage in STM32N6 Series

B.Kaya
Associate II

Hello,

I am currently working on STM32N6570-DK. I want to create static library from files inside of Application layer and then I will create user memory and code section inside of my project. Therefore, users will develop their own graphic and I/O configurations for product.

When I created new N6 project, I can not enable static library option. Hence, my questions are:

1) Can I use static library inside of N6 project?

2) Can I create static library for N6 as other mcu groups?

Best Regards,
BK

1 ACCEPTED SOLUTION

Accepted Solutions
Julian E.
ST Employee

Hello @B.Kaya ,

 

There is no restriction concerning the N6.

You can use static libraries inside N6 project (our AI demo uses CubeAI static libraries)

You can create static libraries for N6 as other mcu.

 

I am not an expert regarding static libraries but in a N6 project in STM32CubeIDE:

  • Right-click on your project in the Project Explorer and select Properties.
  • Go to C/C++ Build > Settings.
  • Under the Tool Settings tab, navigate to MCU GCC Linker > General.
  • Change the Artifact Type to Static Library.
  • Ensure the Artifact Extension is set to .a.

JulianE_0-1742288755941.png

 

Have a good day,

Julian


In order 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.

View solution in original post

1 REPLY 1
Julian E.
ST Employee

Hello @B.Kaya ,

 

There is no restriction concerning the N6.

You can use static libraries inside N6 project (our AI demo uses CubeAI static libraries)

You can create static libraries for N6 as other mcu.

 

I am not an expert regarding static libraries but in a N6 project in STM32CubeIDE:

  • Right-click on your project in the Project Explorer and select Properties.
  • Go to C/C++ Build > Settings.
  • Under the Tool Settings tab, navigate to MCU GCC Linker > General.
  • Change the Artifact Type to Static Library.
  • Ensure the Artifact Extension is set to .a.

JulianE_0-1742288755941.png

 

Have a good day,

Julian


In order 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.