Skip to content

hw/bsp/samd21 and hw/bsp/samd51 are missing "sam.h" #616

@charkster

Description

@charkster

In line 27 of tinyusb/hw/bsp/samd21/family.c the "sam.h" header file is included, but no where to be found.
Also line 27 of tinyusb/hw/bsp/samd51/family.c the "sam.h" header file is included, but no where to be found.

PS OS : Ubuntu 20.04, Raspberry Pi OS
Board: seeeduino xiao
Firmware: examples/device/usbtmc

I am unable to compile the usbtmc example because a header file is missing.

/home/pi/tinyusb/hw/bsp/samd21/family.c:27:10: fatal error: sam.h: No such file or directory
 #include "sam.h"
          ^~~~~~~
compilation terminated.
make: *** [../../rules.mk:153: _build/seeeduino_xiao/obj/hw/bsp/samd21/family.o] Error 1

Steps to reproduce the behavior:

  1. Go to tinyusb/examples/device/usbtmc (Master branch)
  2. Run make BOARD=seeeduino_xiao all uf2

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions