#Would someone be willing to help me compile some firmware for a CR10S?

1 messages · Page 1 of 1 (latest)

stoic kernelBOT
#
AI Help

I understand that you're experiencing difficulties with configuring your SKR Mini3 v2 (RCT6) board and the additional components you mentioned. Here are a few steps you can take to troubleshoot the issue:

  1. Verify connections: Double-check all the connections between the board, LCD, CR-Touch, and Micro Swiss NG hot end. Ensure that the cables are properly seated and connected to the correct pins.

  2. Check firmware compatibility: Make sure that the firmware you're using supports all the addons and features you want. Verify that the firmware version matches your specific board and components. You may need to download and flash a compatible firmware to ensure proper functionality.

  3. Error analysis: When encountering errors, make note of the specific error messages or behaviors. Search for these online or consult the documentation to understand the cause. This will help narrow down the troubleshooting steps.

  4. Configuring firmware: Review the configuration files for your chosen f...

manic flame
hollow sierra
#

can you post the errors you are getting?

manic flame
# hollow sierra can you post the errors you are getting?

\marlin-2.1.2.1\marlin\src\pins\stm32f1/pins_BTT_SKR_MINI_E3_common.h:153:6: error: #error "CAUTION! Ender-3 V2 display requires a custom cable. See 'pins_BTT_SKR_MINI_E3_common.h' for details. (Define NO_CONTROLLER_CUSTOM_WIRING_WARNING to suppress this warning.)"
153 | #error "CAUTION! Ender-3 V2 display requires a custom cable. See 'pins_BTT_SKR_MINI_E3_common.h' for details. (Define NO_CONTROLLER_CUSTOM_WIRING_WARNING to suppress this warning.)"

#

Error: Failed to parse Marlin features. See previous error messages.

#

I guess i do not know how to define them?

hollow sierra
#

have you tried uncommenting NO_CONTROLLER_CUSTOM_WIRING_WARNING?

manic flame
#

im checking rn

manic flame
#

Would this be the location?

hollow sierra
#

That's where it throws the error, but it should be defined at
\marlin-2.1.2.1\marlin\src\pins\stm32f1/pins_BTT_SKR_MINI_E3_common.h

#

try to ctrl f it there

manic flame
#

ok just a min.

#

This would be it right?

#

this is why I am bad at this... @hollow sierra

wide galleon
# manic flame

im no marlin wizard, but look for a line like //#define NO_CONTROLLER_CUSTOM_WIRING_WARNING and take out the //

manic flame
#

\marlin-2.1.2.1\marlin\src\pins\stm32f1/pins_BTT_SKR_MINI_E3_common.h:343:2: error: #endif without #if
343 | #endif // HAS_WIRED_LCD
| ^~~~~
Error: Failed to parse Marlin features. See previous error messages.

wide galleon
manic flame
wide galleon
manic flame
#

For example can I delete from #elif is_tftlcd_panel and down?

wide galleon
#

if it cant go inside then yeah, i have no clue how marlin config is setup but if it doesnt enter the if statement then it doent matter

#

in this case if there is a line like #define IS_TFTGLCD_PANNEL it would enter

manic flame
#

But I dont use that panel right? so is this using all of these panels?

hollow sierra
#

Did you ever find the define line in the skr mini header file?

manic flame
#

I thought I posted it

#

but I clueless at this point

manic flame
#

@hollow sierra

hollow sierra
#

Ending in .h

manic flame
#

this is where I am

hollow sierra
manic flame
hollow sierra
#

Yep

#

Do you see a line that says the NO_CONTROLLER thing?

manic flame
#

So this used to say #endif then I changed it to #define

#

Then the error below in that photo is the next error I got

hollow sierra
#

You can't change an if statement to a define

#

That's why it threw an error

manic flame
#

Ok

hollow sierra
#

I wish I knew more, try searching up ender 3 V2 screen marlin

manic flame
#

So should it be #endif #define

hollow sierra
#

No define statements are outside of the corresponding if statements

manic flame
#

Man I’ve done so many hours and hours of research lol and finally got here

manic flame
#

Thanks for the help man

hollow sierra
#

Wish I could solve it for yah 😦

manic flame
#

Me too 😉

#

Been a serious struggle

#

I even made its own lcd cable and everything

hollow sierra
#

I'll try to edit the firmware and compile it on my end

manic flame
#

would be rad!

hollow sierra
#

@manic flame is your crtouch connected to the z endstop or just the crtouch connector on the motherboard?

manic flame
#

motherboard

#

but I believe endstop is connected

#

but I can unplug if needed

hollow sierra
#

so you have the crtouch connnected to the 5 pin plug on the motherboard?

manic flame
#

correct

hollow sierra
#

👍

#

what's your nozzle to probe offset with the microswiss?

#

and do you have a runout sensor? @manic flame

manic flame
#

not hooked up

hollow sierra
#

do you want it

#

and do you want any custom preheat settings?

manic flame
#

215 h/e

#

65 bed

hollow sierra
#

k

manic flame
#

the bed size is for CR10s

#

but I think I can change that stuff later (i think)

hollow sierra
manic flame
#

yeah man

hollow sierra
#

were you able to find your nozzle to zprobe offset?

manic flame
#

I had a general one but yes. where would I have put that in the config.h?

hollow sierra
#

this is the section

#

I believe you can edit it in the future with gcode

manic flame
#

ok I have this somewhere

hollow sierra
#

Also I'm not sure if it works because it doesn't say anything about a custom cable, but i selected the ender 3 v2 screen as DWIN_CREALITY_LCD

#

it says it's the stock one

manic flame
#

yes that was what I was going to do

#

yeah

manic flame
#

is it configuation.h?

#

#define NOZZLE_TO_PROBE_OFFSET { -40, -10, -20 }

hollow sierra
#

yep

#

Just tried to build it and got the same warning

manic flame
#

which warning

#

the lcd one?

hollow sierra
#

error: #error "CAUTION! Ender-3 V2 display requires a custom cable. See 'pins_BTT_SKR_MINI_E3_common.h' for details. (Define NO_CONTROLLER_CUSTOM_WIRING_WARNING to suppress this warning.)"

manic flame
#

can you send me the config?

#

or...

#

try this

hollow sierra
#

I'll upload it to paste bin once I look through it

manic flame
#

with the above deliberate error, you add #define NO_CONTROLLER_CUSTOM_WIRING_WARNING to your Configuration.h file

#

this was something that was suggested to me

hollow sierra
#

my idea also

#

building again

#

failed

manic flame
#

error?

hollow sierra
#

shit load of them lol

manic flame
#

ugh

#

dude

#

same!

#

like overwhelming

#

bruh

hollow sierra
#

it filled up my whole terminal

manic flame
#

I hve like 50

hollow sierra
#

it could be the the .ini is still broken

#

I had to follow this comment to fix mine last week

#

albeit for an skr e3 v3

manic flame
#

what does this mean?

#

I do Have the 3v2 though.. but it is very similar from what I have read

#

dude this is just too much for me

hollow sierra
#

essentially there was an update to the build environment, but marlin didn't update to reflect the changes

manic flame
#

so I am screwed?

#

it says you ahve to use linux or something as well.

#

I do have linux

#

but man..

#

why so difficult

hollow sierra
#

*** [.pio\build\STM32F103RC_btt_USB\src\src\HAL\STM32\Servo.cpp.o] Error 1
*** [.pio\build\STM32F103RC_btt_USB\src\src\HAL\STM32\eeprom_bl24cxx.cpp.o] Error 1
*** [.pio\build\STM32F103RC_btt_USB\src\src\HAL\STM32\eeprom_flash.cpp.o] Error 1
*** [.pio\build\STM32F103RC_btt_USB\src\src\HAL\STM32\tft\tft_ltdc.cpp.o] Error 1
*** [.pio\build\STM32F103RC_btt_USB\src\src\HAL\STM32\tft\tft_fsmc.cpp.o] Error 1
*** [.pio\build\STM32F103RC_btt_USB\src\src\HAL\STM32\eeprom_wired.cpp.o] Error 1
*** [.pio\build\STM32F103RC_btt_USB\src\src\HAL\STM32\sdio.cpp.o] Error 1
*** [.pio\build\STM32F103RC_btt_USB\src\src\HAL\STM32\usb_host.cpp.o] Error 1
compilation terminated due to -fmax-errors=5.
*** [.pio\build\STM32F103RC_btt_USB\src\src\HAL\STM32\eeprom_if_iic.cpp.o] Error 1
*** [.pio\build\STM32F103RC_btt_USB\src\src\HAL\STM32\timers.cpp.o] Error 1
*** [.pio\build\STM32F103RC_btt_USB\src\src\HAL\STM32\eeprom_sdcard.cpp.o] Error 1
*** [.pio\build\STM32F103RC_btt_USB\src\src\HAL\STM32\tft\gt911.cpp.o] Error 1
*** [.pio\build\STM32F103RC_btt_USB\src\src\HAL\STM32\tft\tft_spi.cpp.o] Error 1
*** [.pio\build\STM32F103RC_btt_USB\src\src\HAL\STM32\eeprom_sram.cpp.o] Error 1
*** [.pio\build\STM32F103RC_btt_USB\src\src\HAL\STM32\msc_sd.cpp.o] Error 1
*** [.pio\build\STM32F103RC_btt_USB\src\src\HAL\STM32\fast_pwm.cpp.o] Error 1
*** [.pio\build\STM32F103RC_btt_USB\src\src\HAL\STM32\fastio.cpp.o] Error 1
*** [.pio\build\STM32F103RC_btt_USB\src\src\HAL\shared\Delay.cpp.o] Error 1
*** [.pio\build\STM32F103RC_btt_USB\src\src\HAL\STM32\tft\xpt2046.cpp.o] Error 1

#

see how all of the errors are in the build environment?

#

I'm going to try another environment

manic flame
#

ugh

hollow sierra
#

Both of the environments seem to be broken right now, STM32F103RC_btt and STM32F103RC_btt_USB

#

this is beyond my skills lol

manic flame
#

dude

#

you and me both

#

I am in marlin discord working on this

#

and its not working

hollow sierra
#

i got lucky that there was a reddit post for my exact board

manic flame
#

I have like 3 people helping me and you have gotten the furthest

hollow sierra
#

I don't think that an older version of marlin will work either bc it uses the same environment

#

I would love to know if you end up getting it working, send me a ping if you do

manic flame
#

can you send me the config h and adv you built? or post it in the marlin support chat if you are apart of that discord

hollow sierra
#

I'll upload the files rn, one sec

manic flame
#

and thank you so much for your help man

hollow sierra
#

no worries, tried to pass it forward since someone else helped me last week

manic flame
#

dude thats rad!

#

been working on this for almost 3 weeks

hollow sierra
#

file's will need a couple more min to upload, figured I would include all of the marlin build

manic flame
#

ok

#

thank you dude

#

or...

hollow sierra
#

dude, np lol

manic flame
#

I used this to compile/build my stuff