Skip to content

Commit dacbe8e

Browse files
committed
update make build system rename pca10095 to nrf5340dk
1 parent ee7a7c5 commit dacbe8e

File tree

16 files changed

+42
-42
lines changed

16 files changed

+42
-42
lines changed

hw/bsp/nrf/boards/adafruit_clue/board.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ MCU_VARIANT = nrf52840
22
CFLAGS += -DNRF52840_XXAA
33

44
# All source paths should be relative to the top level.
5-
LD_FILE = hw/bsp/nrf/linker/nrf52840_s140_v6.ld
5+
LD_FILE = ${FAMILY_PATH}/linker/nrf52840_s140_v6.ld
66

77
$(BUILD)/$(PROJECT).zip: $(BUILD)/$(PROJECT).hex
88
adafruit-nrfutil dfu genpkg --dev-type 0x0052 --sd-req 0xFFFE --application $^ $@

hw/bsp/nrf/boards/circuitplayground_bluefruit/board.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ MCU_VARIANT = nrf52840
22
CFLAGS += -DNRF52840_XXAA
33

44
# All source paths should be relative to the top level.
5-
LD_FILE = hw/bsp/nrf/linker/nrf52840_s140_v6.ld
5+
LD_FILE = ${FAMILY_PATH}/linker/nrf52840_s140_v6.ld
66

77
$(BUILD)/$(PROJECT).zip: $(BUILD)/$(PROJECT).hex
88
adafruit-nrfutil dfu genpkg --dev-type 0x0052 --sd-req 0xFFFE --application $^ $@

hw/bsp/nrf/boards/feather_nrf52840_express/board.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ CFLAGS += -DNRF52840_XXAA
55
MAX3421_HOST = 1
66

77
# All source paths should be relative to the top level.
8-
LD_FILE = hw/bsp/nrf/linker/nrf52840_s140_v6.ld
8+
LD_FILE = ${FAMILY_PATH}/linker/nrf52840_s140_v6.ld
99

1010
$(BUILD)/$(PROJECT).zip: $(BUILD)/$(PROJECT).hex
1111
adafruit-nrfutil dfu genpkg --dev-type 0x0052 --sd-req 0xFFFE --application $^ $@

hw/bsp/nrf/boards/feather_nrf52840_sense/board.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ MCU_VARIANT = nrf52840
22
CFLAGS += -DNRF52840_XXAA
33

44
# All source paths should be relative to the top level.
5-
LD_FILE = hw/bsp/nrf/linker/nrf52840_s140_v6.ld
5+
LD_FILE = ${FAMILY_PATH}/linker/nrf52840_s140_v6.ld
66

77
$(BUILD)/$(PROJECT).zip: $(BUILD)/$(PROJECT).hex
88
adafruit-nrfutil dfu genpkg --dev-type 0x0052 --sd-req 0xFFFE --application $^ $@

hw/bsp/nrf/boards/itsybitsy_nrf52840/board.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ MCU_VARIANT = nrf52840
22
CFLAGS += -DNRF52840_XXAA
33

44
# All source paths should be relative to the top level.
5-
LD_FILE = hw/bsp/nrf/linker/nrf52840_s140_v6.ld
5+
LD_FILE = ${FAMILY_PATH}/linker/nrf52840_s140_v6.ld
66

77
$(BUILD)/$(PROJECT).zip: $(BUILD)/$(PROJECT).hex
88
adafruit-nrfutil dfu genpkg --dev-type 0x0052 --sd-req 0xFFFE --application $^ $@
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
MCU_VARIANT = nrf52833
22
CFLAGS += -DNRF52833_XXAA
33

4-
LD_FILE = hw/mcu/nordic/nrfx/mdk/nrf52833_xxaa.ld
4+
LD_FILE = ${FAMILY_PATH}/linker/nrf52833_xxaa.ld
55

66
# flash using jlink
77
flash: flash-jlink
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
set(MCU_VARIANT nrf5340)
2+
3+
function(update_board TARGET)
4+
endfunction()
File renamed without changes.

hw/bsp/nrf/boards/pca10095/board.mk renamed to hw/bsp/nrf/boards/nrf5340dk/board.mk

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,9 @@
1-
MCU_VARIANT = nrf5340_application
1+
MCU_VARIANT = nrf5340
22
CFLAGS += -DNRF5340_XXAA -DNRF5340_XXAA_APPLICATION
33

44
# enable max3421 host driver for this board
55
MAX3421_HOST = 1
66

7-
LD_FILE = hw/mcu/nordic/nrfx/mdk/nrf5340_xxaa_application.ld
8-
9-
SRC_C += hw/mcu/nordic/nrfx/drivers/src/nrfx_usbreg.c
10-
117
# caused by void SystemStoreFICRNS() (without void) in system_nrf5340_application.c
128
CFLAGS += -Wno-error=strict-prototypes
139

0 commit comments

Comments
 (0)