[
https://issues.apache.org/jira/browse/MYNEWT-474?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15637997#comment-15637997
]
ASF subversion and git services commented on MYNEWT-474:
--------------------------------------------------------
Commit 1191f1e5214d241105193945b3a1fe975cf9d89b in incubator-mynewt-core's
branch refs/heads/develop from [~vrahane]
[ https://git-wip-us.apache.org/repos/asf?p=incubator-mynewt-core.git;h=1191f1e
]
MYNEWT-474 NRF51 and NRF52 fix HAL flash en/dis
- It was treating the NVMC_CONFIG register as being bitfield but it is a
value register instead, not sure if this fixes anything but it surely
makes it explicit.
> NRF51 and NRF52 fix HAL flash Enable disable statements
> --------------------------------------------------------
>
> Key: MYNEWT-474
> URL: https://issues.apache.org/jira/browse/MYNEWT-474
> Project: Mynewt
> Issue Type: Bug
> Reporter: Vipul Rahane
> Assignee: Vipul Rahane
>
> from:
> {noformat}
> - NRF_NVMC->CONFIG |= NVMC_CONFIG_WEN_Een; /* Enable erase OP */
> {noformat}
> to:
> {noformat}
> + NRF_NVMC->CONFIG = NVMC_CONFIG_WEN_Een; /* Enable erase OP */
> {noformat}
> fixing this at all the places since these are not bits, they are values.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)