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
Arduino DLO138 / DSO138 compiles with 100reds of errors...
Arduino DLO138 / DSO138 compiles with 100reds of errors...
- Attachments
-
- Screenshot.png (41.96 KiB) Viewed 6891 times
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.
Go to full postThe 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...
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.
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...
Thank you very much for pointing me to use RogerClarks Library instead - DLO138 compiled now without errors.
-
- Posts: 633
- Joined: Thu Dec 19, 2019 1:23 am
Re: Arduino DLO138 / DSO138 compiles with 100reds of errors...
You will find lots of discussions on: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.
https://stm32duinoforum.com/forum/index_php.html