今日种种,似水无痕;明夕何夕,君已陌路;
- 控制面板
- 网站分类
- 最近发表
- 最新留言
-
- 查日志看看sdio是否正常,rtl8723bs是否挂载正常。
- http://付坤.中国/?id=115
- 我编译这个,加载了驱动,没看到wlan0,这不知道是哪个环节出了问题了
- 厉害
- 你好!请问 cnc shield v3 限位开关怎么接线的?13926590039刘,谢谢!
- 你好,刚刚学习荔枝派,看了您的笔记可谓是实力填坑,希望能加个微信想您多请教。
- #include "lfs.h"// variables used by the filesystemlfs_t lfs;lfs_file_t file;// configuration of the filesystem is provided by this structconst struct lfs_config cfg = { // block device operations .read = user_provided_block_device_read, .prog = user_provided_block_device_prog, .erase = user_provided_block_device_erase, .sync = user_provided_block_device_sync, // block device configuration .read_size = 16, .prog_size = 16, .block_size = 4096, .block_count = 128, .lookahead = 128,};// entry pointint main(void) { // mount the filesystem int err = lfs_mount(&lfs, &cfg); // reformat if we can't mount the filesystem // this should only happen on the first boot if (err) { lfs_format(&lfs, &cfg); lfs_mount(&lfs, &cfg); } // read current count uint32_t boot_count = 0; lfs_file_open(&lfs, &file, "boot_count", LFS_O_RDWR | LFS_O_CREAT); lfs_file_read(&lfs, &file, &boot_count, size
- 欢迎测试
- 站点信息
-
- 文章总数:136
- 页面总数:3
- 分类总数:36
- 标签总数:6
- 评论总数:8
- 浏览总数:50062