forked from ARMmbed/DAPLink
-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Microbit features develop rebase #7
Open
microbit-carlos
wants to merge
56
commits into
develop
Choose a base branch
from
microbit_features_develop_rebase
base: develop
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-Added ROM setting to enable/disable feature via .cfg files. -Implemented hook at flash_decoder layer once the first 12 vectors are obtained (flash decoder min size)
-hook for custom reset button handling -hook for 30ms event tick -hook for power down event -usb state udpate
-Add KL27Z NXP drivers -Power monitor (detect power source) -Board Rev Id detection -i2c support -low power support -button and LED handling
-build filesystem hook for error blob app and DATA.BIN file creation -Added microbit custom BL project for custom URL in HELP_FAQ.HTM -I2C comms and flash interface -SWD clock speed improvements
-Make power LED remain active in VLPS mode. Changed FlexIO source clock to one that is active in VLPS. -Removed NRF Power mode property -Added Power LED sleep state property -Changed size of properties 0x01-03 to 2B
…le. Add documentation on the feautre.
…, .txt, .csv, .htm, .wav).
-Add property for Kl27 user event (wakeup or long button press) -Blink LED when attempting to enter deep sleep but are PC connected -Hold interrupt line to send I2C message on reset long press -Clear I2C responses after first read in the comms interface
-Change wake up when the reset button is pressed instead of released -Add hook in bootloader project to bypass reset button check to jump directly to the interface -Reset the nRF whenever we wakeup from the reset button independently of the press duration
-Keep red LED ON after a long press. -When the reset button is pressed, the KL27 will reset the `Power LED Sleep state` value to the default ON -Red LED in deep sleep mode now depends on the `Power LED Sleep state` it can be either HIGH or LOW but no PWM.
…ew event so the nrf can see the new edges.
…this command doesn't assert the interrupt line.
…SENSOR_INT caused by WAKE_ON_EDGE
…e.g attaching usb device to VM)
… of waiting to the main loop poll to update the status.
… getting PWR_SOURCE_NONE.
-Add support for reading flash config data -Change filesize to bytes instead of KB -Fix address ranges in erase storage cmd -Add more validations to different commands
-Keep interrupts enabled during flash operations -Shortened I2C ISR
-Disable USB regulator, it's not needed since we use external regulator -Disable more pins during power down, and disable unecessary internal pullups
-Add timeout for staying in RUN mode after waking up or receiving I2C transaction -Prevent entering sleep if I2C command is being processed -Update power source when usb is attached/detached -Don't process I2C Writes with nop cmd
…stead of waiting for the whole enumeration process to be finished.
…handling when target flash operation is in progress
…ted to return LED to its default state and clear pending I2C interrupts
…es to ignore any long press event
… of up to 127KB
- Set backdoor key to 'MICROBIT'. - Enable FPROT for first 32 kB of flash. - Fix FPROTx numbering according to KL27 RM, where FPROT3 is at address 0x408. - Enable backdoor key in FSEC. - Added asterisks next to selected options in comments for FOPT and FSEC.
(cherry picked from commit fb4d5da)
(cherry picked from commit 1d7ad5d) Modifications: -Only define MICROBIT_LOCK_BOOTLOADER for kl27z_microbit_bl project -Keep only one common: section in kl27z_microbit_bl.yaml
update formatting made microbit specific changes to be board configurable via yaml files
Fix GCC builds by closing the unterminated comment in startup_MKL27Z4.S.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Thanks @c1728p9 for rebasing the
microbit_features
branch and resolve the conflicts.From the original notes: