Skip to content

Commit

Permalink
adds dependency on 3.0.0-alpha.1 for tracker
Browse files Browse the repository at this point in the history
  • Loading branch information
avtolstoy committed Dec 23, 2020
1 parent 3c38c9f commit fcd75b0
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 4 deletions.
6 changes: 2 additions & 4 deletions moduleinfo.mk
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
include macros.mk
include verbose.mk
include platform.mk
include version.mk

CRC = crc32
Expand Down Expand Up @@ -43,7 +44,6 @@ START_ADDR=00000000 # not used
END_ADDR=00000000 # not used
NCP_ID=21 # 33 (see hal/src/hRF52840/platform_ncp.h)
RESERVED2=00 # not used
# MODULE_VERSION_LE=0100 # 0x0001
ifeq ("$(PLATFORM)","argon")
PLATFORM_ID=0C00 # 12 - Argon
else ifeq ("$(PLATFORM)","tracker")
Expand All @@ -53,9 +53,7 @@ $(error Unknown platform!)
endif
MODULE_FUNCTION=07 # third party mono firmware
MODULE_INDEX=00 # not used with mono firmware
DEPENDENCY=00000000
DEPENDENCY2=00000000
MODULE_PREFIX=$(START_ADDR)$(END_ADDR)$(NCP_ID)$(RESERVED2)$(MODULE_VERSION_LE)$(PLATFORM_ID)$(MODULE_FUNCTION)$(MODULE_INDEX)$(DEPENDENCY)$(DEPENDENCY2)
MODULE_PREFIX=$(START_ADDR)$(END_ADDR)$(NCP_ID)$(RESERVED2)$(MODULE_VERSION_LE)$(PLATFORM_ID)$(MODULE_FUNCTION)$(MODULE_INDEX)$(MODULE_DEPENDENCY)$(MODULE_DEPENDENCY2)

# regular MCU firmware has the product ID stored before the suffix
# since this has little relevance here we don't bother
Expand Down
9 changes: 9 additions & 0 deletions version.mk
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,12 @@ FIRMWARE_VERSION?=0.0.7

CPPFLAGS += -DESP32_NCP_FIRMWARE_VERSION=$(FIRMWARE_VERSION)
CPPFLAGS += -DESP32_NCP_FIRMWARE_MODULE_VERSION=$(MODULE_VERSION)

ifeq ("$(PLATFORM)","tracker")
# Dependency on system-part1 version 3000 (3.0.0-alpha.1)
MODULE_DEPENDENCY=0401b80b
else
MODULE_DEPENDENCY=00000000
endif

MODULE_DEPENDENCY2=00000000

0 comments on commit fcd75b0

Please sign in to comment.