peng-zhihui / peak Goto Github PK
View Code? Open in Web Editor NEWTiny Mobile Terminal Device Kit.
Tiny Mobile Terminal Device Kit.
大佬,有推荐的元器件链接吗?还有大佬的3D建模用的是哪款软件吗?
1.freertos 报错内容
#include "FreeRTOS.h"
^~~~~~~~~~~~
compilation terminated.
In file included from src/App/Accounts/ACT_IMU.cpp:2:
src/HAL/HAL.h:9:10: fatal error: FreeRTOS.h: No such file or directory
2.注释freertos文件后编译报fat 错误。
lib/SD/src/sd_diskio.cpp:825:18: error: 'ff_diskio_impl_t' does not name a type
static const ff_diskio_impl_t sd_impl = {
^~~~~~~~~~~~~~~~
lib/SD/src/sd_diskio.cpp:832:31: error: 'sd_impl' was not declared in this scope
ff_diskio_register(pdrv, &sd_impl);
^~~~~~~
lib/SD/src/sd_diskio.cpp:832:31: note: suggested alternative: 'fdiml'
ff_diskio_register(pdrv, &sd_impl);
^~~~~~~
fdiml
lib/SD/src/sd_diskio.cpp:832:5: error: 'ff_diskio_register' was not declared in this scope
ff_diskio_register(pdrv, &sd_impl);
^~~~~~~~~~~~~~~~~~
lib/SD/src/sd_diskio.cpp:832:5: note: suggested alternative: 'lv_disp_drv_register'
ff_diskio_register(pdrv, &sd_impl);
^~~~~~~~~~~~~~~~~~
lv_disp_drv_register
*** [.pio\build\pico32\libbbe\SD\sd_diskio.cpp.o] Error 1
稚晖君你好呀,我看了看Schematic发现预留了FLASH引脚但是没有看到FLASH芯片,看了PCB发现FLASH对应引脚是悬空的,那这些引脚把它们当SDIO接口连接到SD卡更合适吧,毕竟大容量的SD卡都没有SPI模式耶。
不知道稚晖君,你是用什么IDE开发的ESP32程序?是在Windows平台还是别的平台?
我现在对着这份代码,不知道怎么去编译它。。
再次请教下:
当前硬件中屏幕连接是用FFC/FPC接口的。但是按照https://github.com/FASTSHIFT/X-TRACK/tree/main/Hardware 推荐购买的屏幕是裸屏幕直接焊接的。请问是需要一个屏幕转接板吗?
hi, great project!
I found that in the lv_fs_if/lv_fs_pc.c
file, there is no length limit for "oldname" and "newname", and sprintf them directly into a fixed-length stack buffer, which may lead to overflow. Although the filename length is limited to 255 bytes on linux, the path length can be up to 4096 bytes.
/**
* Rename a file
* @param drv pointer to a driver where this function belongs
* @param oldname path to the file
* @param newname path with the new name
* @return LV_FS_RES_OK or any error from 'fs_res_t'
*/
static lv_fs_res_t fs_rename (lv_fs_drv_t * drv, const char * oldname, const char * newname)
{
(void) drv; /*Unused*/
static char new[512];
static char old[512];
sprintf(old, LV_FS_PC_PATH "/%s", oldname);
sprintf(new, LV_FS_PC_PATH "/%s", newname);
int r = rename(old, new);
if(r == 0) return LV_FS_RES_OK;
else return LV_FS_RES_UNKNOWN;
}
最近测试了下peak,发现硬件上面使用的MPU6050,软件驱动中的IMU是9250的驱动,是硬件版本后面有更新么?
zhihui你好,
感谢你的创作和工作,我已经把软件移植到M5 Stack,目前遇到一个小问题,不知道是不是一个Bug。
页面管理众,第一次从SystemInfos 切到 Scene 3D,再切回到SystemInfos,一切ok, 当再次按下按钮切到 Scene 3D之后,无论怎么按按键都切不回SystemInfos 界面,界面一直显示是Sense 3D的图像,但此时按键log告诉我已经在SystemInfos onEvent里面了。
我单独拉出template和Scene 3D,按照Push - > Pop操作,一样存在问题 ,切一次页面后,停留在template,无法再切入Scene 3D。
不知道是不是页面管理的框架有问题。
本来想再模拟器上来验证,编译了你的代码,应该是路径有问题,我得弄一下。
不知道你的Peak上是否正常?
小白想请问下pcb板是否有SMT焊接的需要?自己手焊能成功吗?
大佬,这个软件要怎么烧录啊,有点无从下手
大佬,能告诉一下电池用的哪款型号么?
Sent from PPHub
在复现peak项目时发现,设备能够成功连接wifi,但获取天气时报错:
_handle_error(): [start_ssl_client():205]: (-32512) SSL - Memory allocation failed
;
将屏幕分得的缓存尽可能减小后又能成功获取天气数据,判断可能是内存分配问题导致无法正常进行ssl_cilent,但不知道该如何进行修改,请各位大佬提提意见~
应该是文档目录改名了导致的。4.Docs
改为了5.Docs
,README中做对应修改就可以了。
彭兄好,今天看了peak的电路设计,我鸡蛋里面挑骨头,提点建议。在电源模块的设计中,锂电池充电芯片的输出既为锂电池充电,又为整个电路供电,这样设计会有问题。充电时既会影响电池端电压又会分充电电流,严重影响充电芯片对电池状态的判断。这种情况下锂电池一般无法充满电。因此设计中应该在外部供电时,切断电池与后续电路的连接,此时整个电路的供电应该由充电芯片的前端电源提供。
稚晖君,我看原理图中的imu型号是mpu6050,而程序中的imu是mpu9250,请问两者通用吗?
請問哪邊可以買到現成的機器人呢?
還是可以買到主控板跟伺服馬達控制版,我再自己加工?
大佬你好,请问Simulator里面的APP.cpp和相关头文件是不提供吗,我下载工程编译报错。
如题 请问该文件在哪里
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.