-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Open
Description
Hi, I'm getting a compilation error using Adafruit_NeoPixel 1.15.1. This error does not occur on 1.15.0 and below.
/Users/hkhan/Documents/Arduino/libraries/Adafruit_NeoPixel/Adafruit_Neopixel_RP2.cpp: In member function 'bool Adafruit_NeoPixel::rp2040claimPIO()':
/Users/hkhan/Documents/Arduino/libraries/Adafruit_NeoPixel/Adafruit_Neopixel_RP2.cpp:9:9: error: 'pio_claim_free_sm_and_add_program_for_gpio_range' was not declared in this scope
if (! pio_claim_free_sm_and_add_program_for_gpio_range(&ws2812_program,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/hkhan/Documents/Arduino/libraries/Adafruit_NeoPixel/Adafruit_Neopixel_RP2.cpp: In member function 'void Adafruit_NeoPixel::rp2040releasePIO()':
/Users/hkhan/Documents/Arduino/libraries/Adafruit_NeoPixel/Adafruit_Neopixel_RP2.cpp:35:3: error: 'pio_remove_program_and_unclaim_sm' was not declared in this scope
pio_remove_program_and_unclaim_sm(&ws2812_program, pio, pio_sm, pio_program_offset);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/hkhan/Documents/Arduino/libraries/Adafruit_NeoPixel/Adafruit_Neopixel_RP2.cpp:35:3: note: suggested alternative: 'pio_remove_program'
pio_remove_program_and_unclaim_sm(&ws2812_program, pio, pio_sm, pio_program_offset);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pio_remove_program
exit status 1
Compilation error: exit status 1
jhchai, Nephylie, hc2hunter and JacTech
Metadata
Metadata
Assignees
Labels
No labels