Closed
Description
ATP uses the
AP3_GPIO_PAD_UNUSED, //The one pad not broken out of the Apollo3 on the Artemis
in the variant file:
When we removed the -w compiler flag, ATP now fails to compile with the following error:
C:\...\...\apollo3\0.0.0\variants\SparkFun_BlackBoard_Artemis_ATP\config\variant.cpp:77:1: error: narrowing conversion of '-1' from 'int' to 'ap3_gpio_pad_t' {aka 'unsigned char'} inside { } [-Wnarrowing]
I plan to change the header files to change UNUSED define to 255 instead of -1.
Metadata
Metadata
Assignees
Labels
No labels