Page 1 of 1

Arduino DLO138 / DSO138 compiles with 100reds of errors...

Posted: Mon Apr 19, 2021 8:30 pm
by quertz
Dear Community,
I am trying to compile the DLO138 (https://github.com/ardyesp/DLO-138) by checkout the files using SVN and renaming the trunk folder into “DLO-138” in a first step followed by doing as described here https://programmersought.com/article/25374132388/

After setting up the suggested Arduino IDE 1.8.5, installing the Arduino_STM32 and selecting the board "GenericF130C8" (see attchment) as given in that tutorial until step 3 - I decided to use STRG+R to compile everything to see whether all libraries have been set correctly. I was expecting everything should compile without having a board connected yet (maybe I am wrong) however it fails with several 100reds of errors starting with the first line in the function void setup() of the main file DLO-138.ino:

DLO-138:21: error: 'AFIO_DEBUG_NONE' was not declared in this scope

I saw several posts here suggesting they’ve already successfully compiled the DLO138 project – thus it must be possible. I would be glad if someone could give a hint what I am doing wrong.

Thankyou very much

Re: Arduino DLO138 / DSO138 compiles with 100reds of errors...

Posted: Tue Apr 20, 2021 12:24 am
by ag123
welcome do take some time to read this 1st
viewtopic.php?f=2&t=301
viewtopic.php?f=2&t=3

Re: Arduino DLO138 / DSO138 compiles with 100reds of errors...

Posted: Tue Apr 20, 2021 6:50 am
by BennehBoy
I think you've used the wrong core, your screenshot shows that you are using the official STM core, but this project appears to use the libmaple based core by Roger Clarke ->https://github.com/rogerclarkmelbourne/Arduino_STM32

The instructions on the page you linked are quite clear that it requires Roger's core.

Once installed you'll have another set of smt32 targets available in the boards manager menu.

Re: Arduino DLO138 / DSO138 compiles with 100reds of errors...

Posted: Wed Apr 21, 2021 8:59 pm
by quertz
Thank you very much for pointing me to use RogerClarks Library instead - DLO138 compiled now without errors.

Re: Arduino DLO138 / DSO138 compiles with 100reds of errors...

Posted: Thu Apr 22, 2021 1:27 am
by mrburnette
quertz wrote: Wed Apr 21, 2021 8:59 pm Thank you very much for pointing me to use RogerClarks Library instead - DLO138 compiled now without errors.
You will find lots of discussions on:
https://stm32duinoforum.com/forum/index_php.html