cancel
Showing results for 
Search instead for 
Did you mean: 

How To Compile N6 Samples

Konami
Senior II

I'm trying to compile a basic blinky application for the N6 and failing. I open the latest CubeIDE, import the GPIO_Toggle project (or any other one for that matter) and try to build. I get an error about no rule to make target. Please provide guidance on how to build the basic examples

 

13:47:52 **** Build of configuration Debug for project GPIO_InfiniteLedToggling_Init_FSBL ****
make -j11 all 
make: *** No rule to make target '/Users/workspace/STM32CubeN6-git/Drivers/STM32N6xx_HAL_Driver/Src/stm32n6xx_ll_exti.c', needed by 'Drivers/STM32N6xx_HAL_Driver/stm32n6xx_ll_exti.o'.  Stop.
"make -j11 all" terminated with exit code 2. Build might be incomplete.

13:47:52 Build Failed. 1 errors, 0 warnings. (took 83ms)

 

1 ACCEPTED SOLUTION

Accepted Solutions
Konami
Senior II

Solved: Apparently downloading the N6 package as a zip is not a good idea because it doesn't grab any of the submodules which have all the driver sources

View solution in original post

3 REPLIES 3
Konami
Senior II

Solved: Apparently downloading the N6 package as a zip is not a good idea because it doesn't grab any of the submodules which have all the driver sources

Hello @Konami 

With reference to the README.md file of the STMicroelectronics STM32CubeN6 MCU Firmware Package repository,
you should clone it locally using git clone --recursive:

Screenshot 2026-04-26 at 18.26.13.png

Best regards,

Romain

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.


@Konami wrote:

Solved: 


Excellent! So please mark the solution on the post which provided the answer (not this one!).

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.