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
I attempted to build an example project with gcc using the core libraries and it fails like so:
/fprime-atmel-sam-reference/deps/mplab_dev_packs/Microchip/SAMV71_DFP/4.10.230/samv71b/gcc/gcc/startup_samv71q21b.c:189:10: error: 'DeviceVectors' {aka 'const struct _DeviceVectors'} has no member named 'pfnTC0_Handler'; did you mean 'pfnRTC_Handler'?
189 | .pfnTC0_Handler = (void*) TC0_Handler, /* 23 Timer Counter */
| ^~~~~~~~~~~~~~
| pfnRTC_Handler
/fprime-atmel-sam-reference/deps/mplab_dev_packs/Microchip/SAMV71_DFP/4.10.230/samv71b/gcc/gcc/startup_samv71q21b.c:190:10: error: 'DeviceVectors' {aka 'const struct _DeviceVectors'} has no member named 'pfnTC1_Handler'; did you mean 'pfnRTC_Handler'?
190 | .pfnTC1_Handler = (void*) TC1_Handler, /* 24 Timer Counter */
| ^~~~~~~~~~~~~~
| pfnRTC_Handler
/fprime-atmel-sam-reference/deps/mplab_dev_packs/Microchip/SAMV71_DFP/4.10.230/samv71b/gcc/gcc/startup_samv71q21b.c:191:10: error: 'DeviceVectors' {aka 'const struct _DeviceVectors'} has no member named 'pfnTC2_Handler'; did you mean 'pfnRTC_Handler'?
191 | .pfnTC2_Handler = (void*) TC2_Handler, /* 25 Timer Counter */
| ^~~~~~~~~~~~~~
| pfnRTC_Handler
/fprime-atmel-sam-reference/deps/mplab_dev_packs/Microchip/SAMV71_DFP/4.10.230/samv71b/gcc/gcc/startup_samv71q21b.c:192:10: error: 'DeviceVectors' {aka 'const struct _DeviceVectors'} has no member named 'pfnTC3_Handler'; did you mean 'pfnRTC_Handler'?
192 | .pfnTC3_Handler = (void*) TC3_Handler, /* 26 Timer Counter */
| ^~~~~~~~~~~~~~
| pfnRTC_Handler
/fprime-atmel-sam-reference/deps/mplab_dev_packs/Microchip/SAMV71_DFP/4.10.230/samv71b/gcc/gcc/startup_samv71q21b.c:193:10: error: 'DeviceVectors' {aka 'const struct _DeviceVectors'} has no member named 'pfnTC4_Handler'; did you mean 'pfnRTC_Handler'?
193 | .pfnTC4_Handler = (void*) TC4_Handler, /* 27 Timer Counter */
| ^~~~~~~~~~~~~~
| pfnRTC_Handler
/fprime-atmel-sam-reference/deps/mplab_dev_packs/Microchip/SAMV71_DFP/4.10.230/samv71b/gcc/gcc/startup_samv71q21b.c:194:10: error: 'DeviceVectors' {aka 'const struct _DeviceVectors'} has no member named 'pfnTC5_Handler'; did you mean 'pfnRTC_Handler'?
194 | .pfnTC5_Handler = (void*) TC5_Handler, /* 28 Timer Counter */
| ^~~~~~~~~~~~~~
| pfnRTC_Handler
/fprime-atmel-sam-reference/deps/mplab_dev_packs/Microchip/SAMV71_DFP/4.10.230/samv71b/gcc/gcc/startup_samv71q21b.c:213:10: error: 'DeviceVectors' {aka 'const struct _DeviceVectors'} has no member named 'pfnTC6_Handler'; did you mean 'pfnRTC_Handler'?
213 | .pfnTC6_Handler = (void*) TC6_Handler, /* 47 Timer Counter */
| ^~~~~~~~~~~~~~
| pfnRTC_Handler
/fprime-atmel-sam-reference/deps/mplab_dev_packs/Microchip/SAMV71_DFP/4.10.230/samv71b/gcc/gcc/startup_samv71q21b.c:214:10: error: 'DeviceVectors' {aka 'const struct _DeviceVectors'} has no member named 'pfnTC7_Handler'; did you mean 'pfnRTC_Handler'?
214 | .pfnTC7_Handler = (void*) TC7_Handler, /* 48 Timer Counter */
| ^~~~~~~~~~~~~~
| pfnRTC_Handler
/fprime-atmel-sam-reference/deps/mplab_dev_packs/Microchip/SAMV71_DFP/4.10.230/samv71b/gcc/gcc/startup_samv71q21b.c:215:10: error: 'DeviceVectors' {aka 'const struct _DeviceVectors'} has no member named 'pfnTC8_Handler'; did you mean 'pfnRTC_Handler'?
215 | .pfnTC8_Handler = (void*) TC8_Handler, /* 49 Timer Counter */
| ^~~~~~~~~~~~~~
| pfnRTC_Handler
/fprime-atmel-sam-reference/deps/mplab_dev_packs/Microchip/SAMV71_DFP/4.10.230/samv71b/gcc/gcc/startup_samv71q21b.c:216:10: error: 'DeviceVectors' {aka 'const struct _DeviceVectors'} has no member named 'pfnTC9_Handler'; did you mean 'pfnRTC_Handler'?
216 | .pfnTC9_Handler = (void*) TC9_Handler, /* 50 Timer Counter */
| ^~~~~~~~~~~~~~
| pfnRTC_Handler
/fprime-atmel-sam-reference/deps/mplab_dev_packs/Microchip/SAMV71_DFP/4.10.230/samv71b/gcc/gcc/startup_samv71q21b.c:217:10: error: 'DeviceVectors' {aka 'const struct _DeviceVectors'} has no member named 'pfnTC10_Handler'; did you mean 'pfnRTC_Handler'?
217 | .pfnTC10_Handler = (void*) TC10_Handler, /* 51 Timer Counter */
| ^~~~~~~~~~~~~~~
| pfnRTC_Handler
/fprime-atmel-sam-reference/deps/mplab_dev_packs/Microchip/SAMV71_DFP/4.10.230/samv71b/gcc/gcc/startup_samv71q21b.c:218:10: error: 'DeviceVectors' {aka 'const struct _DeviceVectors'} has no member named 'pfnTC11_Handler'; did you mean 'pfnRTC_Handler'?
218 | .pfnTC11_Handler = (void*) TC11_Handler, /* 52 Timer Counter */
| ^~~~~~~~~~~~~~~
| pfnRTC_Handler
This is because the header file samv71q21b.h defines the struct like so:
Hi, thank you for your report.
dev_packs has been archived last year in profit of the MPLAB X pack manager (which is downloading content from https://packs.download.microchip.com). The issue you reported may still be present, though.
Please ensure you use the latest content and tools we support today.
I attempted to build an example project with gcc using the core libraries and it fails like so:
This is because the header file samv71q21b.h defines the struct like so:
But in startup_samv71q21b.c its set like this:
When the pack is downloaded through http://packs.download.atmel.com/ there isn't this issue.
It seems I am missing something which should be leveraging the flash linker script. Still not sure of the solution.
The text was updated successfully, but these errors were encountered: