POC of moving NRF51_unified to common sources [former nRF52840 ONLY port] #8
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.
Description
This is POC of moving NRF51 unified targets to common source for all Nordic's MCU. In directory of this port (./TARGET_NRF5_SDK13 were placed two nRF5 SDK versions: 11 and 13). HAL implementations are unified (where possible)
Changes:
renamed dir. ./sdk -> ./sdk13
copied dir. NRF5/sdk -> ./sdk11
copied dir. NRF5/TARGET_NRF51822_UNIFIED -> ./TARGET_NRF51822_UNIFIED (only non end-target files)
moved dir. NRF5/TARGET_NRF51822_UNIFIED/TARGET_NRF51_DK -> ./TARGET_NRF51822_UNIFIED/TARGET_NRF51_DK
moved dir. NRF5/TARGET_NRF51822_UNIFIED/TARGET_NRF51_DONGLE -> ./TARGET_NRF51822_UNIFIED/TARGET_NRF51_DONGLE
Added backward compatibility code to API implementation of gpio, pwm, serial, port, spi
Added backward compatibility code to BLE implementation of GAP.
Modified MCU_NRF51_UNIFIED target description in order to use moved files.
Modified NRF52840_DK targets description (small adaptation for using proper sdk version).
Ideas which needs to be discussed
Is it acceptable to move it with nordic targets?
Status
POC