Skip to content

Latest commit

 

History

History
34 lines (28 loc) · 747 Bytes

README.md

File metadata and controls

34 lines (28 loc) · 747 Bytes

nRF51 + GMP102 example code

Requirements

  • nRF51-DK
  • nRF51 SDK: tested with Version 10.0.0
  • GCC ARM embedded compiler: tested with gcc-arm-none-eabi-4_9-2015q1-20150306
  • GMP102

I2C Connections

  • Use I2C0
    • SCL: P0.07
    • SDA: P0.30

Makefile

  • Modify the location of the SDK to your actual directory
#
# The base directory for nRF51 SDK
#
nRF51_SDK_ROOT := /C/Data/nRF51_SDK/V10_0_0
  • Modify the location of the GNU tools to your actual directory
GNU_INSTALL_ROOT := C:/Program Files (x86)/GNU Tools ARM Embedded/4.9 2015q1
  • Execute make all to build and flash the program

  • Exectute make help for available targets