cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F1 to L0 code example porting..

Guillaume Boulay
Associate
Posted on July 13, 2018 at 00:36

Hi,

I'm STM32 starter but like working on it until now !

I got this STM32L0 board and like to add screen on the project so just bouth a 1,5'' eink

https://www.waveshare.com/wiki/File:1.54inch_e-Paper_Module_code.7z

 

it comes with a code example project and says '''easy to port to different MCU since it's based on HAL.'''

what would be the best way to 'import' such example project to an existing code base that works on my L0 ?

*and preferably import just the raw basic so my original code still works.

I guess I should do an empty project using CubeMX based on my MCU,,, then try to import the eink code. 

in order to make it work standalone and only then port it to my current project.

but maybe someone has better ideas.. Thanks

#eink ##stm32l0
1 REPLY 1
henry.dick
Senior II
Posted on July 13, 2018 at 00:53

'

what would be the best way to 'import' such example project to an existing code base that works on my L0 ?'

easy:

1) understand what the code does;

2) implement it on the target.