You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are some errors while compiling without the solution file.
First: non existing member of the volatile structures of U
Error 'volatile struct ' has no member named 'TRCPT' at 9dof_bootloader_sparkfun\board_driver_usb.c 176 52 Build
Error 'volatile struct ' has no member named 'STALLRQ' \9dof_bootloader_sparkfun\board_driver_usb.c 307 51 Build
Both of them are located in USB_DEVICE_EPINTFLAG_Type struct in usb.h. But the compiler could not find.
Furthermore, could you guide me how to correctly compile this in Atmel studio?
The text was updated successfully, but these errors were encountered:
lunarpulse
changed the title
samd21_sam_ba.atsln file not existing in the repository
volatile structure missing element error during compilation of board_driver_usb.c
Jan 9, 2017
I have investigated a little more and I found out that the USB_DEVICE_EPINTFLAG_Type union contains three fields of structs, bit, vec, and reg. 'TRCPT' and 'STALLRQ' both are member of vec, NOT bit.
the codes was intended to get the status bits stored as a union but the samba_usb.c file did not implement the use of the union struct correctly. I am not sure this was used by arduino zero directly. At least this does not work on atmel and linux arm gcc compiler.
After fixing all the errouneous member indication in the samba_usb.c file, the file compiles but still many errors to correct during the compilation of other files.
There are some errors while compiling without the solution file.
First: non existing member of the volatile structures of U
Error 'volatile struct ' has no member named 'TRCPT' at 9dof_bootloader_sparkfun\board_driver_usb.c 176 52 Build
Error 'volatile struct ' has no member named 'STALLRQ' \9dof_bootloader_sparkfun\board_driver_usb.c 307 51 Build
Both of them are located in USB_DEVICE_EPINTFLAG_Type struct in usb.h. But the compiler could not find.
Furthermore, could you guide me how to correctly compile this in Atmel studio?
The text was updated successfully, but these errors were encountered: