Skip to content

Errors on compilation of "dac_write_value" #2770

@beaka

Description

@beaka

⚠ When reporting any issue, please try to provide all relevant information to help on its resolution.

Describe the bug

/home/bruce/.arduino15/packages/STMicroelectronics/hardware/stm32/2.10.1/cores/arduino/wiring_analog.c: In function 'analogWrite': /home/bruce/.arduino15/packages/STMicroelectronics/hardware/stm32/2.10.1/cores/arduino/wiring_analog.c:196:7: error: implicit declaration of function 'dac_write_value'; did you mean 'adc_read_value'? [-Wimplicit-function-declaration] 196 | dac_write_value(p, ulValue, do_init);

To Reproduce
compile some code.

Steps to reproduce the behavior:
Menu: Sketch, Verify/Compile.

Expected behavior
No library errors to show up.

Desktop (please complete the following information):

  • OS: Fedora 42
  • Arduino IDE version: 2.3.6
  • STM32 core version: 2.10.1
  • Tools menu settings if not the default: [e.g. Newlib Standard, No Serial]
  • Upload method: DFU

Board (please complete the following information):
Have not got far enough to purchase one.

Metadata

Metadata

Assignees

No one assigned

    Labels

    invalidThis doesn't seem right

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions