.. index:: examples-from-therelease, driver,library,adc,blinky,button,can,comparator,dac,delay,dma.epaper,esp8266.ethernet,flash.gpio,gps,htu21df,i2c.imu,interrupt,led,lcd,loran,nunchuk,nvic,one wire,otg,pll,pwm,rcc,rng,rtc,servo,sdcard,si4432,sinewave,spi,ssd1306,ST1306,st7735,stepper,systick,tft,timer,tsc,uart,ultrasonic,usb,wifi,ws2812 .. _examples-from-therelease: .. Created examples-from-therelease.rst: Fri 11 Mar 2022 12:10:58 AEDT .. Full Path: /home/tp/mecrisp-unofficial-doc/examples-from-therelease.rst .. Author Copyright 2022 by t.j.porter .. Made by /home/tp/projects/scripts/makerst.sh -->/usr/local/bin/makerst .. license: MIT, please see COPYING User Contributed Device Driver Code =================================== A excellent source for drivers, peripherals and just learning Forth is the `Mecrisp-Stellaris release `_ itself, where contributors have shared their code. This is the very best way of finding help to use in your project, learning how to write peripheral code, learning about Mecrisp-Stellaris and so on. This resource is the fastest way compared to wading thru a million pasted C code examples via Google looking for ways to make that STM32 Timer code work. Trust me on this .... However, finding what you want can be a bit tedious as there are a LOT of sub-directories to search, so here they are, listed by name and showing where to find them. Sharing Your Code ----------------- If you have device driver code to share, just email Matthias at "m-atthias@users.sf.net" with your code and ask him to include it in the next release. You'll need to state the MCU it's designed for and it will need to be released under the GPL. A suggested source code header is below. Be sure to include the peripheral name in your filename or my search script won't find it for my next update. Also check for any existing drivers of the same type (for your supported MCU) to avoid naming conflicts. Suggested Source File Header ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ :: \ ------------------------------------------------------------ \ File Name: \ Date: \ Copyright: GPL \ For Mecrisp-Stellaris by Matthias Koch. http://mecrisp.sourceforge.net \ MCU Model: \ Aim: This program does .... \ Author: \ ------------------------------------------------------------ User Sources ------------ Download the `latest Mecrisp-Stellaris release here `_ . Example: :: GPIO: ./mk20dx256/gpio.txt is mecrisp-stellaris-2.6.2/mk20dx256/gpio.txt Listed by Device ^^^^^^^^^^^^^^^^ .. literalinclude:: txt/examples.txt Where are the Memory Maps ? ~~~~~~~~~~~~~~~~~~~~~~~~~~~ If the user source doesn't contain the needed peripheral memory maps (it happens sometimes ...) I recommend you read thru the :ref:`CMSIS-SVD` page and download the file at the end. This has everything you need to generate a memory map for your particular MCU, tho you may need to download .svd file. This is explained in the readme. .. note:: SVD2FORTH is designed for STM32 SVD's and may have issues with SVD files for other makes of MCU.