Skip to content

Conversation

@Chimstaz
Copy link
Collaborator

This patchset add STM32L4xx support. It is based on #41, so please merge that one before. After that I will rebase it on newer master. This close #43.

Current implementation doesn't need delay, because code it self need
1 micro second per TCK cycle. This gives 1 MHz so it is correct for
targets with 6 MHz CPU clocks and faster.

This patch add special delay routine when TCKWAIT is 0. If TCKWAIT is
non zero it is interpreted as delay in microseconds. This way it is easy
to set longer TCK cycle if needed.
When small binary file is loaded, only part of flash could be erased.
This feature speed up flash time. It is added only for files smaller
than 512 kb, because this doesn't add much of complexity to erase
routine.
This patch add support for STM32L4xx family.
Additionlay fixed memory managment bug in stm32f4.c (founded while
debuging and changing code to work with STM32L4xx).
@Chimstaz Chimstaz requested a review from maxiwoj November 12, 2018 16:03
By mistake previous command changed 'b' and 'r' to flash second taget
not first one.
@maxiwoj maxiwoj merged commit 76c9fa9 into master Nov 13, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add STM32L4x target

3 participants