You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
wiring_digital.c:40:9: warning: implicit declaration of function 'dac_stop'
wiring_analog.c:225:7: warning: implicit declaration of function 'dac_write_value'
Expected behavior
STM32WL devices do not have a DAC peripheral, therefore DAC support should not be enabled for STM32WL variants and the project should build without DAC-related warnings.
Desktop
OS: macOS
PlatformIO Core: latest
STM32 core version: 2.12.0
Toolchain: GCC 12.3.1
Upload method: ST-Link
Board
Name: NUCLEO-WL55JC1
MCU: STM32WL55JC
Additional context
The issue appears to come from STM32WL variant definitions enabling DAC support:
Activity
fpistm commentedon Jun 7, 2026
Hi @anwfeb
The STM32WL has a DAC:
Don't know why you get those warnings with pio. With Arduino I don't think they appears.