This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
s340:arduino_ide_integration_for_the_nrf52840_feather_express_with_s340 [2020/03/24 21:19] orrmany [Caveats] |
s340:arduino_ide_integration_for_the_nrf52840_feather_express_with_s340 [2020/03/26 15:16] orrmany [Second major step: replace the bootloader with the modified bootloader] |
||
---|---|---|---|
Line 72: | Line 72: | ||
> 4. Create a folder named hardware/Adafruit, if it does not exist, and change directories into it. | > 4. Create a folder named hardware/Adafruit, if it does not exist, and change directories into it. | ||
> 5. Clone the Adafruit_nRF52_Arduino repo in the folder described in step 2: | > 5. Clone the Adafruit_nRF52_Arduino repo in the folder described in step 2: | ||
- | >> <del>''git clone git@github.com:adafruit/Adafruit_nRF52_Arduino.git''</del> | + | >> <code>git clone git@github.com:adafruit/Adafruit_nRF52_Arduino.git |
+ | cd Adafruit_nRF52_Arduino | ||
+ | git submodule update --init --recursive | ||
+ | </code> | ||
Instead of cloning the the original Adafruit bootloader, if you are lazy you can clone my modified one: | Instead of cloning the the original Adafruit bootloader, if you are lazy you can clone my modified one: | ||
<code bash> | <code bash> | ||
git clone -b adding-S340-to-nrf52840-Feather --single-branch https://github.com/orrmany/Adafruit_nRF52_Arduino.git | git clone -b adding-S340-to-nrf52840-Feather --single-branch https://github.com/orrmany/Adafruit_nRF52_Arduino.git | ||
+ | cd Adafruit_nRF52_Arduino | ||
+ | git submodule update --init --recursive | ||
</code> | </code> | ||
If you **//do use my repo//**, the do **not** forget that you will still need to download the [[https://www.thisisant.com/developer/components/nrf52832#tab_protocol_stacks_tab|S340 softdevice from thisisant.com]] and install it into the proper place, as redistribution of the said SoftDevice by individuals is not permited. You //must// sign the ANT license and respect its conditions. The way you can get the S340 is described at the [[https://www.nordicsemi.com/Software-and-tools/Software/S340-ANT|Nordic Semiconductor page]]. | If you **//do use my repo//**, the do **not** forget that you will still need to download the [[https://www.thisisant.com/developer/components/nrf52832#tab_protocol_stacks_tab|S340 softdevice from thisisant.com]] and install it into the proper place, as redistribution of the said SoftDevice by individuals is not permited. You //must// sign the ANT license and respect its conditions. The way you can get the S340 is described at the [[https://www.nordicsemi.com/Software-and-tools/Software/S340-ANT|Nordic Semiconductor page]]. | ||
About the "installation to the proper place" check out substep #2 of Section C of the page [[arduino:s340_softdevice_adafruit_nrf52840_feather_express#c_modify_the_adafruit_bootloader|describing the bootloader modification]] | About the "installation to the proper place" check out substep #2 of Section C of the page [[arduino:s340_softdevice_adafruit_nrf52840_feather_express#c_modify_the_adafruit_bootloader|describing the bootloader modification]] | ||
> 6. This should result in a final folder name like ''.../Documents/Arduino/hardware/Adafruit/Adafruit_nRF52_Arduino''. | > 6. This should result in a final folder name like ''.../Documents/Arduino/hardware/Adafruit/Adafruit_nRF52_Arduino''. | ||
- | 7. Quit the Arduino IDE | + | 7. Restart the Arduino IDE |
==== Third major step: add S340 to the BSP ==== | ==== Third major step: add S340 to the BSP ==== |