-
What would be the correct way to define the LGT8F 328P board type similar to how this would work for an AVR 328P ? eg.
|
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
https://github.com/dbuezas/lgt8fx/wiki/Identifying-MCU-and-board-variants-using-preprocessor |
Beta Was this translation helpful? Give feedback.
-
Perfect ! Thank you for the link. |
Beta Was this translation helpful? Give feedback.
-
Is it possible that there is some sort of overlap between the (AVR) and (LGT8FX8P) board defnitions. I am getting false positives when using ifdef statements to seperate code for the oard types. An example of code to demonstrate the false positives would be the following :
Is there something I could do better to use the board definitions to separate code out dependent on the board type? |
Beta Was this translation helpful? Give feedback.
https://github.com/dbuezas/lgt8fx/wiki/Identifying-MCU-and-board-variants-using-preprocessor