Skip to content
This repository was archived by the owner on Oct 15, 2024. It is now read-only.

Trying to build the Arduino bootloader and samples but it fails #8

Closed
hossamfattah opened this issue Jan 7, 2021 · 0 comments
Closed
Assignees
Labels
ArduinoCore-imxrt Label for ArduinoCore-imxrt UAY Unassigned yet

Comments

@hossamfattah
Copy link

Hello guys,
I am trying to build this project and followed the instructions posted in the README file but I receive the errors below. Can you please let me know what I am missing? and what I need to fix these errors below?

C:\NB-IoT_Projects\PCBandGitHub\GitHubRepository\ArduinoCore-imxrt\build>cmake .. -DPROJ=Blink -DTOOLCHAIN="C:/Program Files (x86)/GNU Arm Embedded Toolchain/10 2020-q4-major/bin" -DBOARD=arch_mix -DCPU=MIMXRT1062DVL6B
-- Building for: NMake Makefiles
-- Check for cross compile toolchain ...
-- Using C:/Program Files (x86)/GNU Arm Embedded Toolchain/10 2020-q4-major/bin toolchain
-- The C compiler identification is GNU 10.2.1
-- The CXX compiler identification is GNU 10.2.1
-- The ASM compiler identification is GNU
-- Found assembler: C:/Program Files (x86)/GNU Arm Embedded Toolchain/10 2020-q4-major/bin/arm-none-eabi-gcc.exe
-- Detecting C compiler ABI info
CMake Error: Generator: execution of make failed. Make command was: nmake /nologo cmTC_3269f\fast &&
-- Detecting C compiler ABI info - failed
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
CMake Error: Generator: execution of make failed. Make command was: nmake /nologo cmTC_3f14c\fast &&
-- Detecting CXX compiler ABI info - failed
-- Detecting CXX compile features
-- Detecting CXX compile features - done
MIMXRT1062DVL6B
MIMXRT1062

Project: Blink
TOOLCHAIN=C:/Program Files (x86)/GNU Arm Embedded Toolchain/10 2020-q4-major/bin

CMAKE_BUILD_TYPE=Debug
CMAKE_C_COMPILER=C:/Program Files (x86)/GNU Arm Embedded Toolchain/10 2020-q4-major/bin/arm-none-eabi-gcc.exe
CMAKE_CXX_COMPILER=C:/Program Files (x86)/GNU Arm Embedded Toolchain/10 2020-q4-major/bin/arm-none-eabi-g++.exe
CMAKE_LINKER=C:/Program Files (x86)/GNU Arm Embedded Toolchain/10 2020-q4-major/bin/arm-none-eabi-ld.exe
CMAKE_OBJCOPY=C:/Program Files (x86)/GNU Arm Embedded Toolchain/10 2020-q4-major/bin/arm-none-eabi-objcopy.exe
CMAKE_OBJDUMP=C:/Program Files (x86)/GNU Arm Embedded Toolchain/10 2020-q4-major/bin/arm-none-eabi-objdump.exe
CMAKE_MAKE_PROGRAM=nmake

CMAKE_C_FLAGS= -g -Os -Wall -w -ffunction-sections -fdata-sections -fno-common -ffreestanding -fno-builtin -nostdlib --param max-inline-insns-single=500 -MMD -MP -DNDEBUG -DCPU_MIMXRT1062DVL6B -DXIP_EXTERNAL_FLASH=1 -DXIP_BOOT_HEADER_ENABLE=1 -DUSB_STACK_BM -DARDUINO_MAIN=1 -mthumb -mapcs -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -std=gnu99
CMAKE_CXX_FLAGS= -g -Os -Wall -w -ffunction-sections -fdata-sections -fno-common -ffreestanding -fno-builtin -nostdlib --param max-inline-insns-single=500 -MMD -MP -DNDEBUG -DCPU_MIMXRT1062DVL6B -DXIP_EXTERNAL_FLASH=1 -DXIP_BOOT_HEADER_ENABLE=1 -DUSB_STACK_BM -DARDUINO_MAIN=1 -mthumb -mapcs -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -std=gnu++11 -fno-rtti -fno-exceptions -fno-threadsafe-statics
LDFLAGS= -DXIP_EXTERNAL_FLASH=1 -DXIP_BOOT_HEADER_ENABLE=1 -DNDEBUG -DCPU_MIMXRT1062DVL6B -Os -Wall -fno-common -ffunction-sections -fdata-sections -ffreestanding -fno-builtin -mthumb -mapcs -std=gnu99 -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -MMD -MP --specs=nano.specs --specs=nosys.specs -Wall -fno-common -ffunction-sections -fdata-sections -ffreestanding -fno-builtin -mthumb -mapcs -Xlinker --gc-sections -Xlinker -static -Xlinker -z -Xlinker muldefs -Xlinker -Map=output.map -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -T C:/NB-IoT_Projects/PCBandGitHub/GitHubRepository/ArduinoCore-imxrt/variants/arch_mix/flexspi_nor_arduino.ld -static
CMAKE_BINARY_DIR=C:/NB-IoT_Projects/PCBandGitHub/GitHubRepository/ArduinoCore-imxrt/build
Makefile created.

-- Configuring incomplete, errors occurred!
See also "C:/NB-IoT_Projects/PCBandGitHub/GitHubRepository/ArduinoCore-imxrt/build/CMakeFiles/CMakeOutput.log".
See also "C:/NB-IoT_Projects/PCBandGitHub/GitHubRepository/ArduinoCore-imxrt/build/CMakeFiles/CMakeError.log".

C:\NB-IoT_Projects\PCBandGitHub\GitHubRepository\ArduinoCore-imxrt\build>

@MatthewJeffson MatthewJeffson added UAY Unassigned yet ArduinoCore-imxrt Label for ArduinoCore-imxrt labels Oct 9, 2024
@Lesords Lesords self-assigned this Oct 14, 2024
@baorepo baorepo closed this as completed Oct 15, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
ArduinoCore-imxrt Label for ArduinoCore-imxrt UAY Unassigned yet
Projects
Status: Done
Development

No branches or pull requests

4 participants