Skip to content

Commit

Permalink
board/m2k/m2k-calib.ini: Add default (none calibration file)
Browse files Browse the repository at this point in the history
This is being used if both the User and Factory calibration files are
vacant.

Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
  • Loading branch information
mhennerich committed Mar 9, 2018
1 parent a8fcddf commit 01c8805
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
9 changes: 9 additions & 0 deletions board/m2k/m2k-calib.ini
@@ -0,0 +1,9 @@
#Default calibration
cal,offset_pos_dac=-0
cal,gain_pos_dac=1
cal,offset_pos_adc=0
cal,gain_pos_adc=1
cal,offset_neg_dac=0
cal,gain_neg_dac=1
cal,offset_neg_adc=0
cal,gain_neg_adc=1
1 change: 1 addition & 0 deletions board/m2k/post-build.sh
Expand Up @@ -50,6 +50,7 @@ ${INSTALL} -D -m 0755 ${BOARD_DIR}/../pluto/S41network ${TARGET_DIR}/etc/init.d/
${INSTALL} -D -m 0755 ${BOARD_DIR}/../pluto/S45msd ${TARGET_DIR}/etc/init.d/
${INSTALL} -D -m 0644 ${BOARD_DIR}/../pluto/fw_env.config ${TARGET_DIR}/etc/
${INSTALL} -D -m 0644 ${BOARD_DIR}/VERSIONS ${TARGET_DIR}/opt/
${INSTALL} -D -m 0644 ${BOARD_DIR}/m2k-calib.ini ${TARGET_DIR}/opt/
${INSTALL} -D -m 0755 ${BOARD_DIR}/../pluto/device_reboot ${TARGET_DIR}/usr/sbin/
${INSTALL} -D -m 0644 ${BOARD_DIR}/motd ${TARGET_DIR}/etc/
${INSTALL} -D -m 0644 ${BOARD_DIR}/device_config ${TARGET_DIR}/etc/
Expand Down

0 comments on commit 01c8805

Please sign in to comment.