Git Product home page Git Product logo

Comments (5)

zxfr avatar zxfr commented on August 26, 2024

I also stuck with compilation troubles. The generic STM32F1x has no Timer2 etc. It would help a lot if you share with us board definitions for DSO138 and DSO150, or at least hints how to adjust the generic board def. Thanks in advance!

from dlo-138.

dgajew avatar dgajew commented on August 26, 2024

STM32 Boards / Generic STM32F103C; Variant: STM32F103C8

from dlo-138.

zxfr avatar zxfr commented on August 26, 2024

STM32 Boards / Generic STM32F103C; Variant: STM32F103C8

Thank you for the hint, dgajew! It was a good starting point...

The standard stm32duino does not include the variant. So as I learned it is also required to copy board definitions from
https://github.com/rogerclarkmelbourne/Arduino_STM32
to ~/Arduino/hardware

With Arduino v1.8.10 and the most recent stm32duino it still did not compile until I installed "Arduino SAM Boards" from the default list of Arduino boards (obviously it installed a missing specific g++ version)

Now I've got it to successfully compile, hopefully with harmless warnings:
/var/folders/j1/tkr8d9cn6czf9xhy0lkwdb1w0000gn/T//ccODeO0I.s:464: Warning: register range not in ascending order

from dlo-138.

GHGARC avatar GHGARC commented on August 26, 2024

Hi all
After installing the board / variant: STM32 Boards / Generic STM32F103C; Variant: STM32F103C8 and the Arduino SAM Boards
the software successfully compile, but the binary once downloaded to the DSO138 is still not working.
This is due to some ports (PB3/PB4, PA13/PA14/PA15) that are allocated to JTAG debug in the STM32F103C8 after reset.
To overcome this issue the afio_cfg_debug_ports(AFIO_DEBUG_NONE) function needs to be replaced by disableDebugPorts();
Recompile again, download firmware to DSO138 and enjoy!
Thanks to Ardyesp for this great piece of software!!

from dlo-138.

kittenarmy avatar kittenarmy commented on August 26, 2024

Hi all After installing the board / variant: STM32 Boards / Generic STM32F103C; Variant: STM32F103C8 and the Arduino SAM Boards the software successfully compile, but the binary once downloaded to the DSO138 is still not working. This is due to some ports (PB3/PB4, PA13/PA14/PA15) that are allocated to JTAG debug in the STM32F103C8 after reset. To overcome this issue the afio_cfg_debug_ports(AFIO_DEBUG_NONE) function needs to be replaced by disableDebugPorts(); Recompile again, download firmware to DSO138 and enjoy! Thanks to Ardyesp for this great piece of software!!

I tried this but it still gave me white screen. Which version SAM did you have installed? I tried 1.6.12.

from dlo-138.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.