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

Compilation Error for POLAR 3D PRINTER in Marlin-ESP3DLib-V3-bugfix-2.1.x #77

Closed
Gokuh1980 opened this issue Jan 12, 2024 · 23 comments
Closed
Assignees

Comments

@Gokuh1980
Copy link

Describe the bug
When i setup Vscode to compile for FYSETC E4 a polar 3d Printer it aborts due to several warnings
I Have a NODEMCU ESP32S but they have the same pins so i used FYSETC E4

image

image

Marlin Firmware:

  • Marlin Branch/Version:[e.g bugfix-2.1.x]
  • Kinetamits changed to POLAR

ESP3DLib :

  • ESP3DLib Branch/Version: 3
  • Wifi mode:AP
  • BOARD: ESP32 FYSETC 4
  • Flash size: 16M
@Gokuh1980 Gokuh1980 added the bug Something isn't working label Jan 12, 2024
Copy link

Thank your for submiting, please be sure you followed template or your issue may be dismissed.

@luc-github
Copy link
Owner

What Marlin repository are you using ? And what branch ?

@Gokuh1980
Copy link
Author

Hi! thanks for your response!

https://github.com/luc-github/Marlin/tree/ESP3DLib-V3-bugfix-2.1.x
image

@luc-github
Copy link
Owner

luc-github commented Jan 12, 2024

the issue is not linked to ESP3DLib
pls check if you have same issue with latest Marlin Buxfix 2.1 without enabling wifi because upstream is broken

@luc-github
Copy link
Owner

@Gokuh1980 any update ? can you compile with Upstream Marlin ?

@Gokuh1980
Copy link
Author

Hi! Yes, i tried to compile the bugfix from marlin today and it fails with similar errors.

@luc-github
Copy link
Owner

luc-github commented Jan 14, 2024

does latest release having same issue ? https://github.com/MarlinFirmware/Marlin/releases/tag/2.1.2.1

as bugfix is dev it is usally not stable

@Gokuh1980
Copy link
Author

Yes, i've tried it and it compiles ok, but that release doesn't have the polar geometry i'm trying to build.

Algo i really really like your work with esp3d and wifi.

So i think i will wait a little longer.

(I'm no so good at coding)

@luc-github
Copy link
Owner

ho then I suggest you to push issue in Marlin and follow resolution - then update here when fixed - I will then update the fork

@Gokuh1980
Copy link
Author

Yes of course!!! Thank you!!! Keep up with your project, its fantastic!

@luc-github
Copy link
Owner

Thank you - sorry I have no bandwidth to follow all Marlin update so your help is really appreciate

@Gokuh1980
Copy link
Author

Hi Luc! from the upstream marlin bugfix branch they told me the problem was a line missing in features.ini

image

now that branch compiles ok with esp32 and polar kinematics

but when i add that line in your branch i still have errors compiling

image

Config.zip

Any ideas?

@luc-github
Copy link
Owner

no but my fork was not up to date - I have just did a rebase from bugfix now- so you can give a try
Be noted the fix you mention is not present yet so you need to apply it manually

@Gokuh1980
Copy link
Author

Nice! it almost compile, now the error is program size...

image

i already removed lcd, noepixels, and others...

also y have several warnings...

image

image

image

image

@luc-github
Copy link
Owner

the warnings are normal and harmless

The config you provided is for ESP32 not FYSETC_E4 you must use FYSETC_E4 board if this is what you have

In both case ESP32 / FYSETC_E4 I cannot duplicate using your files

image

@luc-github
Copy link
Owner

@Gokuh1980 any update ?

@Gokuh1980
Copy link
Author

hi Luc! i'm trying to compile in another computer at home with ubuntu but keep getting this error...

image

strange is that i don't have any display configured...

Marlin.zip

@luc-github
Copy link
Owner

luc-github commented Jan 21, 2024

strange is that i don't have any display configured...

Really ?

But your configuration.h has :

#define MKS_MINI_12864_V3

and
#define LCD_INFO_SCREEN_STYLE 0

and I just did a simple windiff with my repo

You better clean up your config files

@Gokuh1980
Copy link
Author

Hi Luc! it compiles ok now. THANK YOU for your support.

Now i´m facing another problem when i upload to the processor, maybe you can help me, originally i was describing my mainboard as FYSETC_E4 becouse it´s very similar to mi real board ESP32-Vroom-32 (i will connect it to a ramps 1.4)

image

but, FYSETC_E4 it´s described with a flash of 16MB and my board has 4Mb, do you have any ideas?

@luc-github
Copy link
Owner

luc-github commented Jan 22, 2024

sorry Idea for what? I do not understand the question

@Gokuh1980
Copy link
Author

i was having an error on upload because fysetc_e4 as a flash of 16mb and my board has 4mb, so it results in a bootloop. thats why i wanted to ask you if you have some testing compiling for a 4mb esp32.

now i have changed esp32.csv partition file and it boots:

image

now i have to resolve the errors in the boot log.

@luc-github
Copy link
Owner

you just need to edit the env and adjust board size and use proper partition like min-spiffs one

@luc-github
Copy link
Owner

I close issue ticket now because initial issue is solved
your latest issue is that you use an env that is not for your board, you better create new one for your board in esp32.ini and push it to Marlin
it is not linked to esp3dlib at this stage

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

No branches or pull requests

2 participants