Skip to content

Commit 01c8805

Browse files
committed
board/m2k/m2k-calib.ini: Add default (none calibration file)
This is being used if both the User and Factory calibration files are vacant. Signed-off-by: Michael Hennerich <[email protected]>
1 parent a8fcddf commit 01c8805

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

board/m2k/m2k-calib.ini

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
#Default calibration
2+
cal,offset_pos_dac=-0
3+
cal,gain_pos_dac=1
4+
cal,offset_pos_adc=0
5+
cal,gain_pos_adc=1
6+
cal,offset_neg_dac=0
7+
cal,gain_neg_dac=1
8+
cal,offset_neg_adc=0
9+
cal,gain_neg_adc=1

board/m2k/post-build.sh

+1
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ ${INSTALL} -D -m 0755 ${BOARD_DIR}/../pluto/S41network ${TARGET_DIR}/etc/init.d/
5050
${INSTALL} -D -m 0755 ${BOARD_DIR}/../pluto/S45msd ${TARGET_DIR}/etc/init.d/
5151
${INSTALL} -D -m 0644 ${BOARD_DIR}/../pluto/fw_env.config ${TARGET_DIR}/etc/
5252
${INSTALL} -D -m 0644 ${BOARD_DIR}/VERSIONS ${TARGET_DIR}/opt/
53+
${INSTALL} -D -m 0644 ${BOARD_DIR}/m2k-calib.ini ${TARGET_DIR}/opt/
5354
${INSTALL} -D -m 0755 ${BOARD_DIR}/../pluto/device_reboot ${TARGET_DIR}/usr/sbin/
5455
${INSTALL} -D -m 0644 ${BOARD_DIR}/motd ${TARGET_DIR}/etc/
5556
${INSTALL} -D -m 0644 ${BOARD_DIR}/device_config ${TARGET_DIR}/etc/

0 commit comments

Comments
 (0)