core icon indicating copy to clipboard operation
core copied to clipboard

Feature request: Preconfigured PlatformIO support

Open Domush opened this issue 3 years ago • 8 comments

I'm coming from Marlin, which compiles in VS Code out of the box, and have no experience using C compilers beyond following the occasional how-to.

Is there anyone who can create and push a pre-configured platformio.ini for this project with support for the most popular boards?

I've read the Wiki here on how to compile with PlatformIO but it is super vague, and skips a lot of steps and board-specific items that only those who don't need a Wiki to begin with know of. Making a Wiki how-to meant for pros kind of defeats the purpose of a Wiki how-to.

Is there someone who can add platformio support for those of us who don't live and bleed C, but just want to build a CNC?

For reference, I'm trying to build for an SKR 1.3 board, but I'm hoping a robust platformio.ini implementation won't need to be tweaked per-board, like how the Marlin implementation works: you just change the board ID and hit compile.

Thanks.

Domush avatar Nov 27 '21 14:11 Domush

Hi, the PlatformIO section in the core wiki is pretty out of date (was carried over from the old repository structure).

Have you looked at the readme in the STM32F4 repository? That's a much better starting point..

dresco avatar Nov 27 '21 16:11 dresco

@terjeio Do you want to delete the "Using PlatformIO for Arduino development" page from the core Wiki?

My build instructions in there are outdated now, and I think the subject is much better covered by the README.md files in both STM32F4xx and iMXRT1062 driver repositories...

dresco avatar Nov 29 '21 11:11 dresco

Do you want to delete the "Using PlatformIO for Arduino development" page from the core Wiki?

Perhaps it should be updated or replaced with (links to?) some generic info?

terjeio avatar Nov 30 '21 10:11 terjeio

I totally agree with @dresco It will be very helpful if procedure of compiling can be simplified.

@dresco Have you had success compiling Grbl-HAL to SKR 1.3? I am also looking to do the same for my laser engraver.

conqueror433 avatar Dec 13 '21 17:12 conqueror433

@dresco Have you had success compiling Grbl-HAL to SKR 1.3?

Am assuming you meant this for @Domush, rather than me? Afraid I don't have any LPC boards, else I'd give it a go!

dresco avatar Dec 13 '21 17:12 dresco

Ahh yess. Sorry for that.

conqueror433 avatar Dec 13 '21 17:12 conqueror433

platformio support would be super great.

tcurdt avatar Jul 11 '22 11:07 tcurdt

A webui for bulding binaries is now underway - check this discussion and preview.

terjeio avatar Oct 18 '22 18:10 terjeio