摘要: 一般选择windows下安装ubuntu,那就涉及到宿主机之间的网络访问,网络设置为:桥接模式 0、安装openssh-server 1、安装samba * 编译/etc/samba/smb.config下的文件,修改[homes]如下: 1、global下加security = user (只有经 阅读全文
posted @ 2019-07-24 23:15 哈哈类 阅读(324) 评论(0) 推荐(0) 编辑
摘要: 1、Openssl库安装及交叉编译 下载openssl库,https://www.openssl.org/source/ 将库文件解压到本地文件后进行配置: a、config配置: 进入解压后的目录,执行 ./config shared --prefix=/usr/local/openssl --o 阅读全文
posted @ 2017-07-06 19:38 哈哈类 阅读(6974) 评论(0) 推荐(0) 编辑
摘要: 其中配置代码如下: void ADC1_Configuration(void){ GPIO_InitTypeDef GPIO_InitStructure; ADC_InitTypeDef ADC_InitStructure; DMA_InitTypeDef DMA_InitStructure; NV 阅读全文
posted @ 2016-06-29 14:17 哈哈类 阅读(5301) 评论(0) 推荐(0) 编辑
摘要: 1、在修改iar embedded的bin文件输出时,由于在option ->Linker中勾选了 include debug information in output,所以bin文件很大(880K),去掉勾选只37K,但发现去掉include... 时候,在DEBUG时出现warning vec 阅读全文
posted @ 2016-05-28 13:22 哈哈类 阅读(398) 评论(0) 推荐(0) 编辑
摘要: 1、默认root用户是无固定密码的,并且是被锁定的,如果想给root设置一个密码 只需执行命令:sudo passwd root 然后根据提示一步一步来, 在输入,: su root 再根据提示输入密码 只需执行命令:sudo passwd root 然后根据提示一步一步来, 在输入,: su ro 阅读全文
posted @ 2016-05-26 09:47 哈哈类 阅读(123) 评论(0) 推荐(0) 编辑