[ 
https://issues.apache.org/jira/browse/MYNEWT-13?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Marko Kiiskila updated MYNEWT-13:
---------------------------------
    Description: 
STM32F3 flash writes are done 2 bytes at a time. MK64F12 flash alignment is 8. 
NFFS should take into account alignment restrictions underlying storage has.

E.g. add alignment requirement in struct hal_flash. Add an HAL flash API call 
to query this. NFFS would then use this when writing/reading blocks of data 
from flash.

  was:
STM32F3 flash writes are done 2 bytes at a time. NFFS should take into account 
alignment restrictions underlying storage has.

E.g. add alignment requirement in struct hal_flash. Add an HAL flash API call 
to query this. NFFS would then use this when writing/reading blocks of data 
from flash.


> NFFS does not work on STM32F3 or NXP MK64F12
> --------------------------------------------
>
>                 Key: MYNEWT-13
>                 URL: https://issues.apache.org/jira/browse/MYNEWT-13
>             Project: Mynewt
>          Issue Type: Bug
>          Components: NFFS
>            Reporter: Marko Kiiskila
>            Assignee: Christopher Collins
>            Priority: Minor
>             Fix For: v1_1_beta1
>
>
> STM32F3 flash writes are done 2 bytes at a time. MK64F12 flash alignment is 
> 8. NFFS should take into account alignment restrictions underlying storage 
> has.
> E.g. add alignment requirement in struct hal_flash. Add an HAL flash API call 
> to query this. NFFS would then use this when writing/reading blocks of data 
> from flash.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to