Skip to content

ahmetonat/STM8S-time-base-using-SDCC

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

STM8S-time-base-using-SDCC

Time base function using TIM1 overflow INT and multi-file project example

This is an example of inmplementing a time base for the STM8 with SDCC. It demonstrates a blocking Delayms function, and a non blocking function. It also shows how a multiple file project can be built using multiple Makefiles.

To run, connect the STM8S103F board over a ST-LINK programmer SWIM port, modify the two Makefiles to suit your directory structure, and type

make flash

Please see my companion blog post for more details.

Also see my blog post for setting up an environment for STM8.

About

Timebase function using TIM1 overflow INT and multi-file project example

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published