[Solved] Using PlatformIO for compilation


Not sure what you mean with ‘normal’, but in this case it seems there is a specific issue with mbed for NXP targets within PIO.
Hope someone more knowledgable about PIO-internals can fix this.

Do note that PIO is complicated because they aim to have as many platforms/frameworks/boards/libraries as they can with a single frontend. Quite ambitious if you ask me.


Technically PlatformIO isn’t really an IDE, it’s a sort of middleman between the IDE and the compiler.

Traditionally an IDE (i.e. a ‘normal’ IDE) either directly manipulates the compiler or uses makefiles.

I suppose in a way PlatformIO is kind of like another modern attempt at a better makefile, with mixed results - great for some platforms, not quite as great for others.


I never claimed it’s an IDE :wink:

I’d call it a ‘unified toolchain’ or something. Anyway, those interested lets continue here: [Solved] Using PlatformIO for compilation


I agree. And I put in a pretty serious effort to try to get it working. I still think its one of the priorities to get it fixed.


I was addressing what a ‘normal’ IDE is.

I’ve moved all the PlatformIO specific parts.


At long last, we have PlatformIO!
Thanks to @jonne and his perseverance.


:slight_smile: maybe we should give @jonne a special badge for that…


I have “lost” to one technical device my entire life. It was a Hewlett-Packard all-in-one inkjet printer & scanner. It decided that even legitimate ink cartridges were invalid. I went through a long process of actually flipping the machine to another geographical region using the non-public service manual and thereby reset the anti-copycat ink cart mechanism.

Immediately after I got it to recognize my ink cartridge, it threw a paper feed controller error.

I took that spawn of the devil outside and put it out of its misery. Edit: and disposed the 10000 pieces correctly in a recycling center.


(Woops, I came back to this thread 10 days later and discovered I had an unposted comment…)

Printers are evil in general.

I’ve heard some companies actually program them to refuse to print when the ink drops below a certain level, even if the remaining ink is enough to print with.

(Fun fact: it was a xerox printer that prompted Richard Stallman to start the free software movement.)

I agree with @sbmrgd though, we should give you one of the wizard badges for your work on getting PlatformIO running.
(And @FManga, if his Code::Blocks hack works - I haven’t got round to testing it.)


Nice story, I currently have a similiar situation. I work with a cnc cutter that is operated using HPGL and visual basic 6. This is open for me to change and adapt as i please. So i added features and repaired bugs on it.

However the next machine is using custom software(according to them) that can only be altered by them.


I’ve had a couple of printers in the past, that even if you set it to print in black only, will refuse to print if one of the colours is too low, even though you specifically set it not to use colour.


That sucks.
I don’t like VB6, but it’s better than nothing.

Yep, we’ve had at least one of those.
And the ink is stupidly expensive.
These days they put microchips in the ink cartridges to stop people refilling them.

Printer manufacturers are the real evil :P