update nrf cmake and make to support nrf5340 (pca10095)

This commit is contained in:
hathach
2023-05-15 16:51:06 +07:00
parent 9f5b08dc93
commit d7175ad834
13 changed files with 189 additions and 48 deletions

View File

@@ -230,7 +230,7 @@ JLINK_IF ?= swd
# Flash using jlink
flash-jlink: $(BUILD)/$(PROJECT).hex
@echo halt > $(BUILD)/$(BOARD).jlink
@echo r > $(BUILD)/$(BOARD).jlink
@echo r >> $(BUILD)/$(BOARD).jlink
@echo loadfile $^ >> $(BUILD)/$(BOARD).jlink
@echo r >> $(BUILD)/$(BOARD).jlink
@echo go >> $(BUILD)/$(BOARD).jlink