Skip to content
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

Compiling error with Adafruit Metro M4 Grand Central #35

Closed
ulkesh11 opened this issue Oct 7, 2019 · 1 comment
Closed

Compiling error with Adafruit Metro M4 Grand Central #35

ulkesh11 opened this issue Oct 7, 2019 · 1 comment

Comments

@ulkesh11
Copy link

ulkesh11 commented Oct 7, 2019

I am getting following error while compiling servo library on Adafruit Metro M4 Grand Central

/home/Downloads/arduino-1.8.9/libraries/Servo/src/samd/Servo.cpp: In function 'void Servo_Handler(timer16_Sequence_t, Tc*, uint8_t, uint8_t)': /home/Downloads/arduino-1.8.9/libraries/Servo/src/samd/Servo.cpp:44:60: error: 'volatile struct TC_STATUS_Type::<anonymous>' has no member named 'SYNCBUSY' #define WAIT_TC16_REGS_SYNC(x) while(x->COUNT16.STATUS.bit.SYNCBUSY); ^ /home/Downloads/arduino-1.8.9/libraries/Servo/src/samd/Servo.cpp:64:9: note: in expansion of macro 'WAIT_TC16_REGS_SYNC' WAIT_TC16_REGS_SYNC(tc) ^ /home/Downloads/arduino-1.8.9/libraries/Servo/src/samd/Servo.cpp: In function 'void _initISR(Tc*, uint8_t, uint32_t, IRQn_Type, uint8_t, uint8_t)': /home/Downloads/arduino-1.8.9/libraries/Servo/src/samd/Servo.cpp:123:11: error: 'struct Gclk' has no member named 'CLKCTRL' GCLK->CLKCTRL.reg = (uint16_t) (GCLK_CLKCTRL_CLKEN | GCLK_CLKCTRL_GEN_GCLK0 | GCLK_CLKCTRL_ID(gcmForTimer)); ^ /home/Downloads/arduino-1.8.9/libraries/Servo/src/samd/Servo.cpp:123:37: error: 'GCLK_CLKCTRL_CLKEN' was not declared in this scope GCLK->CLKCTRL.reg = (uint16_t) (GCLK_CLKCTRL_CLKEN | GCLK_CLKCTRL_GEN_GCLK0 | GCLK_CLKCTRL_ID(gcmForTimer));

@ulkesh11
Copy link
Author

ulkesh11 commented Oct 7, 2019

Looks like this issue is already been reported here

@ulkesh11 ulkesh11 closed this as completed Oct 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant