Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error on nucleo_f446ze or Board request BTT Octopus #819

Closed
JannikWilhelm opened this issue Dec 7, 2024 · 1 comment
Closed

error on nucleo_f446ze or Board request BTT Octopus #819

JannikWilhelm opened this issue Dec 7, 2024 · 1 comment

Comments

@JannikWilhelm
Copy link

I am trying to develop an application for BigTreeTech Octopus board. The chip is STM32F446ZET6, which is the same as fornucleo_f446ze. However, when trying to compile for arduino framework, I only get the error variant_NUCLEO_F446ZE.h: No such file or directory

Details

Processing nucleo_f446ze (platform: ststm32; board: nucleo_f446ze; framework: arduino)
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Verbose mode can be enabled via `-v, --verbose` option
CONFIGURATION: https://docs.platformio.org/page/boards/ststm32/nucleo_f446ze.html
PLATFORM: ST STM32 (18.0.0) > ST Nucleo F446ZE
HARDWARE: STM32F446ZET6 180MHz, 128KB RAM, 512KB Flash
DEBUG: Current (stlink) On-board (stlink) External (blackmagic, cmsis-dap, jlink)
PACKAGES: 
 - framework-arduinoststm32 @ 4.20900.0 (2.9.0) 
 - framework-cmsis @ 2.50900.0 (5.9.0) 
 - toolchain-gccarmnoneeabi @ 1.120301.0 (12.3.1)
Converting main.ino
Warning! Cannot find linker script for the current target!

LDF: Library Dependency Finder -> https://bit.ly/configure-pio-ldf
LDF Modes: Finder ~ chain, Compatibility ~ soft
Found 14 compatible libraries
Scanning dependencies...
No dependencies
Building in release mode
Compiling .pio/build/nucleo_f446ze/SrcWrapper/src/HAL/stm32yyxx_hal.c.o
Compiling .pio/build/nucleo_f446ze/SrcWrapper/src/HAL/stm32yyxx_hal_adc.c.o
<command-line>: fatal error: variant_NUCLEO_F446ZE.h: No such file or directory

*******************************************************************************
* Looking for variant_NUCLEO_F446ZE.h dependency? Check our library registry!
*
* CLI  > platformio lib search "header:variant_NUCLEO_F446ZE.h"
* Web  > https://registry.platformio.org/search?q=header:variant_NUCLEO_F446ZE.h
*
*******************************************************************************

compilation terminated.
Compiling .pio/build/nucleo_f446ze/SrcWrapper/src/HAL/stm32yyxx_hal_adc_ex.c.o
Compiling .pio/build/nucleo_f446ze/SrcWrapper/src/HAL/stm32yyxx_hal_can.c.o
*** [.pio/build/nucleo_f446ze/SrcWrapper/src/HAL/stm32yyxx_hal.c.o] Error 1
<command-line>: fatal error: variant_NUCLEO_F446ZE.h: No such file or directory

*******************************************************************************
* Looking for variant_NUCLEO_F446ZE.h dependency? Check our library registry!
*
* CLI  > platformio lib search "header:variant_NUCLEO_F446ZE.h"
* Web  > https://registry.platformio.org/search?q=header:variant_NUCLEO_F446ZE.h
*
*******************************************************************************

compilation terminated.
*** [.pio/build/nucleo_f446ze/SrcWrapper/src/HAL/stm32yyxx_hal_adc.c.o] Error 1
<command-line>: fatal error: variant_NUCLEO_F446ZE.h: No such file or directory

*******************************************************************************
* Looking for variant_NUCLEO_F446ZE.h dependency? Check our library registry!
*
* CLI  > platformio lib search "header:variant_NUCLEO_F446ZE.h"
* Web  > https://registry.platformio.org/search?q=header:variant_NUCLEO_F446ZE.h
*
*******************************************************************************

compilation terminated.
*** [.pio/build/nucleo_f446ze/SrcWrapper/src/HAL/stm32yyxx_hal_adc_ex.c.o] Error 1
<command-line>: fatal error: variant_NUCLEO_F446ZE.h: No such file or directory

*******************************************************************************
* Looking for variant_NUCLEO_F446ZE.h dependency? Check our library registry!
*
* CLI  > platformio lib search "header:variant_NUCLEO_F446ZE.h"
* Web  > https://registry.platformio.org/search?q=header:variant_NUCLEO_F446ZE.h
*
*******************************************************************************

compilation terminated.
*** [.pio/build/nucleo_f446ze/SrcWrapper/src/HAL/stm32yyxx_hal_can.c.o] Error 1
===================================================================================================================== [FAILED] Took 0.77 seconds =====================================================================================================================

@valeros valeros closed this as completed in 87667d4 Dec 9, 2024
@valeros
Copy link
Member

valeros commented Dec 9, 2024

Thanks for reporting, should be fixed in the dev branch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants