File tree 11 files changed +22
-33
lines changed
11 files changed +22
-33
lines changed Original file line number Diff line number Diff line change @@ -83,11 +83,8 @@ Tools required:
83
83
* srecord
84
84
* oresat-configs
85
85
86
- To install oresat-configs:
87
- * ` $ git clone https://github.com/oresat/oresat-configs `
88
- * ` $ cd oresat-configs `
89
- * ` $ pip install -r requirements.txt `
90
- * ` $ ./build_and_install.sh `
86
+ To install oresat-configs:
87
+ * ` $ pip install oresat-configs `
91
88
92
89
PLEASE NOTE: If you use OpenOCD, the latest "official" release of OpenOCD in
93
90
package managers is several years old. You MUST build it from source for it
Original file line number Diff line number Diff line change @@ -108,10 +108,10 @@ BOARDDIR = $(PROJ_ROOT)/boards/$(BOARD)
108
108
109
109
ODDIR := $(APP_ROOT ) /od
110
110
ifeq ($(ORESAT ) ,)
111
- ORESAT = oresat0 .5
111
+ ORESAT = 0 .5
112
112
endif
113
113
# generate OD.c/OD.h from oresat-configs
114
- $(shell oresat-gen-fw-files $(ORESAT) imu -d $(ODDIR))
114
+ $(shell oresat-gen-fw-files --oresat $(ORESAT) imu -d $(ODDIR))
115
115
# add them
116
116
ALLCSRC += $(ODDIR ) /OD.c
117
117
ALLINC += $(ODDIR )
Original file line number Diff line number Diff line change @@ -112,11 +112,11 @@ ifeq ($(USE_BOOTLOADER),)
112
112
endif
113
113
114
114
ifeq ($(ORESAT ) ,)
115
- ORESAT = oresat0 .5
115
+ ORESAT = 0 .5
116
116
endif
117
117
118
118
# generate OD.c/OD.h from oresat-configs
119
- $(shell oresat-gen-fw-files $(ORESAT) battery -d $(ODDIR))
119
+ $(shell oresat-gen-fw-files --oresat $(ORESAT) battery -d $(ODDIR))
120
120
# add them
121
121
ALLCSRC += $(ODDIR ) /OD.c
122
122
ALLINC += $(ODDIR )
Original file line number Diff line number Diff line change @@ -112,11 +112,11 @@ ifeq ($(USE_BOOTLOADER),)
112
112
endif
113
113
114
114
ifeq ($(ORESAT ) ,)
115
- ORESAT = oresat0 .5
115
+ ORESAT = 0 .5
116
116
endif
117
117
118
118
# generate OD.c/OD.h from oresat-configs
119
- $(shell oresat-gen-fw-files $(ORESAT) base -d $(ODDIR))
119
+ $(shell oresat-gen-fw-files --oresat $(ORESAT) base -d $(ODDIR))
120
120
# add them
121
121
ALLCSRC += $(ODDIR ) /OD.c
122
122
ALLINC += $(ODDIR )
Original file line number Diff line number Diff line change @@ -112,11 +112,11 @@ ifeq ($(USE_BOOTLOADER),)
112
112
endif
113
113
114
114
ifeq ($(ORESAT ) ,)
115
- ORESAT = oresat0 .5
115
+ ORESAT = 0 .5
116
116
endif
117
117
118
118
# generate OD.c/OD.h from oresat-configs
119
- $(shell oresat-gen-fw-files $(ORESAT) base -d $(ODDIR))
119
+ $(shell oresat-gen-fw-files --oresat $(ORESAT) base -d $(ODDIR))
120
120
# add them
121
121
ALLCSRC += $(ODDIR ) /OD.c
122
122
ALLINC += $(ODDIR )
Original file line number Diff line number Diff line change 82
82
# Project, target, sources and paths
83
83
#
84
84
85
- ifeq ($(ORESAT ) ,)
86
- ORESAT = oresat0.5
87
- endif
88
-
89
85
# Define project name here
90
86
PROJECT = app_solar
91
87
@@ -116,11 +112,11 @@ ifeq ($(USE_BOOTLOADER),)
116
112
endif
117
113
118
114
ifeq ($(ORESAT ) ,)
119
- ORESAT = oresat0 .5
115
+ ORESAT = 0 .5
120
116
endif
121
117
122
118
# generate OD.c/OD.h from oresat-configs
123
- $(shell oresat-gen-fw-files $(ORESAT) solar -d $(ODDIR))
119
+ $(shell oresat-gen-fw-files --oresat $(ORESAT) solar -d $(ODDIR))
124
120
# add them
125
121
ALLCSRC += $(ODDIR ) /OD.c
126
122
ALLINC += $(ODDIR )
@@ -226,9 +222,6 @@ include $(TOOLCHAIN)/toolchain.mk
226
222
# Custom rules
227
223
#
228
224
229
- xxd :
230
- xxd -i build/$(PROJECT ) .crc32.bin > build/$(PROJECT ) .crc32.bin.h
231
-
232
225
#
233
226
# Custom rules
234
227
# #############################################################################
Original file line number Diff line number Diff line change @@ -107,11 +107,11 @@ ODDIR := $(APP_ROOT)/od
107
107
BOARDDIR = $(PROJ_ROOT ) /boards/$(BOARD )
108
108
109
109
ifeq ($(ORESAT ) ,)
110
- ORESAT = oresat0 .5
110
+ ORESAT = 0 .5
111
111
endif
112
112
113
113
# generate OD.c/OD.h from oresat-configs
114
- $(shell oresat-gen-fw-files $(ORESAT) base -d $(ODDIR))
114
+ $(shell oresat-gen-fw-files --oresat $(ORESAT) base -d $(ODDIR))
115
115
# add them
116
116
ALLCSRC += $(ODDIR ) /OD.c
117
117
ALLINC += $(ODDIR )
Original file line number Diff line number Diff line change @@ -107,11 +107,11 @@ ODDIR := $(APP_ROOT)/od
107
107
BOARDDIR = $(PROJ_ROOT ) /boards/$(BOARD )
108
108
109
109
ifeq ($(ORESAT ) ,)
110
- ORESAT = oresat0 .5
110
+ ORESAT = 0 .5
111
111
endif
112
112
113
113
# generate OD.c/OD.h from oresat-configs
114
- $(shell oresat-gen-fw-files $(ORESAT) base -d $(ODDIR))
114
+ $(shell oresat-gen-fw-files --oresat $(ORESAT) base -d $(ODDIR))
115
115
# add them
116
116
ALLCSRC += $(ODDIR ) /OD.c
117
117
ALLINC += $(ODDIR )
Original file line number Diff line number Diff line change @@ -107,18 +107,17 @@ ODDIR := $(APP_ROOT)/od
107
107
BOARDDIR = $(PROJ_ROOT ) /boards/$(BOARD )
108
108
109
109
ifeq ($(ORESAT ) ,)
110
- ORESAT = oresat0 .5
110
+ ORESAT = 0 .5
111
111
endif
112
112
113
113
# generate OD.c/OD.h from oresat-configs
114
- $(shell oresat-gen-fw-files $(ORESAT) base -d $(ODDIR))
114
+ $(shell oresat-gen-fw-files --oresat $(ORESAT) base -d $(ODDIR))
115
115
# add them
116
116
ALLCSRC += $(ODDIR ) /OD.c
117
117
ALLINC += $(ODDIR )
118
118
119
119
# Project specific files.
120
120
include $(PROJ_SRC ) /oresat.mk
121
- include $(PROJ_SRC ) /CO_master.mk
122
121
123
122
# Licensing files.
124
123
include $(CHIBIOS ) /os/license/license.mk
Original file line number Diff line number Diff line change @@ -107,11 +107,11 @@ ODDIR := $(APP_ROOT)/od
107
107
BOARDDIR = $(PROJ_ROOT ) /boards/$(BOARD )
108
108
109
109
ifeq ($(ORESAT ) ,)
110
- ORESAT = oresat0 .5
110
+ ORESAT = 0 .5
111
111
endif
112
112
113
113
# generate OD.c/OD.h from oresat-configs
114
- $(shell oresat-gen-fw-files $(ORESAT) base -d $(ODDIR))
114
+ $(shell oresat-gen-fw-files --oresat $(ORESAT) base -d $(ODDIR))
115
115
# add them
116
116
ALLCSRC += $(ODDIR ) /OD.c
117
117
ALLINC += $(ODDIR )
Original file line number Diff line number Diff line change @@ -107,11 +107,11 @@ DEPDIR := $(APP_ROOT)/.dep
107
107
BOARDDIR = $(PROJ_ROOT ) /boards/$(BOARD )
108
108
109
109
ifeq ($(ORESAT ) ,)
110
- ORESAT = oresat0 .5
110
+ ORESAT = 0 .5
111
111
endif
112
112
113
113
# generate OD.c/OD.h from oresat-configs
114
- $(shell oresat-gen-fw-files $(ORESAT) base -d $(ODDIR))
114
+ $(shell oresat-gen-fw-files --oresat $(ORESAT) base -d $(ODDIR))
115
115
# add them
116
116
ALLCSRC += $(ODDIR ) /OD.c
117
117
ALLINC += $(ODDIR )
You can’t perform that action at this time.
0 commit comments