Skip to content

SAMD51 compile problems on Adafruit ItsyBitsy M4 #217

@runger1101001

Description

@runger1101001

Arduino IDE
Adafruit ItsyBitsy M4
Load SimpleFOC example full_control_serial
Click Verify
Get loads of errors like this…
C:\Users\Richard\Documents\Arduino\libraries\Simple_FOC\src\drivers\hardware_specific\samd51_mcu.cpp:32:17: error: ‘TC4_CH1’ was not declared in this scope; did you mean ‘TC3_CH1’?
32 | { PORTB, 9, TC4_CH1, 1, NOT_ON_TIMER, 0, NOT_ON_TIMER, 0},
| ^~~~~~~
| TC3_CH1
Does anyone know a fix?
It seems like the hardware definitions for this board are wrong?

From: https://community.simplefoc.com/t/compiling-simplefoc-for-samd51-problem/2439

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions