Skip to content

Atmel QTouch Library in Arduino IDE? #4933

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

Closed
sabas1080 opened this issue May 9, 2016 · 12 comments
Closed

Atmel QTouch Library in Arduino IDE? #4933

sabas1080 opened this issue May 9, 2016 · 12 comments
Labels
Component: Documentation Related to Arduino's documentation content feature request A request to make an enhancement (not a bug fix)

Comments

@sabas1080
Copy link

Hi

can work with Atmel QTouch Library in Arduino IDE? with the introduction of ATMEL328PB
It would be interesting

Thanks

@syddo
Copy link

syddo commented May 12, 2016

This is a good idea, I'm watching this thread. :)

@mbanzi
Copy link
Member

mbanzi commented May 12, 2016

Arduino doesn't support pre-compiled libraries so supporting libraries like QTouch has always been an issue.

@syddo
Copy link

syddo commented May 13, 2016

okay... I never looked at the QTouch Libraries so I just learned about that.

touch is very popular and I still believe that it is a good idea for Arduino to support it.
is there a group looking into this now?

@NicoHood
Copy link
Contributor

There is already another post about using precompiled binaries like .o and .a files. It would not be too complicated to add this feature though.

@syddo
Copy link

syddo commented Jun 25, 2016

I agree @NicoHood ...
PLus I beleive Atmel now will release new QTouch enabled MCUs pretty soon.

@per1234
Copy link
Collaborator

per1234 commented Jul 4, 2017

The feature request for pre-compiled libraries support: #4336

@per1234
Copy link
Collaborator

per1234 commented Nov 3, 2017

The Arduino IDE now supports .a and .so files in libraries. See instructions in the precompiled property documentation here:
https://github.com/arduino/Arduino/wiki/Arduino-IDE-1.5:-Library-specification#libraryproperties-file-format

So can we close this issue now?

@per1234 per1234 added the Waiting for feedback More information must be provided before we can proceed label Nov 3, 2017
@kgoveas
Copy link

kgoveas commented Nov 17, 2017

@per1234 ,

Can you give an example of a library.properties file, name of the static lib, and how the folder structure should look like? It doesn't seem to recognize a .a file.

@per1234
Copy link
Collaborator

per1234 commented Nov 21, 2017

I wrote the documentation for the precompiled property and my previous comment based on @facchinm's comment on the Arduino Developers mailing list:
https://groups.google.com/a/arduino.cc/d/msg/developers/YH0CNIednmw/ZvmMcN5kAQAJ
That post indicated that support for the precompiled property had been added in arduino-builder 1.3.25. However, after looking at the release history I now see that arduino/arduino-builder#219 was merged after the 1.3.25 release and there has been no arduino-builder release since.

It appears from your other comment: arduino/arduino-builder#219 (comment) that you also realized that @kgoveas.

So I think it would be best to remove the documentation for the precompiled property until the next release.

If anyone does verify that the QTouch library can be used with the Arduino IDE please do comment here so we can close this issue.

@kgoveas
Copy link

kgoveas commented Nov 21, 2017

Hey @per1234 ,

Yes indeed. But one can still use precompiled libs with a few hacks to the Arduino IDE 1.8.5.

  1. Replace the arduino-builder with the test build from @facchinm
  2. Change the position of the compiler.c.elf.extra_flags in the platform.txt file to the end of the other linker flags. I've reported an issue for the sam and samd cores.

P.S. I have updated the documentation a bit, but we need to mention that it is currently not supported? It would help people such as myself finish making the libraries in advance to the next Arduino IDE release.

@per1234
Copy link
Collaborator

per1234 commented Nov 21, 2017

Thanks for your work on the wiki @kgoveas! I have updated it to correct the version information but left the documentation in place. It's difficult to know how to best handle documentation for new features that have not yet been released (or even merged). Ideally documentation would be added in the same commit as the code changes that require it but that's not possible with the wiki. This means documentation updates end up being done as an afterthought or neglected altogether. Other than that issue I do like the use of the GitHub Wiki for Arduino's developer level documentation.

@sandeepmistry sandeepmistry added Component: Documentation Related to Arduino's documentation content and removed Waiting for feedback More information must be provided before we can proceed labels Sep 16, 2019
@per1234 per1234 added the feature request A request to make an enhancement (not a bug fix) label May 23, 2020
@per1234
Copy link
Collaborator

per1234 commented Sep 29, 2020

Arduino's precompiled library support is now fairly mature and well documented. If anyone is interested, please see the Arduino Library Specification:
https://arduino.github.io/arduino-cli/latest/library-specification/#precompiled-binaries

I'm going to assume that it is now possible to use the QTouch library and close this.

@per1234 per1234 closed this as completed Sep 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: Documentation Related to Arduino's documentation content feature request A request to make an enhancement (not a bug fix)
Projects
None yet
Development

No branches or pull requests

7 participants