Best practive recommendations (PIO, own modifications)?

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
oisisi
Normal user
Posts: 86
Joined: 06 Jul 2016, 13:47

Best practive recommendations (PIO, own modifications)?

#1 Post by oisisi » 25 Sep 2018, 17:57

I'd like to use plugins from the playground but also keep in sync with the upstream repo with the least manual effort. I use Custom.h and that gets ignored as it should be.

What is the recommended/easiest way to maintain an own section in platformio.ini, to include additional plugins and, of course, own build flags when one doesn't want to fight with too many merge conflicts when syncing?

(I read the building and uploading tutorial.)

TD-er
Core team member
Posts: 8643
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: Best practive recommendations (PIO, own modifications)?

#2 Post by TD-er » 29 Sep 2018, 18:12

You could make issues for the most useful/interesting plugins from the playground to be merged into the main repository.
I can move them over there so they will grow into standard plugins or at least I will keep them in sync with other breaking changed.

oisisi
Normal user
Posts: 86
Joined: 06 Jul 2016, 13:47

Re: Best practive recommendations (PIO, own modifications)?

#3 Post by oisisi » 30 Sep 2018, 17:13

Thanks for the response. I created my own env which includes IR receive and plugin 144 (RC Switch TX, from the playground). For that purpose I also have to modify 'define_plugin_sets.h'. I'd like to stay in sync with the main repository and not have to wade through local merge conflicts.

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot] and 31 guests