File tree 10 files changed +20
-10
lines changed
10 files changed +20
-10
lines changed Original file line number Diff line number Diff line change @@ -111,7 +111,8 @@ ifeq ($(ORESAT),)
111
111
ORESAT = 0.5
112
112
endif
113
113
# generate OD.c/OD.h from oresat-configs
114
- $(shell oresat-gen-fw-files --oresat $(ORESAT) imu -d $(ODDIR))
114
+ FW_VERSION = $(shell git describe)
115
+ $(shell oresat-gen-fw-files --oresat $(ORESAT) imu -d $(ODDIR) -fw $(FW_VERSION) -hw $(BOARD))
115
116
# add them
116
117
ALLCSRC += $(ODDIR ) /OD.c
117
118
ALLINC += $(ODDIR )
Original file line number Diff line number Diff line change @@ -116,7 +116,8 @@ ifeq ($(ORESAT),)
116
116
endif
117
117
118
118
# generate OD.c/OD.h from oresat-configs
119
- $(shell oresat-gen-fw-files --oresat $(ORESAT) battery -d $(ODDIR))
119
+ FW_VERSION = $(shell git describe)
120
+ $(shell oresat-gen-fw-files --oresat $(ORESAT) battery -d $(ODDIR) -fw $(FW_VERSION) -hw $(BOARD) -fw $(FW_VERSION) -hw $(BOARD))
120
121
# add them
121
122
ALLCSRC += $(ODDIR ) /OD.c
122
123
ALLINC += $(ODDIR )
Original file line number Diff line number Diff line change @@ -116,7 +116,8 @@ ifeq ($(ORESAT),)
116
116
endif
117
117
118
118
# generate OD.c/OD.h from oresat-configs
119
- $(shell oresat-gen-fw-files --oresat $(ORESAT) base -d $(ODDIR))
119
+ FW_VERSION = $(shell git describe)
120
+ $(shell oresat-gen-fw-files --oresat $(ORESAT) base -d $(ODDIR) -fw $(FW_VERSION) -hw $(BOARD))
120
121
# add them
121
122
ALLCSRC += $(ODDIR ) /OD.c
122
123
ALLINC += $(ODDIR )
Original file line number Diff line number Diff line change @@ -116,7 +116,8 @@ ifeq ($(ORESAT),)
116
116
endif
117
117
118
118
# generate OD.c/OD.h from oresat-configs
119
- $(shell oresat-gen-fw-files --oresat $(ORESAT) base -d $(ODDIR))
119
+ FW_VERSION = $(shell git describe)
120
+ $(shell oresat-gen-fw-files --oresat $(ORESAT) base -d $(ODDIR) -fw $(FW_VERSION) -hw $(BOARD))
120
121
# add them
121
122
ALLCSRC += $(ODDIR ) /OD.c
122
123
ALLINC += $(ODDIR )
Original file line number Diff line number Diff line change @@ -116,7 +116,8 @@ ifeq ($(ORESAT),)
116
116
endif
117
117
118
118
# generate OD.c/OD.h from oresat-configs
119
- $(shell oresat-gen-fw-files --oresat $(ORESAT) solar -d $(ODDIR))
119
+ FW_VERSION = $(shell git describe)
120
+ $(shell oresat-gen-fw-files --oresat $(ORESAT) solar -d $(ODDIR) -fw $(FW_VERSION) -hw $(BOARD))
120
121
# add them
121
122
ALLCSRC += $(ODDIR ) /OD.c
122
123
ALLINC += $(ODDIR )
Original file line number Diff line number Diff line change @@ -111,7 +111,8 @@ ifeq ($(ORESAT),)
111
111
endif
112
112
113
113
# generate OD.c/OD.h from oresat-configs
114
- $(shell oresat-gen-fw-files --oresat $(ORESAT) base -d $(ODDIR))
114
+ FW_VERSION = $(shell git describe)
115
+ $(shell oresat-gen-fw-files --oresat $(ORESAT) base -d $(ODDIR) -fw $(FW_VERSION) -hw $(BOARD))
115
116
# add them
116
117
ALLCSRC += $(ODDIR ) /OD.c
117
118
ALLINC += $(ODDIR )
Original file line number Diff line number Diff line change @@ -111,7 +111,8 @@ ifeq ($(ORESAT),)
111
111
endif
112
112
113
113
# generate OD.c/OD.h from oresat-configs
114
- $(shell oresat-gen-fw-files --oresat $(ORESAT) base -d $(ODDIR))
114
+ FW_VERSION = $(shell git describe)
115
+ $(shell oresat-gen-fw-files --oresat $(ORESAT) base -d $(ODDIR) -fw $(FW_VERSION) -hw $(BOARD))
115
116
# add them
116
117
ALLCSRC += $(ODDIR ) /OD.c
117
118
ALLINC += $(ODDIR )
Original file line number Diff line number Diff line change @@ -111,7 +111,8 @@ ifeq ($(ORESAT),)
111
111
endif
112
112
113
113
# generate OD.c/OD.h from oresat-configs
114
- $(shell oresat-gen-fw-files --oresat $(ORESAT) base -d $(ODDIR))
114
+ FW_VERSION = $(shell git describe)
115
+ $(shell oresat-gen-fw-files --oresat $(ORESAT) base -d $(ODDIR) -fw $(FW_VERSION) -hw $(BOARD))
115
116
# add them
116
117
ALLCSRC += $(ODDIR ) /OD.c
117
118
ALLINC += $(ODDIR )
Original file line number Diff line number Diff line change @@ -111,7 +111,8 @@ ifeq ($(ORESAT),)
111
111
endif
112
112
113
113
# generate OD.c/OD.h from oresat-configs
114
- $(shell oresat-gen-fw-files --oresat $(ORESAT) base -d $(ODDIR))
114
+ FW_VERSION = $(shell git describe)
115
+ $(shell oresat-gen-fw-files --oresat $(ORESAT) base -d $(ODDIR) -fw $(FW_VERSION) -hw $(BOARD))
115
116
# add them
116
117
ALLCSRC += $(ODDIR ) /OD.c
117
118
ALLINC += $(ODDIR )
Original file line number Diff line number Diff line change @@ -111,7 +111,8 @@ ifeq ($(ORESAT),)
111
111
endif
112
112
113
113
# generate OD.c/OD.h from oresat-configs
114
- $(shell oresat-gen-fw-files --oresat $(ORESAT) base -d $(ODDIR))
114
+ FW_VERSION = $(shell git describe)
115
+ $(shell oresat-gen-fw-files --oresat $(ORESAT) base -d $(ODDIR) -fw $(FW_VERSION) -hw $(BOARD))
115
116
# add them
116
117
ALLCSRC += $(ODDIR ) /OD.c
117
118
ALLINC += $(ODDIR )
You can’t perform that action at this time.
0 commit comments