jliphard / wearable_nRF52_Firmware

This is a native Nordic SDK application for controlling an nRF52-based wearable. It logs data and can also push them to an iPhone.
14 stars 4 forks source link

Error compiling #4

Open alexe100 opened 5 years ago

alexe100 commented 5 years ago

After download and cd : .../wearable_nRF52_Firmware-master/pca10040/s132/armgcc$ make Makefile:298: /Users/janliphardt/opt/nRF5_SDK_13/components/toolchain/gcc/Makefile.common: File or directory does not exists make: *** No rule to make target '/Users/janliphardt/opt/nRF5_SDK_13/components/toolchain/gcc/Makefile.common'. Pare.

jliphard commented 5 years ago

Please configure the paths to your SDKs etc before compiling. Just read the makefile and change as needed. Jan

On Jul 6, 2019, at 2:16 AM, Alex notifications@github.com<mailto:notifications@github.com> wrote:

After download and cd : .../wearable_nRF52_Firmware-master/pca10040/s132/armgcc$ make Makefile:298: /Users/janliphardt/opt/nRF5_SDK_13/components/toolchain/gcc/Makefile.common: File or directory does not exists make: *** No rule to make target '/Users/janliphardt/opt/nRF5_SDK_13/components/toolchain/gcc/Makefile.common'. Pare.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://github.com/jliphard/wearable_nRF52_Firmware/issues/4?email_source=notifications&email_token=ACTLQWBZF7EUS72TVABA7ADP6BPGDA5CNFSM4H6S7VA2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4G5U2N6A, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ACTLQWBC4WWLNGENZQ4AVLTP6BPGDANCNFSM4H6S7VAQ.

alexe100 commented 5 years ago

I have updated the Makefile but even though there are errors... Which nordic SDK version are you using?

Here the errors: Makefile:294: Cannot find source file: /home/user1/Imagens/nRF5_SDK_12.3.0_d7731ad/components/libraries/strerror/nrf_strerror.c Makefile:294: Cannot find source file: /home/user1/Imagens/nRF5_SDK_12.3.0_d7731ad/components/libraries/spi_mngr/nrf_spi_mngr.c Makefile:294: Cannot find include folder: /home/user1/Imagens/nRF5_SDK_12.3.0_d7731ad/components/libraries/spi_mngr Makefile:294: Cannot find include folder: /home/user1/Imagens/nRF5_SDK_12.3.0_d7731ad/components/libraries/strerror Compiling file: boards.c In file included from /home/user1/Imagens/nRF5_SDK_12.3.0_d7731ad/components/boards/boards.h:43, from /home/user1/Imagens/nRF5_SDK_12.3.0_d7731ad/components/boards/boards.c:40: /home/user1/Imagens/nRF5_SDK_12.3.0_d7731ad/components/drivers_nrf/hal/nrf_gpio.h:67:2: error: #error "Not supported."

error "Not supported."

^~~~~ In file included from /home/user1/Imagens/nRF5_SDK_12.3.0_d7731ad/components/drivers_nrf/hal/nrf_gpio.h:45, from /home/user1/Imagens/nRF5_SDK_12.3.0_d7731ad/components/boards/boards.h:43, from /home/user1/Imagens/nRF5_SDK_12.3.0_d7731ad/components/boards/boards.c:40: /home/user1/Imagens/nRF5_SDK_12.3.0_d7731ad/components/drivers_nrf/hal/nrf_gpio.h: In function 'nrf_gpio_pin_port_decode': /home/user1/Imagens/nRF5_SDK_12.3.0_d7731ad/components/drivers_nrf/hal/nrf_gpio.h:464:21: error: 'NUMBER_OF_PINS' undeclared (first use in this function) ASSERT(*p_pin < NUMBER_OF_PINS); ^~~~~~ ...

Thanks