Marzogh / SPIMemory

Arduino library for Flash Memory Chips (SPI based only). Formerly SPIFlash
http://spimemory.readthedocs.io/en/latest/
GNU General Public License v3.0
428 stars 135 forks source link

New board support. STM32L4 #186

Open jacky4566 opened 4 years ago

jacky4566 commented 4 years ago

Feature request

Is your feature request related to a problem? Please describe.

Yes, Trying to get support for STM32L4 Via core from GrumpyOldPizza https://github.com/GrumpyOldPizza/arduino-STM32L4

Currently board crashes when trying to use SPI1

Describe the solution you'd like

Support for Butterfly-STM32L433CC with SPI1

Describe alternatives you've considered

None

Additional context

None


DO NOT DELETE OR EDIT anything below this

Note 1: Make sure to add all the information needed to understand the bug so that someone can help. If any essential information is missing we'll add the 'Needs more information' label and close the issue until there is enough information.

Note 2: For support questions (for example, tutorials on how to use the library), please use the Arduino Forums. This repository's issues are reserved for feature requests and bug reports.


GitHub issue state GitHub issue title GitHub issue author GitHub issue label GitHub issue comments GitHub issue age GitHub issue last update

jacky4566 commented 4 years ago

Got it. Initial testing shows good with the STM32L433CC

Just had to add some extra lines. In the Core variant.h file: #define ARCH_STM32

In the arduino program file: SPI1.begin();