Giter Club home page Giter Club logo

stm32_ssd1306_oled_spi_baremetal's Introduction

STM32_SSD1306_OLED_SPI_Baremetal

Baremetal code to drive SSD1306 OLED Driver connected to an STM32F407 Board through SPI.

To run OLED Boot Countdown Animation

- Build the code:
	- make clean
	- make

- On term1, run the command:
	- openocd -f interface/stlink-v2.cfg -f target/stm32f4x.cfg

- On term2, run the command:
	- arm-none-eabi-gdb --nx -ex 'set remotetimeout unlimited' -ex 'set confirm

off' -ex 'target remote 127.0.0.1:3333' -ex 'monitor reset halt' -ex 'monitor flash write_image erase <PATH_TO_BUILD_OUTPUT>/flash.bin 0x08000000' -ex 'monitor reset halt' <PATH_TO_BUILD_OUTPUT>/flash.elf

To run OpenOCD scripts:

- On term1, run the command:
	- openocd -f interface/stlink-v2.cfg -f target/stm32f4x.cfg

- On term2, run the command:
	- telnet localhost 4444
	- reset halt

	- Continue on term2. Enter each of the TCL commands & functions in the script manually.
	- Once done, call the main functions in order:
		- main1
		- main2
		- main3
	- You should now have your 0.96" OLED working!

stm32_ssd1306_oled_spi_baremetal's People

Contributors

digitallyamar avatar

Stargazers

 avatar

Watchers

 avatar  avatar

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.