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

[FR]Add platformIO support #380

Open
luc-github opened this issue Apr 13, 2021 · 8 comments
Open

[FR]Add platformIO support #380

luc-github opened this issue Apr 13, 2021 · 8 comments

Comments

@luc-github
Copy link
Owner

luc-github commented Apr 13, 2021

I will add platformIO support - it should allow to patch the due source automaticaly and so no need to do any manual changes
also it should allow to not change anything in configuration.h but use specific env for each config

So firmware should be easy to build in this way
this will be first step as repetier 2.0 use platformio , so need to prepare the porting

Edit: patching seems supported https://docs.platformio.org/en/latest/projectconf/advanced_scripting.html#override-package-files
So it should be too hard to do it

@luc-github
Copy link
Owner Author

PlatformIO support is implemented but not tested - I have just checked the files are corrects
image

Patching happen once
image

I do not have bandwith to test right now so if anyone want give a try and report would be great 😸

Still need to modify src\ArduinoDUE\Repetier\Configuration.h according targeted printer
I will add corresponding env in platformIO.ini once PIO build is confirmed as Ok

@stale
Copy link

stale bot commented Jun 2, 2021

This issue or pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Jun 2, 2021
@stale stale bot removed the stale label Jun 4, 2021
@ybott
Copy link

ybott commented Jun 11, 2021

I gave this a run on my DaVinci AiO. Build, upload, and monitor works.

Nice one!

@luc-github
Copy link
Owner Author

great thank you for the feedback, I will add corresponding env

@ybott
Copy link

ybott commented Jun 11, 2021

I presume the work to integrate platformio is to merge all your work into the dev2 Repetier (https://github.com/repetier/Repetier-Firmware/tree/dev2) branch, is that correct?

@luc-github
Copy link
Owner Author

luc-github commented Jun 11, 2021

everything is different in Davinci : specific screen , specific screen resolution( 16x4 ), specific SPI, specific features (auto bed leveling , manual bed leveling, dripbox, extruder cleaner, key pad, thermistors tables, etc...)

I will integrate repetier 2.0 when stable but push all davinci specific to repetier is big work and has few chance to be accepted, only some features may be

no mention that Davinci 1.0(a)/2.0 (a) are now end of life I think, compare to recent xyz models

@linpp
Copy link

linpp commented May 21, 2022

On a Mac, this complains there are no source files to build. It does build after changing src_dir to use forward slashes in platformio.ini:

src_dir = src/ArduinoDUE/Repetier

@hyx0329
Copy link

hyx0329 commented Oct 28, 2022

On my ArchLinux setup, this works smoothly with my davinci 1.0. Thank you for your work!

  • platformIO core v6.1.4
  • VSCodium 1.72.2
  • XYZPrinting da Vinci 1.0(jumper J1)

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

4 participants