Giter VIP home page Giter VIP logo

Comments (7)

Callum6677 avatar Callum6677 commented on August 11, 2024

Apparently I cannot use github styling properly. Apologies.
buildOutput.txt

from adafruit_tinyusb_arduino.

hathach avatar hathach commented on August 11, 2024

Apparently I cannot use github styling properly. Apologies.
buildOutput.txt

it is tripple backslash, though the log is too long anyway, it is best to be an txt. I will try to check this out asap.

from adafruit_tinyusb_arduino.

hathach avatar hathach commented on August 11, 2024

I am able to reproduce the issue, it is probably due to the slight difference in macro SAMD51 SAME51 and/or other include config. Will make an pr to fix this soon enough

from adafruit_tinyusb_arduino.

hathach avatar hathach commented on August 11, 2024

@ladyada this issue is more involved than initial thought. The root issue is tinyusb naturally include "sam.h" which has defined of __SAME51J19A__ which will include the correct mcu header. The issue is SAME51 is not supported by the CMSIS-Atmel package https://github.com/adafruit/ArduinoModule-CMSIS-Atmel/blob/master/CMSIS-Atmel/CMSIS/Device/ATMEL/sam.h

We tried to put the chip definition into the variant folder, however, since the tool cmsis path has higher priority in the include order (since it appears first) it is always got include. We can re-order the the include path. However, I think the proper fix should be moving mcu header into the cmsis-atmel. I will make an PR to official arduino repo, meanwhile we can use the our own tool release (possibly 1.2.1 for the next release). This will also make it much easier to add more board with same51.

from adafruit_tinyusb_arduino.

hathach avatar hathach commented on August 11, 2024

PR to add SAME51 header to official package is on the way arduino/ArduinoModule-CMSIS-Atmel#16

from adafruit_tinyusb_arduino.

hathach avatar hathach commented on August 11, 2024

should be fixed by now, can you install the new bsp 1.6.7 and try again.

from adafruit_tinyusb_arduino.

Callum6677 avatar Callum6677 commented on August 11, 2024

Working great now, that was a quick turn around, cheers

from adafruit_tinyusb_arduino.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.