Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Errors compiling marlin for MKS Tinybee #27660

Open
1 task done
theyeetmaster992 opened this issue Jan 31, 2025 · 14 comments
Open
1 task done

[BUG] Errors compiling marlin for MKS Tinybee #27660

theyeetmaster992 opened this issue Jan 31, 2025 · 14 comments

Comments

@theyeetmaster992
Copy link

Did you test the latest bugfix-2.1.x code?

Yes, and the problem still exists.

Bug Description

Trying to compile marlin for mks tinybee but get continuous errors with using provided firmware and new firmware. Trying to find a version that compiles successfully but with not much success so far. Seems to also have compilation issues when MKS mini 12864 v3 is selected.

makerbase-mks/MKS-TinyBee#125

Bug Timeline

No response

Expected behavior

Expected to get a successful compile when instructions where followed or changeable minor issues to be defined or undefined.

Actual behavior

Compilation failure with many warnings and partitions.bin created instead of firmware.bin and .elf

Steps to Reproduce

Attempt compile firmware provided by mks for mks tinybee

Version of Marlin Firmware

any

Printer model

any

Electronics

upgrade board

LCD/Controller

MKS 12864 mini v3

Other add-ons

No response

Bed Leveling

None

Your Slicer

None

Host Software

None

Don't forget to include

  • A ZIP file containing your Configuration.h and Configuration_adv.h.

Additional information & file uploads

Desktop.zip

@ellensp
Copy link
Contributor

ellensp commented Jan 31, 2025

You need to use latest bugfix 2.1.x

That libraries where update with raspberry pi 2040 code and broke thins

Only bugfix has this patch
2963523

@theyeetmaster992
Copy link
Author

latest bugfix was tried and doesn't work

@ellensp
Copy link
Contributor

ellensp commented Jan 31, 2025

attach butfix config files

@ellensp ellensp reopened this Jan 31, 2025
@ellensp
Copy link
Contributor

ellensp commented Jan 31, 2025

first issue I see in your config files

#define SERIAL_PORT 0
#define SERIAL_PORT_2 -1

but tinybee doesnt have a -1 port.

the usb cable is connected to CH340C chip then to uart 0 on the esp32
so #define SERIAL_PORT 0 is correct but #define SERIAL_PORT_2 -1 is not and should be removed

@theyeetmaster992
Copy link
Author

its for the built in wifi i believe

@ellensp
Copy link
Contributor

ellensp commented Jan 31, 2025

No that use a socket (internal to chp communication)

@theyeetmaster992
Copy link
Author

Marlin - 1.zip

here is a newly downloaded bugfix config i just attempted to compile. Do you know what the right way is to configure the the mks mini v3 screen? Seems there is a lot of information that doesn't seem to line up.

@theyeetmaster992
Copy link
Author

No that use a socket (internal to chp communication)

so built in esp32 wifi doesn't need a serial assigned for it at all?

@ellensp
Copy link
Contributor

ellensp commented Jan 31, 2025

#define MKS_MINI_12864_V3
#define NEOPIXEL_LED
#define NEOPIXEL_TYPE NEO_RGB
#define LED_CONTROL_MENU
#define LED_USER_PRESET_STARTUP
option but I like it to confirm rgb is working
#define NEOPIXEL_STARTUP_TEST

@theyeetmaster992
Copy link
Author

Hmm ok, do i just add those somewhere in conf.h?

@theyeetmaster992
Copy link
Author

Image

might be getting closer

@theyeetmaster992
Copy link
Author

#define MKS_MINI_12864_V3 #define NEOPIXEL_LED #define NEOPIXEL_TYPE NEO_RGB #define LED_CONTROL_MENU #define LED_USER_PRESET_STARTUP option but I like it to confirm rgb is working #define NEOPIXEL_STARTUP_TEST

#define LED_USER_PRESET_STARTUP seems to be for a secondary neopixel and requires NEOPIXEL2_SEPERATE to be active

@theyeetmaster992
Copy link
Author

Didn't receive a success when compiling completed but will assume it was. Think putting marlin in root directory is a must now. Will update if flashing has been successful and machine working.

@theyeetmaster992
Copy link
Author

Image

Enabled wifi in conf_adv.h

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants