PlatformIO Build error

Okay what did I do? :crazy_face: I killed the config on my Rambo 1.4 and now when I try to do a build in PlatformIO.

I get this?

Verbose mode can be enabled via -v, --verbose option
CONFIGURATION: Redirecting...
PLATFORM: Atmel AVR 2.2.0 > RepRap RAMBo
HARDWARE: ATMEGA2560 16MHz, 8KB RAM, 252KB Flash
DEBUG: Current (simavr) On-board (simavr)
PACKAGES:

  • framework-arduino-avr 5.0.0
  • toolchain-atmelavr 1.50400.190710 (5.4.0)
    LDF: Library Dependency Finder → http://bit.ly/configure-pio-ldf
    LDF Modes: Finder ~ chain, Compatibility ~ soft
    Found 15 compatible libraries
    Scanning dependencies…
    Dependency Graph
    |-- 1.5.0
    |-- 0.7.1
    |-- 1.1.0
    |-- 1.5.0
    |-- 0.4.1
    |-- 0.8.0
    |-- 1.0.0
    |-- 1.2.7
    |–
    |–
    Error: Nothing to build. Please put your source code files to ā€˜C:\Router\Marlin-1CNC_Rambo_Dual_2\Marlin-1CNC_Rambo_Dual\Marlin\Marlin’ folder
    ======================================================== [FAILED] Took 1.42 seconds ========================================================

Environment Status Duration

mega2560 IGNORED
mega1280 IGNORED
MightyBoard1280 IGNORED
MightyBoard2560 IGNORED
rambo FAILED 00:00:01.423
FYSETC_F6_13 IGNORED
FYSETC_F6_14 IGNORED
sanguino644p IGNORED
sanguino1284p IGNORED
melzi IGNORED
melzi_optiboot IGNORED
melzi_optimized IGNORED
at90usb1286_cdc IGNORED
at90usb1286_dfu IGNORED
DUE IGNORED
DUE_USB IGNORED
DUE_debug IGNORED
DUE_archim IGNORED
DUE_archim_debug IGNORED
SAMD51_grandcentral_m4 IGNORED
LPC1768 IGNORED
LPC1769 IGNORED
STM32F103RC IGNORED
STM32F103RC_meeb IGNORED
STM32F103RC_fysetc IGNORED
STM32F103RC_btt IGNORED
STM32F103RC_btt_USB IGNORED
STM32F103RC_btt_512K IGNORED
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_e3 IGNORED
mks_robin_lite IGNORED
mks_robin_lite3 IGNORED
jgaurora_a5s_a1 IGNORED
STM32F103CB_malyan IGNORED
mks_robin_nano35 IGNORED
STM32F070RB_malyan IGNORED
malyan_M300 IGNORED
chitu_f103 IGNORED
chitu_v5_gpio_init IGNORED
STM32F103RET6_creality IGNORED
STM32F401VE_STEVAL IGNORED
FLYF407ZG IGNORED
FYSETC_S6 IGNORED
STM32F407VE_black IGNORED
BIGTREE_SKR_PRO IGNORED
BIGTREE_GTR_V1_0 IGNORED
BIGTREE_BTT002 IGNORED
rumba32 IGNORED
esp32 IGNORED
teensy31 IGNORED
teensy35 IGNORED
linux_native IGNORED
include_tree IGNORED
=================================================== 1 failed, 0 succeeded in 00:00:01.423 ===================================================
The terminal process ā€œC:\Users\fdiro.platformio\penv\Scripts\platformio.exe ā€˜runā€™ā€ terminated with exit code: 1.

Any thought I was getting close then I Killed It :face_with_symbols_over_mouth:!

I think you may have moved your Marlin folder on your computer from where you told VS it was. Right click on a vacant part of the UNTITLED (WORKSPACE) area and select add folder to workspace, then navigate to where you moved your Marlin folder to and delete the old (non-working) location from the workspace.

1 Like

Thanks for the input. I took me a few but I was able to get a new build!

Got any ideas why end stops on Z report opposite of what they are. IE: report as triggered when open on both Z’s.

1 Like

You either wired the endstops backward, or they need to be inverted in the firmware.

I checked the wiring, I guess I’ll need to search for it in the configs? Any idea where to look?

Thanks Jeff you are a giant help on this forum :+1: :+1:

Look in the configuration.h file. In the endstop section. There are some fields with the word ā€œINVERTā€.

I re-checked the wiring and I found them wired backwards :rofl:

But now the system won’t start. I checked the fuses and should they look burnt if they go bad?
Getting no power :crazy_face:.

What should I check next?

Is it possible power supply died? New from V1 in April. Check that! I tested supply out put 12.8v.

Update, I checked the fuses continuity and they test as good, look just like my spares. Didn’t replace them, they are sooo small and i’m old and don’t see so good up close. :joy:

Unplug the endstops and try again. Be careful not to wire the plus to the minus. It should boot fine without endstops attached.

Jeff, Sending you a virtual drink :beer:, You saved my bacon once more! Got it back. Still issue with end stops but will send update once I do more debugging.

1 Like