Open Source Firmware of ET4
- mohamaddiicky
- Posts: 1
- Joined: 2020-10-16 2:12
what's different marlin buxfix 2.0 and 2.1, please tell me now? and than marlin 2.1 format not yet bin? like a buxfix 2.0?
- syntaxerror
- Posts: 1
- Joined: 2020-09-18 22:43
Anyone have any luck compiling from source? Ive tried both Visual studio and the Arduino IDE with no luck starting to think its cause im on window 10...
bought a V6 hot end and it doesn't seem to be compatible with the compiled BIN for the ET4x....
bought a V6 hot end and it doesn't seem to be compatible with the compiled BIN for the ET4x....
- umtauscher
- Posts: 3
- Joined: 2020-10-29 4:08
Hi riverskin,
I am just trying to get a compile working with the ET4+
I can compile the original repo just fine. Unfortunately it doesn't fit my printer as the ET4+ has a bed leveling sensor and the home position is down and not up.
Then I realized, that the suplied example configs from others are made for a different version (CONFIGURATION_H_VERSION 020006) instead of the actual 20008 and do not compile properly.
So I tried to merge the settings from the ET4+ example to the ET4 configuration that was compilable.
Sadly I get dozens of warnings:
and I don't know how to fix it or what went wrong.
I am just trying to get a compile working with the ET4+
I can compile the original repo just fine. Unfortunately it doesn't fit my printer as the ET4+ has a bed leveling sensor and the home position is down and not up.
Then I realized, that the suplied example configs from others are made for a different version (CONFIGURATION_H_VERSION 020006) instead of the actual 20008 and do not compile properly.
So I tried to merge the settings from the ET4+ example to the ET4 configuration that was compilable.
Sadly I get dozens of warnings:
Code: Select all
In file included from Marlin/src/HAL/STM32/../../inc/../pins/pins.h:791,
from Marlin/src/HAL/STM32/../../inc/MarlinConfig.h:34,
from Marlin/src/HAL/STM32/Servo.cpp:25:
Marlin/src/HAL/STM32/../../inc/../pins/pins_postprocess.h:425: warning: "Z_MIN_PIN" redefined
425 | #define Z_MIN_PIN Z_STOP_PIN
|
In file included from Marlin/src/HAL/STM32/../../inc/../pins/pins.h:639,
from Marlin/src/HAL/STM32/../../inc/MarlinConfig.h:34,
from Marlin/src/HAL/STM32/Servo.cpp:25:
Marlin/src/HAL/STM32/../../inc/../pins/stm32f4/pins_ET4.h:39: note: this is the location of the previous definition
39 | #define Z_MIN_PIN PC3
|
In file included from Marlin/src/HAL/STM32/../../inc/../pins/pins.h:791,
from Marlin/src/HAL/STM32/../../inc/MarlinConfig.h:34,
from Marlin/src/HAL/STM32/eeprom_flash.cpp:25:
Marlin/src/HAL/STM32/../../inc/../pins/pins_postprocess.h:425: warning: "Z_MIN_PIN" redefined
425 | #define Z_MIN_PIN Z_STOP_PIN
|
In file included from Marlin/src/HAL/STM32/../../inc/../pins/pins.h:639,
from Marlin/src/HAL/STM32/../../inc/MarlinConfig.h:34,
from Marlin/src/HAL/STM32/eeprom_flash.cpp:25:
Marlin/src/HAL/STM32/../../inc/../pins/stm32f4/pins_ET4.h:39: note: this is the location of the previous definition
39 | #define Z_MIN_PIN PC3
|
In file included from Marlin/src/HAL/STM32/../../inc/../pins/pins.h:791,
from Marlin/src/HAL/STM32/../../inc/MarlinConfig.h:34,
from Marlin/src/HAL/STM32/eeprom_sdcard.cpp:29:
Marlin/src/HAL/STM32/../../inc/../pins/pins_postprocess.h:425: warning: "Z_MIN_PIN" redefined
425 | #define Z_MIN_PIN Z_STOP_PIN
|
In file included from Marlin/src/HAL/STM32/../../inc/../pins/pins.h:639,
from Marlin/src/HAL/STM32/../../inc/MarlinConfig.h:34,
from Marlin/src/HAL/STM32/eeprom_sdcard.cpp:29:
Marlin/src/HAL/STM32/../../inc/../pins/stm32f4/pins_ET4.h:39: note: this is the location of the previous definition
39 | #define Z_MIN_PIN PC3
|
In file included from Marlin/src/HAL/STM32/../../inc/../pins/pins.h:791,
from Marlin/src/HAL/STM32/../../inc/MarlinConfig.h:34,
from Marlin/src/HAL/STM32/eeprom_sram.cpp:25:
Marlin/src/HAL/STM32/../../inc/../pins/pins_postprocess.h:425: warning: "Z_MIN_PIN" redefined
425 | #define Z_MIN_PIN Z_STOP_PIN
|
In file included from Marlin/src/HAL/STM32/../../inc/../pins/pins.h:639,
from Marlin/src/HAL/STM32/../../inc/MarlinConfig.h:34,
from Marlin/src/HAL/STM32/eeprom_sram.cpp:25:
Marlin/src/HAL/STM32/../../inc/../pins/stm32f4/pins_ET4.h:39: note: this is the location of the previous definition
39 | #define Z_MIN_PIN PC3
|
Compiling .pio/build/ET4/src/src/HAL/STM32/eeprom_wired.cpp.o
Compiling .pio/build/ET4/src/src/HAL/STM32/fastio.cpp.o
Compiling .pio/build/ET4/src/src/HAL/STM32/tft/tft_fsmc.cpp.o
Compiling .pio/build/ET4/src/src/HAL/STM32/tft/tft_spi.cpp.o
In file included from Marlin/src/HAL/STM32/../../inc/../pins/pins.h:791,
from Marlin/src/HAL/STM32/../../inc/MarlinConfig.h:34,
from Marlin/src/HAL/STM32/eeprom_wired.cpp:25:
Marlin/src/HAL/STM32/../../inc/../pins/pins_postprocess.h:425: warning: "Z_MIN_PIN" redefined
425 | #define Z_MIN_PIN Z_STOP_PIN
|
In file included from Marlin/src/HAL/STM32/../../inc/../pins/pins.h:639,
from Marlin/src/HAL/STM32/../../inc/MarlinConfig.h:34,
from Marlin/src/HAL/STM32/eeprom_wired.cpp:25:
Marlin/src/HAL/STM32/../../inc/../pins/stm32f4/pins_ET4.h:39: note: this is the location of the previous definition
39 | #define Z_MIN_PIN PC3
|
In file included from Marlin/src/HAL/STM32/../../inc/../pins/pins.h:791,
from Marlin/src/HAL/STM32/../../inc/MarlinConfig.h:34,
from Marlin/src/HAL/STM32/fastio.cpp:25:
Marlin/src/HAL/STM32/../../inc/../pins/pins_postprocess.h:425: warning: "Z_MIN_PIN" redefined
425 | #define Z_MIN_PIN Z_STOP_PIN
|
In file included from Marlin/src/HAL/STM32/../../inc/../pins/pins.h:639,
from Marlin/src/HAL/STM32/../../inc/MarlinConfig.h:34,
from Marlin/src/HAL/STM32/fastio.cpp:25:
Marlin/src/HAL/STM32/../../inc/../pins/stm32f4/pins_ET4.h:39: note: this is the location of the previous definition
39 | #define Z_MIN_PIN PC3
|
In file included from Marlin/src/HAL/STM32/tft/../../../inc/../pins/pins.h:791,
from Marlin/src/HAL/STM32/tft/../../../inc/MarlinConfig.h:34,
from Marlin/src/HAL/STM32/tft/tft_fsmc.cpp:23:
Marlin/src/HAL/STM32/tft/../../../inc/../pins/pins_postprocess.h:425: warning: "Z_MIN_PIN" redefined
425 | #define Z_MIN_PIN Z_STOP_PIN
|
In file included from Marlin/src/HAL/STM32/tft/../../../inc/../pins/pins.h:639,
from Marlin/src/HAL/STM32/tft/../../../inc/MarlinConfig.h:34,
from Marlin/src/HAL/STM32/tft/tft_fsmc.cpp:23:
Marlin/src/HAL/STM32/tft/../../../inc/../pins/stm32f4/pins_ET4.h:39: note: this is the location of the previous definition
39 | #define Z_MIN_PIN PC3
|
In file included from Marlin/src/HAL/STM32/tft/../../../inc/../pins/pins.h:791,
from Marlin/src/HAL/STM32/tft/../../../inc/MarlinConfig.h:34,
from Marlin/src/HAL/STM32/tft/tft_spi.cpp:23:
Marlin/src/HAL/STM32/tft/../../../inc/../pins/pins_postprocess.h:425: warning: "Z_MIN_PIN" redefined
425 | #define Z_MIN_PIN Z_STOP_PIN
|
In file included from Marlin/src/HAL/STM32/tft/../../../inc/../pins/pins.h:639,
from Marlin/src/HAL/STM32/tft/../../../inc/MarlinConfig.h:34,
from Marlin/src/HAL/STM32/tft/tft_spi.cpp:23:
Marlin/src/HAL/STM32/tft/../../../inc/../pins/stm32f4/pins_ET4.h:39: note: this is the location of the previous definition
39 | #define Z_MIN_PIN PC3
|
Last edited by umtauscher on 2020-10-30 7:03, edited 1 time in total.
- umtauscher
- Posts: 3
- Joined: 2020-10-29 4:08
Hi David,
thanks for all your work.
The hint not to use the marlin autobuild saved me. (after a complete afternoon trying to fix the compile usinfg it)
Cheers
thanks for all your work.
The hint not to use the marlin autobuild saved me. (after a complete afternoon trying to fix the compile usinfg it)
Cheers
could you please clarify this part from your tutorial:
Make sure to modify your config.h and config_adv.h according to your ET4 model (ET4, ET4 PRO, ET4+, …)
Settings as driver model (A4988/TMC2208), Z endstop position (UP/DOWN), bed size, auto bed levelling sensor, etc, need to be defined.
Provided config is for ET4/TM2208 model with attachable bed levelling sensor.
Make sure to modify your config.h and config_adv.h according to your ET4 model (ET4, ET4 PRO, ET4+, …)
Settings as driver model (A4988/TMC2208), Z endstop position (UP/DOWN), bed size, auto bed levelling sensor, etc, need to be defined.
Provided config is for ET4/TM2208 model with attachable bed levelling sensor.
You need to adjust marlin settings according to your printer model.AndreyG wrote: ↑2020-11-01 8:12 could you please clarify this part from your tutorial:
Make sure to modify your config.h and config_adv.h according to your ET4 model (ET4, ET4 PRO, ET4+, …)
Settings as driver model (A4988/TMC2208), Z endstop position (UP/DOWN), bed size, auto bed levelling sensor, etc, need to be defined.
Provided config is for ET4/TM2208 model with attachable bed levelling sensor.
Take a look to an easier method.
https://github.com/davidtgbe/Marlin/blo ... syConfig.h
Last edited by davidtgbe on 2020-11-04 0:00, edited 1 time in total.
On my case the problem was in windows, I solved the problem uninstalling the addons, platformio and python on visual studio and delete the folder "c:\user...\.platformio", and c:\user...\.vscode\extensions, reinstalling again after that.G-M-Z wrote: ↑2020-11-06 17:22 Hi Guys,
Can somone provide solution for PlatformIO compilation problems, please.
I can't get that working.
My project task list looks diffrent from this described in spanish videotutorial and tutorial in the forum. Even when I'm using ET4 Env build command I get error
What can be wrong?
![]()
Another way to solved is use Linux system, on Ubuntu i test without any issues. You can check some videos youtube videos talk about it.