Skip to main content
Konami
Senior
April 25, 2026
Solved

How To Compile N6 Samples

  • April 25, 2026
  • 1 reply
  • 83 views

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)

 

Best answer by Konami

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

1 reply

Konami
KonamiAuthorBest answer
Senior
April 25, 2026

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

RomainR.
ST Employee
April 26, 2026

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.