Skip to content

Atmel QTouch Library in Arduino IDE? #4933

Closed
@sabas1080

Description

@sabas1080

Hi

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

Thanks

Activity

syddo

syddo commented on May 12, 2016

@syddo

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

mbanzi

mbanzi commented on May 12, 2016

@mbanzi
Member

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

syddo

syddo commented on May 13, 2016

@syddo

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

NicoHood commented on May 16, 2016

@NicoHood
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

syddo commented on Jun 25, 2016

@syddo

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

per1234

per1234 commented on Jul 4, 2017

@per1234
Collaborator

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

per1234

per1234 commented on Nov 3, 2017

@per1234
Collaborator

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?

kgoveas

kgoveas commented on Nov 17, 2017

@kgoveas

@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

per1234 commented on Nov 21, 2017

@per1234
Collaborator

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

kgoveas commented on Nov 21, 2017

@kgoveas

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

per1234 commented on Nov 21, 2017

@per1234
Collaborator

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.

added and removed
Waiting for feedbackMore information must be provided before we can proceed
on Sep 16, 2019
per1234

per1234 commented on Sep 29, 2020

@per1234
Collaborator

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Component: DocumentationRelated to Arduino's documentation contentfeature requestA request to make an enhancement (not a bug fix)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @mbanzi@sandeepmistry@sabas1080@NicoHood@per1234

        Issue actions

          Atmel QTouch Library in Arduino IDE? · Issue #4933 · arduino/Arduino