Skip to content

Instantly share code, notes, and snippets.

@judepereira
Created July 11, 2019 23:13
Show Gist options
  • Save judepereira/179c55a6975d1356d7db4cbd5a862c38 to your computer and use it in GitHub Desktop.
Save judepereira/179c55a6975d1356d7db4cbd5a862c38 to your computer and use it in GitHub Desktop.
diff --git a/Makefile b/Makefile
index 6dbaf98..4acd319 100644
--- a/Makefile
+++ b/Makefile
@@ -104,7 +104,7 @@ ifneq ($(IS_52832),)
SD_NAME = s132
DFU_DEV_REV = 0xADAF
else
-SD_NAME = s140
+SD_NAME = s340
DFU_DEV_REV = 52840
endif
@@ -275,7 +275,7 @@ CFLAGS += -DNRF52832_XXAA
CFLAGS += -DS132
else
CFLAGS += -DNRF52840_XXAA
-CFLAGS += -DS140
+CFLAGS += -DS340
endif
@@ -314,7 +314,7 @@ ASMFLAGS += -DNRF52
ASMFLAGS += -DS132
else
ASMFLAGS += -DNRF52840_XXAA
-ASMFLAGS += -DS140
+ASMFLAGS += -DS340
endif
C_SOURCE_FILE_NAMES = $(notdir $(C_SOURCE_FILES))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment