Closed marcel-licence closed 1 year ago
Sorry for the delayed response! I see 'Using board GenH7' in the output there. Are you using the Generic H7 device or do you have the daisy seed selected? You should also make sure you've got the latest versions of daisyduino and stm32duino. There's more instructions on all of that here
Thank you for your response. I will check it and come back to you with my results.
DaisyDuino is updated to the last version: 1.4.0. There is no update available in arduino. "Daisy Seed" can be found as board part number listet in the "STM32 H7" boards. But this was the stm32duino version 2.1 which is now deprecated.
Your manual might be outdated because it refers to the stm32duino version 2.0 which would be outdated: https://github.com/stm32duino/wiki/wiki/Getting-Started
The is a new version be Seeed Studio (not sure if I had compiling issues by trying to use it):
Hi Marcel!
We're currently going around checking up and was wondering if you were still having this issue. DaisyDuino and its documents have been updated since December of 2021 so we recommend giving it a try again. Thanks!
Hi,
thank you for coming back to me. I've updated DaisyDuino to version 1.6.3 and tried to compile an example.
It looks like that the selected core does not work for me and I have to update or find another:
My configuration:
Core: STM32 boards groupsName | Version | Url | Git | Core library |
DaisyDuino | 1.6.3 | https://github.com/electro-smith/DaisyDuino | https://github.com/electro-smith/DaisyDuino.git | False |
Wire | 1.0 | http://www.arduino.cc/en/Reference/Wire | True | |
Source Wrapper | 1.0.1 | True |
The build error which occurred:
C:\Users\...\Documents\Arduino\libraries\DaisyDuino\src\AudioClass.cpp:292:13: error: 'PD3' was not declared in this scope; did you mean 'D3'?
292 | pinMode(PD3, INPUT_PULLUP);
| ^~~
| D3
Following configuration worked for me (looks like the Core shouldn't be too old:
Core: STM32 boards groups
Version: 2.4.0
Board: Generic STM32H7 Series
Board part number: Daisy Seed
Upload method: STM32CubeProgrammer (DFU)
U(S)ART support: Enabled (generic 'Serial')
USB support (if available): CDC (generic 'Serial' supersede U(S)ART)
USB speed (if available): Low/Full Speed
Optimize: Smallest (-Os default)
Debug symbols and core logs: None
C Runtime Library: Newlib Nano (default)
I can confirm that the examples now do work without any changes. Thank you!
After updating the board and the library there is no audio output when uploading a compiled example sketch with arduino.
Compiler and linker is used from this directory:
\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\tools\\xpack-arm-none-eabi-gcc\\10.2.1-1.1/bin/
The blink example was successful (led was blinking). In addition to that, adding print statements and activation of CDC was also successful. Only the audio seems to be dead.