Replies: 4 comments 1 reply
-
Hi @beaka . |
Beta Was this translation helpful? Give feedback.
-
The target was Generic STM32H7/Gerneric H747AGIx Default options for selecting the board. Just want to see if any code will compile, will upload whenever I can get any code to compile. I am trying to see if there is any better way for ADC/DAC use than analog read. Do not want to use CubeIDE. I did use libmaple years ago to sample at a specific sample rate and output to PWM but that will not work in V2 Arduino IDE. |
Beta Was this translation helpful? Give feedback.
-
This is known to compile. |
Beta Was this translation helpful? Give feedback.
-
Not sure what version you are using but I did an uninstall of the STM32 borads and the full Arduino flatpack then reinstalled both and now I get these errors. Compilation error: macro "Error_Handler" passed 1 arguments, but takes just 0` I had commented out the "Error_Handler" lines previously. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
⚠ 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):
Board (please complete the following information):
Have not got far enough to purchase one.
Beta Was this translation helpful? Give feedback.
All reactions