patacongo opened a new pull request #1832: URL: https://github.com/apache/incubator-nuttx/pull/1832
## Summary The macro name GPIO_PIN collides with naming used by many architectures as noted in PR #1816: $ find . -name "*.h" | xargs grep "define GPIO_PIN[(]" ./arch/arm/src/am335x/hardware/am335x_gpio.h:#define GPIO_PIN(n) (1 << ((n) & 0x1f)) /* Bit n: Pin n, n=0-31 */ ./arch/arm/src/imx6/hardware/imx_gpio.h:#define GPIO_PIN(n) (1 << (n)) /* Bit n: Pin n, n=0-31 */ ./arch/arm/src/imxrt/hardware/imxrt_gpio.h:#define GPIO_PIN(n) (1 << (n)) /* Bit n: Pin n, n=0-31 */ ./arch/arm/src/lpc43xx/hardware/lpc43_gpio.h:#define GPIO_PIN(p) (1 << (p)) /* Bits 0-31: Read/write pin state */ ./arch/arm/src/nrf52/nrf52_gpio.h:# define GPIO_PIN(n) ((n) << GPIO_PIN_SHIFT) ./arch/arm/src/nuc1xx/hardware/nuc_gpio.h:#define GPIO_PIN(n) (1 << (n)) /* Bit n: GPIOx Pin[n] pin value */ ./arch/avr/src/at32uc3/at32uc3_gpio.h:#define GPIO_PIN(n) (1 << (n)) ./include/nuttx/input/stmpe811.h:#define GPIO_PIN(n) (1 << (n)) This commit changes the name used by the STMPE811 driver to STMPE11_GPIO_PIN ## Impact No impact is anticipated. This is a name change only. No functionality change. ## Testing PR check only. There is no functional change. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org