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

Start from beginning #12

Open
faronov opened this issue Apr 2, 2019 · 6 comments
Open

Start from beginning #12

faronov opened this issue Apr 2, 2019 · 6 comments

Comments

@faronov
Copy link

faronov commented Apr 2, 2019

I have some question regarding this cool project

  1. this branch still actual? or everything that needed for running esp32 as controller already exists in official marlin branch?
  2. I try out official Marlin branch, it compiles without a problem and I also able flash this binary to dev board but big question if I upload code to some esp32 dev board like "DOIT Esp32 DevKit v1" project will run without a connection to additional hardware?
    for my test, it's just crashed and I try to understand this because some hardware must be connected and if it's missing I must expect that it crashes?
    I like the idea to use esp32 as the controller board

if it's expected that devices won't' boot without additional hardware what is the minimum required hardware?
I plan to create some minimal with SPI drivers
And want start from some minimal hardware connected to this board

@faronov
Copy link
Author

faronov commented Apr 2, 2019

I only see
ets Jun 8 2016 00:22:57

rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff0018,len:4
load:0x3fff001c,len:928
ho 0 tail 12 room 4
load:0x40078000,len:9280
load:0x40080400,len:5860
entry 0x40080698

when connecting flashed device to serial port

@faronov
Copy link
Author

faronov commented Apr 3, 2019

Looks like I have low power for running esp + wifi enabled from USB
removing USB support helped to run Marlin official build successfully
this branch has an error in building step
Marlin\src\module/stepper.h:150:102: error: no matching function for call to 'max(long int, long unsigned int)'

@luc-github
Copy link
Collaborator

@faronov Simon code is already merged to Marlin 2.x - and Marlin is more up to date
Also be sure you use latest ESP32 core - I mean latest GIT not the released one
Also even there is a basic WebUI in marlin 2.x you may want to test the port of ESP3D for Marlin : https://github.com/luc-github/Marlin/tree/bugfix-2.0.x

@faronov
Copy link
Author

faronov commented Apr 8, 2019

thanks

@faronov
Copy link
Author

faronov commented Apr 8, 2019

How I can be sure that I use the latest esp32 core in Platformio?

@luc-github
Copy link
Collaborator

luc-github commented Apr 8, 2019

I do not use PlatformIO so I cannot be sure but reading http://docs.platformio.org/en/latest/platforms/espressif32.html?utm_source=github&utm_medium=arduino-esp32#using-arduino-framework-with-staging-version

Stage version should be up to date as GIT was updated one month ago
If it can help for checking : on latest GIT ESP.getSdkVersion() give me v3.3-beta1-506-gebdcbe8c6

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