bigtreetech / BIGTREETECH-SKR-mini-E3

BIGTREETECH SKR-mini-E3 motherboard is a ultra-quiet, low-power, high-quality 3D printing machine control board. It is launched by the 3D printing team of Shenzhen BIGTREE technology co., LTD. This board is specially tailored for Ender 3 printer, perfectly replacing the original Ender3 printer motherboard.
1.99k stars 1.97k forks source link

Cannot build firmware Marlin-2.0.x-SKR-mini-E3- (file not found?) #330

Open robstermn opened 4 years ago

robstermn commented 4 years ago

FileNotFoundError:

When I try to compile I get the following error?

`> Executing task: C:\Users\r_vei.platformio\penv\Scripts\platformio.exe run --environment STM32F103RC_btt_512K <

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

Processing STM32F103RC_btt_512K (platform: ststm32; board: genericSTM32F103RC; framework: arduino)

Verbose mode can be enabled via -v, --verbose option CONFIGURATION: https://docs.platformio.org/page/boards/ststm32/genericSTM32F103RC.html PLATFORM: ST STM32 6.0.0 > STM32F103RC (48k RAM. 256k Flash)
HARDWARE: STM32F103RCT6 72MHz, 48KB RAM, 512KB Flash DEBUG: Current (blackmagic) External (blackmagic, jlink, stlink) PACKAGES:

Environment Status Duration


mega2560 IGNORED mega1280 IGNORED rambo IGNORED FYSETC_F6_13 IGNORED FYSETC_F6_14 IGNORED sanguino644p IGNORED sanguino1284p IGNORED melzi IGNORED melzi_optiboot IGNORED at90usb1286_cdc IGNORED at90usb1286_dfu IGNORED DUE IGNORED DUE_USB IGNORED DUE_debug IGNORED LPC1768 IGNORED LPC1769 IGNORED STM32F103RC IGNORED STM32F103RC_fysetc IGNORED STM32F103RC_btt IGNORED STM32F103RC_btt_USB IGNORED STM32F103RC_btt_512K FAILED 00:00:03.002 STM32F103RC_btt_512K_USB IGNORED STM32F103RE IGNORED STM32F103RE_btt IGNORED STM32F103RE_btt_USB IGNORED STM32F4 IGNORED STM32F7 IGNORED ARMED IGNORED STM32F103VE_GTM32 IGNORED STM32F103VE_longer IGNORED mks_robin_mini IGNORED mks_robin_nano IGNORED mks_robin IGNORED mks_robin_pro IGNORED mks_robin_lite IGNORED mks_robin_lite3 IGNORED jgaurora_a5s_a1 IGNORED STM32F103CB_malyan IGNORED chitu_f103 IGNORED STM32F401VE_STEVAL IGNORED FLYF407ZG IGNORED FYSETC_S6 IGNORED STM32F407VE_black IGNORED BIGTREE_SKR_PRO IGNORED BIGTREE_GTR_V1_0 IGNORED BIGTREE_BTT002 IGNORED teensy31 IGNORED teensy35 IGNORED esp32 IGNORED linux_native IGNORED SAMD51_grandcentral_m4 IGNORED rumba32_f446ve IGNORED rumba32_mks IGNORED include_tree IGNORED ============================================================ 1 failed, 0 succeeded in 00:00:03.002 ==================

mclemmon commented 4 years ago

I couldn't compile the firmware either using this repository. I had to use the Marlin-bugfix-2.0.x repo and build it using that.

brew99 commented 4 years ago

Try placing the downloaded files closer to the root directory of your harddrive (or remove some of the directories). It has a hard time with such long file paths

mclemmon commented 4 years ago

Try placing the downloaded files closer to the root directory of your harddrive (or remove some of the directories). It has a hard time with such long file paths

How much closer can you get than "C:\Users\r_vei.platformio"?

brew99 commented 4 years ago

Try placing the downloaded files closer to the root directory of your harddrive (or remove some of the directories). It has a hard time with such long file paths

How much closer can you get than "C:\Users\r_vei.platformio"?

What I'm saying is shorten the folder structure of the downloaded content. You really don't need all this "BIGTREETECH-SKR-mini-E3-master (1)\BIGTREETECH-SKR-mini-E3-master\firmware\V1.2"

GhostlyCrowd commented 4 years ago

Shorten your path like suggested above and VS code will need to be run as administrator to access the %userprofile% pathing for PIO lib deps.

robstermn commented 4 years ago

I'll test that right now and report back.

robstermn commented 4 years ago

Same error?

-------------------------------------------------------------------------------------------------------------------------------------------------------------- Verbose mode can be enabled via-v, --verbose` option CONFIGURATION: https://docs.platformio.org/page/boards/ststm32/genericSTM32F103RC.html PLATFORM: ST STM32 6.0.0 > STM32F103RC (48k RAM. 256k Flash) HARDWARE: STM32F103RCT6 72MHz, 48KB RAM, 512KB Flash DEBUG: Current (blackmagic) External (blackmagic, jlink, stlink) PACKAGES:

Environment Status Duration


mega2560 IGNORED mega1280 IGNORED rambo IGNORED FYSETC_F6_13 IGNORED FYSETC_F6_14 IGNORED sanguino644p IGNORED sanguino1284p IGNORED melzi IGNORED melzi_optiboot IGNORED at90usb1286_cdc IGNORED at90usb1286_dfu IGNORED DUE IGNORED DUE_USB IGNORED DUE_debug IGNORED LPC1768 IGNORED LPC1769 IGNORED STM32F103RC IGNORED STM32F103RC_fysetc IGNORED STM32F103RC_btt IGNORED STM32F103RC_btt_USB IGNORED STM32F103RC_btt_512K FAILED 00:00:02.412 STM32F103RC_btt_512K_USB IGNORED STM32F103RE IGNORED STM32F103RE_btt IGNORED STM32F103RE_btt_USB IGNORED STM32F4 IGNORED STM32F7 IGNORED ARMED IGNORED STM32F103VE_GTM32 IGNORED STM32F103VE_longer IGNORED mks_robin_mini IGNORED mks_robin_nano IGNORED mks_robin IGNORED mks_robin_pro IGNORED mks_robin_lite IGNORED mks_robin_lite3 IGNORED jgaurora_a5s_a1 IGNORED STM32F103CB_malyan IGNORED chitu_f103 IGNORED STM32F401VE_STEVAL IGNORED FLYF407ZG IGNORED FYSETC_S6 IGNORED STM32F407VE_black IGNORED BIGTREE_SKR_PRO IGNORED BIGTREE_GTR_V1_0 IGNORED BIGTREE_BTT002 IGNORED teensy31 IGNORED teensy35 IGNORED esp32 IGNORED linux_native IGNORED SAMD51_grandcentral_m4 IGNORED rumba32_f446ve IGNORED rumba32_mks IGNORED include_tree IGNORED ===========`

GhostlyCrowd commented 4 years ago

FileNotFoundError: [Errno 2] No such file or directory: 'C:\Users\r_vei\Desktop\bigtree\BIGTREETECH-SKR-mini-E3-master\BIGTREETECH-SKR-mini-E3-master\firmware\V2.0\Marlin-2.0.x-SKR-mini-E3-V2.0.pio\libdeps\STM32F103RC_btt_512K_tmp_installing-8_ql4euf-package.\docs\class_t_m_c2130_stepper_adde2041047c82600f5e01f52118f92a0_cgraph_org.svg

That path is WAY too long for windows. you need to move the source to a shorter path, put all the course in a folde on the root of c:\

Put the "Marlin-2.0.x-SKR-mini-E3-V2.0" folder on the c drive and then try again.

robstermn commented 4 years ago

The previous post was in that same directory? And it worked? So it's not the path?

And I tried the C:\ path with the same result?

GhostlyCrowd commented 4 years ago

The previous post was in that same directory? And it worked? So it's not the path?

I cant see the previous post, the link is private.

But regardless it probably worked because it wasn't exceeding the character limit of with paths. Because I'm sure the older firmware used different libdeps

C:\Users\r_vei\Desktop\bigtree\BIGTREETECH-SKR-mini-E3-master\BIGTREETECH-SKR-mini-E3-master\firmware\V2.0\Marlin-2.0.x-SKR-mini-E3-V2.0\.pio\libdeps\STM32F103RC_btt_512K\_tmp_installing-8_ql4euf-package\.\docs\class_t_m_c2130_stepper_adde2041047c82600f5e01f52118f92a0_cgraph_org.svg

is 283 character and the HARD limit for path characters is 260 in windows.

Move it to C:\ and take it out of its cascading folder tree and try.

If it errors again post the error so we can see what else its complaining about.

robstermn commented 4 years ago

Okay different error?

`Processing STM32F103RC_btt_512K (platform: ststm32; board: genericSTM32F103RC; framework: arduino)

Verbose mode can be enabled via -v, --verbose option CONFIGURATION: https://docs.platformio.org/page/boards/ststm32/genericSTM32F103RC.html PLATFORM: ST STM32 6.0.0 > STM32F103RC (48k RAM. 256k Flash)
HARDWARE: STM32F103RCT6 72MHz, 48KB RAM, 512KB Flash DEBUG: Current (blackmagic) External (blackmagic, jlink, stlink) PACKAGES:

Environment Status Duration


mega2560 IGNORED mega1280 IGNORED rambo IGNORED FYSETC_F6_13 IGNORED FYSETC_F6_14 IGNORED sanguino644p IGNORED sanguino1284p IGNORED melzi IGNORED melzi_optiboot IGNORED at90usb1286_cdc IGNORED at90usb1286_dfu IGNORED DUE IGNORED DUE_USB IGNORED DUE_debug IGNORED LPC1768 IGNORED LPC1769 IGNORED STM32F103RC IGNORED STM32F103RC_fysetc IGNORED STM32F103RC_btt IGNORED STM32F103RC_btt_USB IGNORED STM32F103RC_btt_512K FAILED 00:03:00.085 STM32F103RC_btt_512K_USB IGNORED STM32F103RE IGNORED STM32F103RE_btt IGNORED STM32F103RE_btt_USB IGNORED STM32F4 IGNORED STM32F7 IGNORED ARMED IGNORED STM32F103VE_GTM32 IGNORED STM32F103VE_longer IGNORED mks_robin_mini IGNORED mks_robin_nano IGNORED mks_robin IGNORED mks_robin_pro IGNORED mks_robin_lite IGNORED mks_robin_lite3 IGNORED jgaurora_a5s_a1 IGNORED STM32F103CB_malyan IGNORED chitu_f103 IGNORED STM32F401VE_STEVAL IGNORED FLYF407ZG IGNORED FYSETC_S6 IGNORED STM32F407VE_black IGNORED BIGTREE_SKR_PRO IGNORED BIGTREE_GTR_V1_0 IGNORED BIGTREE_BTT002 IGNORED teensy31 IGNORED teensy35 IGNORED esp32 IGNORED linux_native IGNORED SAMD51_grandcentral_m4 IGNORED rumba32_f446ve IGNORED rumba32_mks IGNORED include_tree IGNORED ============================================================ 1 failed, 0 succeeded in 00:03:00.085 ============================================================ The terminal process "C:\Users\r_vei.platformio\penv\Scripts\platformio.exe 'run'" terminated with exit code: 1.

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

GhostlyCrowd commented 4 years ago

That looks liek its compiling now and is failing on adafruit I2C. if youre using an i2c eeprom you might want to consider compiling the latest marlin bugfix source as this will probably be resolved in it.

brew99 commented 4 years ago

Or see this post: https://github.com/bigtreetech/BIGTREETECH-SKR-mini-E3/issues/258

but I also recommend just using the bugfix2.0.x as it is very stable for E3

abacabie commented 4 years ago

As has been said just use the bugfix, it compiles fine and seems issue free.