Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make it modular #30

Open
majenkotech opened this issue Feb 23, 2016 · 1 comment
Open

Make it modular #30

majenkotech opened this issue Feb 23, 2016 · 1 comment

Comments

@majenkotech
Copy link
Contributor

We need to make pic32prog modular. That is, make it so that different adapters (and their dependant libraries of course) can be turned on and off at compile time.

I have a situation right now where I am trying to compile it under uClibc-0.9.33.2 and it is throwing a complete wobbly (that's a technical programmers' term) with the pthreads. Since all I need from it is the UART adapter(s) it would be nice to "disable" all the USB ones (since it's in the USB HID driver code that the pthreads are used) and just have the adapters that I need in there.

Maybe (yes, I know it's ghastly) an autoconf-automake system would be in order...

./configure --disable-hidboot --disable-an1388 --disable-mpsse --disable-pickit2 --disable-uhb --disable-bitbang
@majenkotech
Copy link
Contributor Author

I have made an initial test in a branch of my own fork:

https://github.com/majenkotech/pic32prog/tree/autotools

At the moment (until I can work out how to change it) all adapters are disabled by default, so you need to enable the ones you want when you configure. It tells you how.

I have no clue what it does in Darwin...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant