arduino-esp32/cores/esp32
Luca Burelli 55bd1d5ee2
digitalPinToInterrupt: fix double pin remapping (#10373)
The digitalPinToInterrupt() macro currently remaps the pin number to the
GPIO number. This is not necessary, as most users will then use the
returned value in attachInterrupt() or other similar API functions,
which already perform the same remapping.

The first half of the macro (the condition) does indeed require the
remapping to ensure the check operates on GPIO numbers.

Fixes espressif/arduino-esp32#10367.
2024-09-25 23:47:08 +03:00
..
apps/sntp Update IDF to 3.2-3276a13 and esptool.py to 2.5.0 (#1878) 2018-09-21 08:39:36 +02:00
libb64 refactor(style): Change some style options (#9526) 2024-04-19 18:16:55 +03:00
Arduino.h digitalPinToInterrupt: fix double pin remapping (#10373) 2024-09-25 23:47:08 +03:00
base64.cpp Refactor repository with pre-commit hooks (#9515) 2024-04-15 19:40:56 +03:00
base64.h refactor(style): Change some style options (#9526) 2024-04-19 18:16:55 +03:00
binary.h Refactor repository with pre-commit hooks (#9515) 2024-04-15 19:40:56 +03:00
cbuf.cpp refactor(style): Change some style options (#9526) 2024-04-19 18:16:55 +03:00
cbuf.h refactor(style): Change some style options (#9526) 2024-04-19 18:16:55 +03:00
chip-debug-report.cpp fix(report): Print correct chip revision (#10277) 2024-09-09 12:39:30 +03:00
chip-debug-report.h ESP-IDF v5.1 (#7733) 2023-10-05 14:54:25 +03:00
Client.h refactor(style): Change some style options (#9526) 2024-04-19 18:16:55 +03:00
Esp.cpp fix(chip): Return correct ESP32 chip model (#10243) 2024-08-26 15:02:22 +03:00
Esp.h refactor(style): Change some style options (#9526) 2024-04-19 18:16:55 +03:00
esp32-hal-adc.c Update analogContinuous function for passing pins as const and constexpr (#10044) 2024-07-22 11:59:18 +03:00
esp32-hal-adc.h Update analogContinuous function for passing pins as const and constexpr (#10044) 2024-07-22 11:59:18 +03:00
esp32-hal-bt.c refactor(style): Change some style options (#9526) 2024-04-19 18:16:55 +03:00
esp32-hal-bt.h refactor(style): Change some style options (#9526) 2024-04-19 18:16:55 +03:00
esp32-hal-cpu.c refactor(style): Change some style options (#9526) 2024-04-19 18:16:55 +03:00
esp32-hal-cpu.h refactor(style): Change some style options (#9526) 2024-04-19 18:16:55 +03:00
esp32-hal-dac.c refactor(style): Change some style options (#9526) 2024-04-19 18:16:55 +03:00
esp32-hal-dac.h refactor(style): Change some style options (#9526) 2024-04-19 18:16:55 +03:00
esp32-hal-gpio.c Change "neopixel" references to use RGB LED naming (#10225) 2024-08-28 09:53:24 +03:00
esp32-hal-gpio.h fix(gpio): Add missing include for digitalPinCanOutput (#10070) 2024-07-29 12:49:45 +03:00
esp32-hal-i2c-slave.c refactor(style): Change some style options (#9526) 2024-04-19 18:16:55 +03:00
esp32-hal-i2c-slave.h refactor(style): Change some style options (#9526) 2024-04-19 18:16:55 +03:00
esp32-hal-i2c.c fix(i2c): Ensure that semaphore is properly given if init fails (#10313) 2024-09-10 16:18:16 +03:00
esp32-hal-i2c.h refactor(style): Change some style options (#9526) 2024-04-19 18:16:55 +03:00
esp32-hal-ledc.c feat(LEDC): Adds the ability to set the clock source for the LEDC (#10171) 2024-08-28 17:09:56 +03:00
esp32-hal-ledc.h feat(LEDC): Adds the ability to set the clock source for the LEDC (#10171) 2024-08-28 17:09:56 +03:00
esp32-hal-log.h fix(esp-hal-log):Provide a default TAG name for USE_ESP_IDF_LOG logging macro (#9686) 2024-05-27 16:34:40 +03:00
esp32-hal-matrix.c refactor(style): Change some style options (#9526) 2024-04-19 18:16:55 +03:00
esp32-hal-matrix.h refactor(style): Change some style options (#9526) 2024-04-19 18:16:55 +03:00
esp32-hal-misc.c fix(xtal): Add a way to change the XTAL frequency for SparkFun ESP32 Thing (#9844) 2024-06-13 10:26:54 +03:00
esp32-hal-periman.c refactor(style): Change some style options (#9526) 2024-04-19 18:16:55 +03:00
esp32-hal-periman.h refactor(style): Change some style options (#9526) 2024-04-19 18:16:55 +03:00
esp32-hal-psram.c refactor(style): Change some style options (#9526) 2024-04-19 18:16:55 +03:00
esp32-hal-psram.h refactor(style): Change some style options (#9526) 2024-04-19 18:16:55 +03:00
esp32-hal-rgb-led.c Change "neopixel" references to use RGB LED naming (#10225) 2024-08-28 09:53:24 +03:00
esp32-hal-rgb-led.h Change "neopixel" references to use RGB LED naming (#10225) 2024-08-28 09:53:24 +03:00
esp32-hal-rmt.c feat(rmt): Solve neopixel issue (#9906) 2024-06-20 16:33:06 -03:00
esp32-hal-rmt.h refactor(style): Change some style options (#9526) 2024-04-19 18:16:55 +03:00
esp32-hal-sigmadelta.c refactor(style): Change some style options (#9526) 2024-04-19 18:16:55 +03:00
esp32-hal-sigmadelta.h refactor(style): Change some style options (#9526) 2024-04-19 18:16:55 +03:00
esp32-hal-spi.c refactor(style): Change some style options (#9526) 2024-04-19 18:16:55 +03:00
esp32-hal-spi.h refactor(style): Change some style options (#9526) 2024-04-19 18:16:55 +03:00
esp32-hal-time.c refactor(style): Change some style options (#9526) 2024-04-19 18:16:55 +03:00
esp32-hal-timer.c fix(timer): Typo - milis instead of millis (#10193) 2024-08-22 23:44:17 +03:00
esp32-hal-timer.h fix(timer): Typo - milis instead of millis (#10193) 2024-08-22 23:44:17 +03:00
esp32-hal-tinyusb.c feat(usb): Support the new USB IDF API (#9761) 2024-06-03 15:45:31 +03:00
esp32-hal-tinyusb.h refactor(style): Change some style options (#9526) 2024-04-19 18:16:55 +03:00
esp32-hal-touch.c refactor(style): Change some style options (#9526) 2024-04-19 18:16:55 +03:00
esp32-hal-touch.h refactor(style): Change some style options (#9526) 2024-04-19 18:16:55 +03:00
esp32-hal-uart.c fix(spelling): Fix misspellings detected by codespell and enable it (#10232) 2024-08-28 15:43:02 +03:00
esp32-hal-uart.h fix(hal-uart): truncated tx/rx buffer size (uint16_t -> uint32_t) (#9554) 2024-04-29 18:14:22 +03:00
esp32-hal.h refactor(style): Change some style options (#9526) 2024-04-19 18:16:55 +03:00
esp8266-compat.h refactor(style): Change some style options (#9526) 2024-04-19 18:16:55 +03:00
esp_arduino_version.h Update core version to 3.0.5 2024-09-18 14:54:00 +03:00
extra_attr.h refactor(style): Change some style options (#9526) 2024-04-19 18:16:55 +03:00
firmware_msc_fat.c refactor(style): Change some style options (#9526) 2024-04-19 18:16:55 +03:00
firmware_msc_fat.h refactor(style): Change some style options (#9526) 2024-04-19 18:16:55 +03:00
FirmwareMSC.cpp refactor(style): Change some style options (#9526) 2024-04-19 18:16:55 +03:00
FirmwareMSC.h Refactor repository with pre-commit hooks (#9515) 2024-04-15 19:40:56 +03:00
FunctionalInterrupt.cpp refactor(style): Change some style options (#9526) 2024-04-19 18:16:55 +03:00
FunctionalInterrupt.h Refactor repository with pre-commit hooks (#9515) 2024-04-15 19:40:56 +03:00
HardwareI2C.h Refactor repository with pre-commit hooks (#9515) 2024-04-15 19:40:56 +03:00
HardwareSerial.cpp fix(uart): Sets XTAL as clock source for uart (#10087) 2024-08-01 12:09:59 +03:00
HardwareSerial.h fix(spelling): Fix misspellings detected by codespell and enable it (#10232) 2024-08-28 15:43:02 +03:00
HashBuilder.h refactor(style): Change some style options (#9526) 2024-04-19 18:16:55 +03:00
HEXBuilder.cpp refactor(style): Change some style options (#9526) 2024-04-19 18:16:55 +03:00
HEXBuilder.h refactor(style): Change some style options (#9526) 2024-04-19 18:16:55 +03:00
HWCDC.cpp fix(spelling): Fix misspellings detected by codespell and enable it (#10232) 2024-08-28 15:43:02 +03:00
HWCDC.h fix(cdc): Disable SOF interrupt and CDC reset on begin() (#9628) 2024-05-15 13:58:45 +02:00
io_pin_remap.h Change "neopixel" references to use RGB LED naming (#10225) 2024-08-28 09:53:24 +03:00
IPAddress.cpp fix(net): Fix IPv4 address construction from ip_addr_t and comparison (#9724) (#9725) 2024-05-30 14:18:46 +03:00
IPAddress.h fix(net): Add back the friend classes required for Ethernet.h to work (#9635) 2024-05-15 13:15:10 +02:00
MacAddress.cpp change(idf): Rename component example and fix compilation warnings (#9801) 2024-06-10 15:30:18 +03:00
MacAddress.h refactor(style): Change some style options (#9526) 2024-04-19 18:16:55 +03:00
main.cpp fix(xtal): Add a way to change the XTAL frequency for SparkFun ESP32 Thing (#9844) 2024-06-13 10:26:54 +03:00
MD5Builder.cpp refactor(style): Change some style options (#9526) 2024-04-19 18:16:55 +03:00
MD5Builder.h refactor(style): Change some style options (#9526) 2024-04-19 18:16:55 +03:00
pgmspace.h refactor(style): Change some style options (#9526) 2024-04-19 18:16:55 +03:00
Print.cpp Refactor repository with pre-commit hooks (#9515) 2024-04-15 19:40:56 +03:00
Print.h refactor(style): Change some style options (#9526) 2024-04-19 18:16:55 +03:00
Printable.h refactor(style): Change some style options (#9526) 2024-04-19 18:16:55 +03:00
Server.h Refactor repository with pre-commit hooks (#9515) 2024-04-15 19:40:56 +03:00
SHA1Builder.cpp refactor(style): Change some style options (#9526) 2024-04-19 18:16:55 +03:00
SHA1Builder.h refactor(style): Change some style options (#9526) 2024-04-19 18:16:55 +03:00
stdlib_noniso.c refactor(style): Change some style options (#9526) 2024-04-19 18:16:55 +03:00
stdlib_noniso.h refactor(style): Change some style options (#9526) 2024-04-19 18:16:55 +03:00
Stream.cpp fix(api): Update Arduino Stream class (#10328) 2024-09-13 10:49:49 +03:00
Stream.h Fix missing virtual declarations in Stream.h (#10348) 2024-09-17 11:54:48 +03:00
StreamString.cpp refactor(style): Change some style options (#9526) 2024-04-19 18:16:55 +03:00
StreamString.h refactor(style): Change some style options (#9526) 2024-04-19 18:16:55 +03:00
Tone.cpp feat(tone): missing set tone channel implementation (#10305) 2024-09-09 12:45:13 +03:00
Udp.h refactor(style): Change some style options (#9526) 2024-04-19 18:16:55 +03:00
USB.cpp refactor(style): Change some style options (#9526) 2024-04-19 18:16:55 +03:00
USB.h refactor(style): Change some style options (#9526) 2024-04-19 18:16:55 +03:00
USBCDC.cpp fix(cdc): Disable SOF interrupt and CDC reset on begin() (#9628) 2024-05-15 13:58:45 +02:00
USBCDC.h refactor(style): Change some style options (#9526) 2024-04-19 18:16:55 +03:00
USBMSC.cpp feat(usbmsc): Add is_writable function to the USBMSC class. (#9569) 2024-05-13 15:10:45 +02:00
USBMSC.h feat(usbmsc): Add is_writable function to the USBMSC class. (#9569) 2024-05-13 15:10:45 +02:00
WCharacter.h refactor(style): Change some style options (#9526) 2024-04-19 18:16:55 +03:00
wiring_private.h refactor(style): Change some style options (#9526) 2024-04-19 18:16:55 +03:00
wiring_pulse.c refactor(style): Change some style options (#9526) 2024-04-19 18:16:55 +03:00
wiring_shift.c fix(spelling): Fix misspellings detected by codespell and enable it (#10232) 2024-08-28 15:43:02 +03:00
WMath.cpp Refactor repository with pre-commit hooks (#9515) 2024-04-15 19:40:56 +03:00
WString.cpp refactor(style): Change some style options (#9526) 2024-04-19 18:16:55 +03:00
WString.h refactor(style): Change some style options (#9526) 2024-04-19 18:16:55 +03:00