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

Post here all questions related to LibMaple core if you can't find a relevant section!
Post Reply
quertz
Posts: 2
Joined: Sun Apr 18, 2021 6:40 pm

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

Post 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
Attachments
Screenshot.png
Screenshot.png (41.96 KiB) Viewed 219 times
by BennehBoy » Tue Apr 20, 2021 6:50 am
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 post
ag123
Posts: 732
Joined: Thu Dec 19, 2019 5:30 am
Answers: 3

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

Post by ag123 »

welcome do take some time to read this 1st
viewtopic.php?f=2&t=301
viewtopic.php?f=2&t=3
BennehBoy
Posts: 124
Joined: Sat Jan 04, 2020 2:38 am
Answers: 1

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

Post 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.
quertz
Posts: 2
Joined: Sun Apr 18, 2021 6:40 pm

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

Post by quertz »

Thank you very much for pointing me to use RogerClarks Library instead - DLO138 compiled now without errors.
mrburnette
Posts: 410
Joined: Thu Dec 19, 2019 1:23 am
Answers: 1

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

Post 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
Post Reply

Return to “General discussion”