Search found 18 matches

by caniggia
Mon Sep 04, 2017 7:04 am
Forum: IDE's
Topic: Debug STM32 with VScode
Replies: 28
Views: 1167

Re: Debug STM32 with VScode

@And_Ru Press F1 and type "arduino" and you will get all the Arduno commands: Arduino: Board Manager: Manage packages for boards. You can add 3rd party Arduino board by configuring Additional Board Manager URLs in board manager. Arduino: Change Baud Rate: Change the baud rate of selected serial port...
by caniggia
Wed Aug 30, 2017 9:48 am
Forum: IDE's
Topic: Debug STM32 with VScode
Replies: 28
Views: 1167

Re: Debug STM32 with VScode

@vitor_boss How i did it on Windows 10. Tested with ST-Link & Bluepill. 1.) Download and install "Arduino": https://www.arduino.cc/en/Main/Software 2.) In Arduino "Boards Manager" install "Arduino SAMD Boards", not "Ardiuno SAM Boards"!!! 3.) Download rogerclarkmelbourne's repo: https://github.com/r...
by caniggia
Fri Aug 18, 2017 12:00 pm
Forum: IDE's
Topic: Debug STM32 with VScode
Replies: 28
Views: 1167

Re: Debug STM32 with VScode

@stuartw
I would prefer it if I could see compiler output, however it is probably hidden somewhere.
Add to "arduino.json" this line:
"output": "build",

and you will get all compiled files in subfolder named "build".


BR
caniggia
by caniggia
Fri Aug 18, 2017 11:02 am
Forum: IDE's
Topic: Debug STM32 with VScode
Replies: 28
Views: 1167

Re: Debug STM32 with VScode

Hi @stuartw Make sure the folder in "..\Documents\Arduino\hardware\" is called “Arduino_STM32”, not “Arduino_STM32-master”. * For OpenOCD you need: Add 2 folders(Arduino_STM32 & scripts) from attached zip to "C:\Users\<username>\AppData\Local\Arduino15\packages\". Zip is too long to attach it here, ...
by caniggia
Tue Aug 01, 2017 12:35 pm
Forum: IDE's
Topic: Debug STM32 with VScode
Replies: 28
Views: 1167

Re: Debug STM32 with VScode

VScode Blink project for bluepill.
Set for ST-Link upload.
To change upload method:
Press F1 nad type "Arduin: Board Config"
For Verify/Compile press CTRL+ALT+R
For Upload press CTRL+ALT+U

caniggia
by caniggia
Tue Aug 01, 2017 10:37 am
Forum: IDE's
Topic: Debug STM32 with VScode
Replies: 28
Views: 1167

Re: Debug STM32 with VScode

@RogerClark

Press F1 (or Ctrl+Shift+p),
and type "arduino" and you will get all arduino plugin commands.

caniggia
by caniggia
Tue Jul 25, 2017 9:25 am
Forum: IDE's
Topic: Debug STM32 with VScode
Replies: 28
Views: 1167

Re: Debug STM32 with VScode

HI @iamseer

It works on windows too.

thnx
caniggia
by caniggia
Mon Jun 12, 2017 12:25 pm
Forum: STM Core
Topic: Arduino_Core_STM32F1 & I2C
Replies: 13
Views: 764

Re: Arduino_Core_STM32F1 & I2C

Hi @Wi6Labs In slave sketch i've commented out delay in loop. And also Serial.print's in receiveEvent. It works OK even without delay between Read & Write in master. Then i've changed the order in master. First Write then Read. Because i'm gonna use it that way. Master sends command and then get dat...
by caniggia
Thu Jun 08, 2017 8:44 am
Forum: STM Core
Topic: Arduino_Core_STM32F1 & I2C
Replies: 13
Views: 764

Re: Arduino_Core_STM32F1 & I2C

Hi @Wi6Labs & @fpiSTM Thanks for your effort to get this slave library to work. The delay inside the slave loop example must be less than the delay between read and write command inside the loop of master example. Maybe you can just remove it. The Serial speed must be increase to allow to exit the f...
by caniggia
Fri Jun 02, 2017 11:57 am
Forum: STM Core
Topic: Arduino_Core_STM32F1 & I2C
Replies: 13
Views: 764

Re: Arduino_Core_STM32F1 & I2C

Maybe this will help. I've changed delay from 20ms to 100ms: hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello x is b x is c x is d x is e hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello It's better b...