makerbase-mks / MKS-Robin-Nano-V3.X

Robin nano V3 is an upgraded version of Robin Nano V2.0. The upgrade changes are quite large, including upgrading the MCU to the M4 core, and adding support for USB disk.
GNU General Public License v3.0
138 stars 67 forks source link

Cannot create generic_device.c.o: #78

Open Tibu11 opened 2 years ago

Tibu11 commented 2 years ago

Hello I'm a total noob can anyone tell me how to fix this?

Executing task: C:\Users\Kakkarot.platformio\penv\Scripts\platformio.exe run <

Processing mks_robin_nano_v3_usb_flash_drive (platform: ststm32@~12.1; board: marlin_STM32F407VGT6_CCM; framework: arduino) ------------------------------------------------------------------------------------------------------------------Verbose mode can be enabled via -v, --verbose option Copying MKS Assets CONFIGURATION: https://docs.platformio.org/page/boards/ststm32/marlin_STM32F407VGT6_CCM.html PLATFORM: ST STM32 (12.1.1) > STM32F407VG (128k RAM, 64k CCM RAM, 1024k Flash HARDWARE: STM32F407VGT6 168MHz, 128KB RAM, 1MB Flash DEBUG: Current (jlink) External (jlink, stlink) PACKAGES:

Assembler messages: Fatal error: can't create .pio\build\mks_robin_nano_v3_usb_flash_drive\FrameworkArduino\stm32\OpenAMP\libmetal\generic\generic_device.c.o: No such file or directory Compiling .pio\build\mks_robin_nano_v3_usb_flash_drive\FrameworkArduino\stm32\OpenAMP\libmetal\generic\generic_io.c.o *** [.pio\build\mks_robin_nano_v3_usb_flash_drive\FrameworkArduino\stm32\OpenAMP\libmetal\generic\generic_device.c.o] Error 1 ========================================== [FAILED] Took 17.24 seconds ==========================================

Environment Status Duration


mks_robin_nano_v3_usb_flash_drive FAILED 00:00:17.242 ===================================== 1 failed, 0 succeeded in 00:00:17.242 ===================================== The terminal process "C:\Users\Kakkarot.platformio\penv\Scripts\platformio.exe 'run'" terminated with exit code: 1.

Terminal will be reused by tasks, press any key to close it.

mks-viva commented 2 years ago

Provide your source code to me.

Tibu11 commented 2 years ago

It's makerbase's source code, this is the error I get when I try compiling before making any changes. https://github.com/makerbase-mks/MKS-Robin-Nano-V3.X

mks-viva commented 2 years ago

You can use this link firmware: https://github.com/makerbase-mks/Mks-Robin-Nano-Marlin2.0-Firmware. The firmware under the path of MKS Robin Nano V3.X is 10 months ago. Maybe the Vscode compilation environment has changed, causing compilation errors.