Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Where can I find board definition file for Arduino 1.8.4 #6

Open
kyberkiller opened this issue Aug 31, 2017 · 5 comments
Open

Where can I find board definition file for Arduino 1.8.4 #6

kyberkiller opened this issue Aug 31, 2017 · 5 comments

Comments

@kyberkiller
Copy link

kyberkiller commented Aug 31, 2017

Can someone provide a link to the Arduino board definition file with which this compiles and uploads with Arduino IDE in the original DSO-13803/04 hardware .

@zxfr
Copy link

zxfr commented Jan 16, 2020

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!

@dgajew
Copy link

dgajew commented Jan 16, 2020

STM32 Boards / Generic STM32F103C; Variant: STM32F103C8

@zxfr
Copy link

zxfr commented Jan 18, 2020

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

@GHGARC
Copy link

GHGARC commented Mar 6, 2021

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!!

@kittenarmy
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants