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.
2.03k stars 1.98k forks source link

Cannot build firmware Marlin-2.0.x-SKR-mini-E3-V2.0 #327

Open mclemmon opened 4 years ago

mclemmon commented 4 years ago

cannot open source file "stdint.h" cannot open source file "stdlib.h"

When trying to build in PIO

sam01508 commented 4 years ago

Hi mclemmon, The boards.h section needs updating also as the board does not yet appear did you find this also? It also fails on "USE_CONTROLLER_FAN requires a CONTROLLER_FAN_PIN. Define in Configuration_adv.h. " #error "HEATER_0_PIN not defined for this board."

error "E0_STEP_PIN, E0_DIR_PIN, or E0_ENABLE_PIN not defined for this board."

error "TMC2208 or TMC2209 on X requires X_HARDWARE_SERIAL or XSERIAL(RX|TX)_PIN."

Even Bigtreetech prebuilt firmware fails for me anyway how did this go for you. I've tried getting in touch about VS code but no replies yet or from big tree tech.

abacabie commented 4 years ago

I would use of the bugfix version of Marlin that compiles for the V2, that should not give you any trouble.

sam01508 commented 4 years ago

abacabie, thanks for the tip, it does compile with a couple of yellow warning but it is successful. Are the messages written in yellow much to worry about? Strange though I've never had a bugfix version compile successfully before.

The yellow warnings have now gone once I'd changed it for my needs and re-compiled

abacabie commented 4 years ago

Glad it worked for you, i never really look at the yellow warning lines, still very much a beginner.

mclemmon commented 4 years ago

I would use of the bugfix version of Marlin that compiles for the V2, that should not give you any trouble.

This is what I ended up doing. When I tried compiling a stock Marlin-2.0.x firmware, I got some of the same errors, as soon as I tried Marlin-bugfix-2.0.x I was able to get it to compile.