Closed Moorviper closed 6 years ago
Did you copy the example Configuration files for the mks sbase before compiling?
Comment out your selected bed leveling option #define AUTO_BED_LEVELING...
and see if it compiles now.
Am just at the same step ;)
had none uncommented :-(
hm...
Hopefully thinkyhead or Roxy can chime in.
Got it compiled. Just finding the lil bugger firmware.bin ist a spot of trouble ;)
OK i checked it out clean again: uncommented the second port, and set the first to -1
And now it compiles
@Moorviper ,I tried your modification, but have another error: `In file included from Marlin\src\module../inc/MarlinConfig.h:41:0, from Marlin\src\module\configuration_store.h:26, from Marlin\src\module\configuration_store.cpp:47: Marlin\src\module\configuration_store.cpp: In static member function 'static void MarlinSettings::report(bool)': Marlin\src\module\configuration_store.cpp:1866:69: error: 'port' was not declared in this scope
^ Marlin\src\module../inc/../core/serial.h:107:64: note: in definition of macro 'SERIAL_ECHO_START_P'
^
Marlin\src\module\configuration_store.cpp:1881:5: note: in expansion of macro 'CONFIG_ECHO_START'
CONFIG_ECHO_START;
^~~~~
Marlin\src\module\configuration_store.cpp:1892:26: error: 'port' was not declared in this scope
SERIAL_ECHOLNPGM_P(port, " G21 ; Units in mm");
^
Marlin\src\module../inc/../core/serial.h:103:69: note: in definition of macro 'SERIAL_PROTOCOLLNPGM_P'
^
Marlin\src\module\configuration_store.cpp:1892:7: note: in expansion of macro 'SERIAL_ECHOLNPGM_P'
SERIAL_ECHOLNPGM_P(port, " G21 ; Units in mm");
^~~~~~
*** [.pioenvs\LPC1768\src\src\module\configuration_store.o] Error 1`
It seems error of port, have you sufferred it?
ateyou using anything other than -1?
@tofifee I have checked that it occurs after the commit of #8148. The previous version works well.
checked out today and it still works...
git clone https://github.com/MarlinFirmware/Marlin.git 2_0Marlin
cd 2_0Marlin/
git checkout bugfix-2.0.x
cd Marlin/
rm Configuration*
wget http://hessen.meshviewer.net/SBASE/Configuration.h
wget http://hessen.meshviewer.net/SBASE/Configuration_adv.h
cd ..
sudo platformio run -e LPC1768
====================================================================================================== [SUCCESS] Took 25.10 seconds ======================================================================================================
================================================================================================================ [SUMMARY] ================================================================================================================
Environment megaatmega2560 [SKIP]
Environment megaatmega1280 [SKIP]
Environment melzi [SKIP]
Environment melzi_optiboot [SKIP]
Environment DUE [SKIP]
Environment LPC1768 [SUCCESS]
Environment LPC1768_debug_and_upload [SKIP]
Environment rambo [SKIP]
Environment sanguino_atmega644p [SKIP]
Environment STM32F1 [SKIP]
Environment teensy20 [SKIP]
Environment teensy35 [SKIP]
====================================================================================================== [SUCCESS] Took 25.10 seconds ======================================================================================================
@Moorviper I check again, it works! Maybe I have mixed the old version and the new one. Thanks. And now I update the "firmware.bin" through the tf card. However, the pc cannot recognize the usb port to use serial communication(When I use smoothie, it can.), but it can recognize it as Udisk. I wonder what's wrong with it?
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Hi i checked out the [2.0.x] branch installed platform.io and VS Code...
Compile Error