14:52:40.188 Device Connected SN:EE177EE0F1D0259B
14:52:40.189 Getting serialport options from persistent store EE177EE0F1D0259B.pc-nrfconnect-npm
14:52:40.190 Device Connected SN:null
14:53:45.467 Selected device with s/n EE177EE0F1D0259B
14:53:45.478 Opened port with options: {"path":"COM4","baudRate":115200}
14:53:45.575 Closed port: COM4
14:53:45.575 Device setup ready for device with s/n EE177EE0F1D0259B
14:53:45.581 Opened port with options: {"path":"COM4","baudRate":115200}
14:53:47.831 Reset cause: SWRESET
Export Configuration
,导出当前配置,可选overlay
和json
文件格式,overlay文件可以用在我们的MCU应用中,在项目中加入这个文件之后,它会在Zephyr TWI驱动程序中被调用。prj.conf
中包含这些配置:CONFIG_GPIO=y
CONFIG_SHELL=y
CONFIG_LOG=y
CONFIG_REGULATOR=y
CONFIG_SENSOR=y
CONFIG_LED=y
&i2c0_default {
group2 {
psels =0 , 27)>,0, 26)>;
bias-pull-up;
};
};
/delete-node/ &{/pin-controller/i2c0_default/group1/};