This repository was archived by the owner on Sep 4, 2020. It is now read-only.
forked from arduino/ArduinoCore-nRF528x-mbedos
-
Notifications
You must be signed in to change notification settings - Fork 0
Backport patches from arduino/ArduinoCore-mbed #2
Merged
Conversation
This file contains hidden or 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
A Nordic specific ADC configuration is implemented in 'variant.cpp'. It can be modified using 'analogReference' function, all the reference options are defined in 'pins_arduino.h'. Once the configuration is changed: - the already active ADC objects are reconfigured. - new ADC objects will be set to the most recent configuration.
Implement a Nordic specific function able to change the acquisition time of ADCs.
- PinMode is redefined to be compatible with both Arduino and Mbed contexts - DigitalInOut is employed to handle gpio, it now exploits the reconfigure PinMode symbol
Implements checks on DigitalRead and DigitalWrite functions. If the requested pin is not initialized, it is assigned to a new DigitalInOut object configured as: - if INPUT: no pull and 0 as default value - if OUTPUT: no pull and the argument value as init value
… PPI_CHANNEL and GPIOTE events
Works in sync with upcoming arduino-builder for precompiled libraries
Borrow implementation for samd core Should fix #85
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
This should be the last maintenance release of this core; since this core is based on mbed 5.x branch all functions marked for deprecation are still there; arduino/ArduinoCore-mbed, on the other hand, contains all the new stuff and should replace this core as soon as considered stable.
Direct from Arduino arduino#81