Tried to build for the nRF52840 DK, but ran into two issues with provisioning:
First at line 160 in provision.sh: mv nRF5_SDK_15.0.0_a53641a/* targetlibs/nrf5x_15, the output contains some errors:
mv nRF5_SDK_15.0.0_a53641a/* targetlibs/nrf5x_15
mv: cannot move 'nRF5_SDK_15.0.0_a53641a/components' to 'targetlibs/nrf5x_15/components': Permission denied mv: cannot move 'nRF5_SDK_15.0.0_a53641a/config' to 'targetlibs/nrf5x_15/config': Permission denied mv: cannot move 'nRF5_SDK_15.0.0_a53641a/documentation' to 'targetlibs/nrf5x_15/documentation': Permission denied mv: cannot move 'nRF5_SDK_15.0.0_a53641a/examples' to 'targetlibs/nrf5x_15/examples': Permission denied mv: cannot move 'nRF5_SDK_15.0.0_a53641a/external' to 'targetlibs/nrf5x_15/external': Directory not empty mv: cannot move 'nRF5_SDK_15.0.0_a53641a/external_tools' to 'targetlibs/nrf5x_15/external_tools': Permission denied mv: cannot move 'nRF5_SDK_15.0.0_a53641a/integration' to 'targetlibs/nrf5x_15/integration': Permission denied mv: cannot move 'nRF5_SDK_15.0.0_a53641a/modules' to 'targetlibs/nrf5x_15/modules': Permission denied
Second is the SDK15 NFC patches. Which file should be patched? Provision.sh:
echo ====================================================== echo "FIXME - SDK15 NFC patches don't apply cleanly" echo ====================================================== cat targetlibs/nrf5x_15/patches/* | patch -p1
Output:
====================================================== FIXME - SDK15 NFC patches don't apply cleanly ====================================================== can't find file to patch at input line 17 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |From 97718ae8b320e9be84e533bb60c617d4c440d688 Mon Sep 17 00:00:00 2001 |From: AntiCat <github@anticat.ch> |Date: Fri, 26 May 2017 02:48:29 +0200 |Subject: [PATCH 1/7] NFC: Removed NDEF frontend, prepared raw backend. | |Implementing NDEF in JS requires access to 10 byte |tag header, holding UID and BCC. |--- | .../nrf5x/components/nfc/t2t_lib/hal_t2t/hal_nfc_t2t.c | 16 +++++++++++++--- | .../nrf5x/components/nfc/t2t_lib/hal_t2t/hal_nfc_t2t.h | 1 + | 2 files changed, 14 insertions(+), 3 deletions(-) | |diff --git a/targetlibs/nrf5x_15/components/nfc/t2t_lib/hal_t2t/hal_nfc_t2t.c b/targetlibs/nrf5x_15/components/nfc/t2t_lib/hal_t2t/hal_nfc_t2t.c |index 1235e1d6..ca8b5cbf 100644 |--- a/targetlibs/nrf5x_15/components/nfc/t2t_lib/hal_t2t/hal_nfc_t2t.c |+++ b/targetlibs/nrf5x_15/components/nfc/t2t_lib/hal_t2t/hal_nfc_t2t.c -------------------------- File to patch:
@AkosLukacs started
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Tried to build for the nRF52840 DK, but ran into two issues with provisioning:
First at line 160 in provision.sh:
mv nRF5_SDK_15.0.0_a53641a/* targetlibs/nrf5x_15
, the output contains some errors:Second is the SDK15 NFC patches. Which file should be patched?
Provision.sh:
Output: