grblHAL / core

grblHAL core code and master Wiki
Other
323 stars 84 forks source link

Feature request: Preconfigured PlatformIO support #92

Open Domush opened 2 years ago

Domush commented 2 years ago

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.

dresco commented 2 years ago

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 commented 2 years ago

@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...

terjeio commented 2 years ago

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?

conqueror433 commented 2 years ago

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.

dresco commented 2 years ago

@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!

conqueror433 commented 2 years ago

Ahh yess. Sorry for that.

tcurdt commented 2 years ago

platformio support would be super great.

terjeio commented 1 year ago

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