Skip to content

Arduino STM32. Hardware files to support STM32 boards, on Arduino IDE 1.8.x including LeafLabs Maple and other generic STM32F103 boards

License

Notifications You must be signed in to change notification settings

WHILL/Arduino_STM32

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Arduino STM32

Notice

This software is experimental and a work in progress. Under no circumstances should these files be used in relation to any critical system(s). Use of these files is at your own risk.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Summary:

This repo contains the "Hardware" files to support STM32 based boards on Arduino version 1.8.x (some older versions may also work) including LeafLabs Maple, and Maple mini, and other generic STM32F103 boards.

We are also on Gitter https://gitter.im/stm32duino/Lobby/ Gitter

Background & Support:

Known issues

  • Use of static variables inside functions greatly increase the code size becuase additional code is needed for thread-safe handling of these statics. If this is a problem for your application, please edit platform.txt and add -fno-threadsafe-statics the compiler.cpp.flags

Additional Links & Info:

Purchase info:

Entry level boards

Bigger boards (You need to load the stm32duino bootloader)

Some suppliers have this board e.g.

Configure BOOT0/RESET pins from DTR/RTS

Added by WHILL Inc

If you would like to configure BOOT0/RESET pins by remote, This circuit maybe helpful to enter bootloader mode automatically. Also if you choose Serial as upload method on Arduino IDE, in this repositry runs reset command by flipping DTR/RTS lines when you upload a sketch. (Only on Linux currently) Besides this allows flash firmware remotely without STM32duino bootloader. On rare ossasions STM32Bootloader fails to go into DFU mode. This may useful if you hope more stability especially application hard to touch reset button or BOOT config pins.

1uF capacitor and 100k resistor on Reset line make delay on reset.

Following commands are used to reset or get into bootloader mode.

  • Reset : Arduino_STM32/tools/linux/serial/upload-reset-flow
  • Into Bootloader: Arduino_STM32/tools/linux/serial/upload-set-bootmode

About

Arduino STM32. Hardware files to support STM32 boards, on Arduino IDE 1.8.x including LeafLabs Maple and other generic STM32F103 boards

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 65.9%
  • C++ 27.3%
  • Java 2.0%
  • HTML 1.7%
  • Assembly 1.2%
  • Python 0.6%
  • Other 1.3%