You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Cygwin should use the posix variations, not the windows ones.
Needs to be fixed in two places:
but now I get this error:
$ make
BUILD OPTIONS:
SoftDevice s130
SDK 11
nRF nrf51822
RAM 16 kB
FLASH 256 kB
Board BOARD_NULL
/bin/sh: -c: line 1: syntax error: unexpected end of file
nrf5x-base//make/Makefile:889: recipe for target '_build/system_nrf51.o' failed
make: *** [_build/system_nrf51.o] Error 1
Hrm.. that's weird, but I have a guess -- I assume you're building this in cygwin?
Edit nrf5x-base/make/Makefile
Delete lines 867, 868, 869, and 871
(force it to include Makefile.posix)
I'm guessing it's incorrectly thinking you're building in a windows environment
A little better..
$ make
BUILD OPTIONS:
SoftDevice s130
SDK 11
nRF nrf51822
RAM 16 kB
FLASH 256 kB
Board BOARD_NULL
CC nrf5x-base//make/../sdk/nrf51_sdk_11.0.0/components/toolchain/system_nrf51.c
CC main.c
CC goc.c
CC uart.c
CC nrf5x-base//make/../sdk/nrf51_sdk_11.0.0/components/libraries/timer/app_timer.c
CC nrf5x-base//make/../sdk/nrf51_sdk_11.0.0/components/libraries/util/app_error.c
CC nrf5x-base//make/../sdk/nrf51_sdk_11.0.0/components/libraries/util/app_util_platform.c
CC nrf5x-base//make/../sdk/nrf51_sdk_11.0.0/components/drivers_nrf/common/nrf_drv_common.c
In file included from nrf5x-base//make/../sdk/nrf51_sdk_11.0.0/components/drivers_nrf/common/nrf_drv_common.c:14:0:
nrf5x-base//make/../sdk/nrf51_sdk_11.0.0/components/drivers_nrf/common/nrf_drv_common.h:20:28: fatal error: nrf_drv_config.h: No such file or directory
compilation terminated.
nrf5x-base//make/Makefile:889: recipe for target '_build/nrf_drv_common.o' failed
make: *** [_build/nrf_drv_common.o] Error 1
Ugh..
Same problem in lines 9-13 of:
nrf5x-base/sdk/nrf51_sdk_11.0.0/components/toolchain/gcc/Makefile.common
Looks like that should be the only other place where it's choosing platforms
The text was updated successfully, but these errors were encountered:
Cygwin should use the posix variations, not the windows ones.
Needs to be fixed in two places:
The text was updated successfully, but these errors were encountered: