Page 1 of 1
PCAN Router-FD 03_TIMER_IO Example
Posted: Tue 8. Dec 2020, 03:59
by blbus
I am testing the VSC tool chain - downloaded latest package from site. Examples 01_ROUTING and 02_EEPROM load and make fine, but the example 03_TIMER_IO (unmodified) has error with uint32_t type not defined. I've tried to work around but am having issues, and of course, this is the example of interest to me.
The following:

- uint32 error.PNG (27.61 KiB) Viewed 4961 times
Re: PCAN Router-FD 03_TIMER_IO Example
Posted: Tue 8. Dec 2020, 11:00
by M.Heidemann
Hello,
This issue is due to intellsense not finding a definition for "uint32_t",
The exampe will still compile as its all properly resolved by the compiler.
You can mitigate this Intellisense-beheaviour by adding the defintion, for example in you "main.c" underneath the "includes":
This should resolve the issues with intellisense regarding this.
Please report back to me regarding this.
Best Regards
Marvin
Re: PCAN Router-FD 03_TIMER_IO Example
Posted: Tue 8. Dec 2020, 13:53
by blbus
Thank you. That was a quick fix, and is much appreciated.
~Brad
Re: PCAN Router-FD 03_TIMER_IO Example
Posted: Tue 8. Dec 2020, 13:56
by M.Heidemann
Hello,
Thank you for your feedback!
Best Regards
Marvin
-closed-