[Solved] Using PlatformIO for compilation


#81

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.


#82

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.


#83

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


#84

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.


#85

I was addressing what a ‘normal’ IDE is.

I’ve moved all the PlatformIO specific parts.


#86

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


#87

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


#88

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.


#89

(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.)


#90

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.


#91

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.


#92

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