yuan910715 / 3keys Goto Github PK
View Code? Open in Web Editor NEW一个CH552制作的三键小键盘 CV工程师键盘
一个CH552制作的三键小键盘 CV工程师键盘
你好,arduino生成的hex文件在那看
您好, 我在尝试编译threekey.ino时出现了以下报错
请问该如何解决
Linking everything together...
"C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\CH55xDuino\\tools\\MCS51Tools\\2023.10.10/win/busybox" ash "C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\CH55xDuino\\tools\\MCS51Tools\\2023.10.10/wrapper/sdcc-link.sh" "C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\CH55xDuino\\tools\\sdcc\\build.13407_4/bin/sdcc" --nostdlib "-LC:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino\\sketches\\33BDE724B82CB71055F8934B06EEDA5C" "-LC:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\CH55xDuino\\tools\\sdcc\\build.13407_4/lib/large_int_calc_stack_auto" --code-size 14336 --xram-size 876 --xram-loc 148 -mmcs51 -DCH552 "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino\\sketches\\33BDE724B82CB71055F8934B06EEDA5C\\sketch\\threekey.ino.cpp.o" "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino\\sketches\\33BDE724B82CB71055F8934B06EEDA5C\\sketch\\src\\CDC_KEYBOARD\\USBCDC.c.o" "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino\\sketches\\33BDE724B82CB71055F8934B06EEDA5C\\sketch\\src\\CDC_KEYBOARD\\USBHIDKeyboard.c.o" "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino\\sketches\\33BDE724B82CB71055F8934B06EEDA5C\\sketch\\src\\CDC_KEYBOARD\\USBconstant.c.o" "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino\\sketches\\33BDE724B82CB71055F8934B06EEDA5C\\sketch\\src\\CDC_KEYBOARD\\USBhandler.c.o" "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino\\sketches\\33BDE724B82CB71055F8934B06EEDA5C/core\\core.a" -lmcs51 -llibsdcc -lliblong -lliblonglong -llibint -llibfloat --out-fmt-ihx -o "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino\\sketches\\33BDE724B82CB71055F8934B06EEDA5C/threekey.ino.elf"
?ASlink-Error-Insufficient ROM/EPROM/FLASH memory.
"C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\CH55xDuino\\tools\\sdcc\\build.13407_4/bin/avr-objcopy_7_3_0" -O ihex -R DATA -R INITIALIZED -R SSEG "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino\\sketches\\33BDE724B82CB71055F8934B06EEDA5C/threekey.ino.elf" "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino\\sketches\\33BDE724B82CB71055F8934B06EEDA5C/threekey.ino.hex"
C:\Users\Administrator\AppData\Local\Arduino15\packages\CH55xDuino\tools\sdcc\build.13407_4/bin/avr-objcopy_7_3_0: 'C:\Users\Administrator\AppData\Local\Temp\arduino\sketches\33BDE724B82CB71055F8934B06EEDA5C/threekey.ino.elf': No such file
exit status 1
Compilation error: exit status 1
排除了type-c线的问题,同样的扩展坞,上一版的固件可以直接使用
v4固件的则没有反应
你好!从deqingsun大大的issues看到了您,正好也是做类似的东西,然后看到那个cdc的项目是声明的HID键盘,但是我想用媒体键盘,但是对HID不太熟u,改了一下午,请教一下那个reportID要怎么改呀?现在合并完了虽然能编译但是按键用不了,看到您实现了,想请教一下,谢谢!
您好,我注意到CH552G芯片内置的dataflash只有128K,dedingsun的eeprom.h中也描述到if (addr >= 128) {
return;
},看您的板子并没有增加外置存储,想请问您是如何做到eeprom读写到152地址的呢,是否能更多?
顺带一提,把鼠标加进来太棒了,可惜源码中并没有~
请问,v5.1码源能发一下吗,我想改个连接名称
1、请教楼主,XP,WIN7系统不装驱动都支持吗?
2、如果按键按下状态(一直按着),怎么能每1秒循环发送键值?请教楼主
你好 从立创广场一路看到这来的 很不错的3键键盘固件!
我自己的出发点是想要做一个单独的Sysreq单键键盘 开源广场上也看了很多方案 感觉各路神仙都把ch552玩出花来
我读了@DeqingSun的示例代码和你的项目 基于我自己的使用场景 想给功能键增加一个sysreq的选项 也查了相关的hid规范pdf
感觉只要在USBHIDKeyboard.c
修改#DEFINE
和app.vue
里面的列表应该就能加入新的键位 板子和材料还没到所以我暂时还不能验证可行性 如果可行的话看看能不能接受一下我的PR
可以的话能不能尝试对HID里面的其他键进行扩展呢 比如留一部分自定义功能键0xfc-0xfe
可以提供给自定义的映射 至少有三个键的空间可以用 如果可以把这三个键在web改键程序上作为自定义扩展提供应该会更加方便(例如需要改PrintScr, Pause键的场景)
请问,ch55x文件的源码是v5固件的源码吗
大佬您好,学习了很多,但是发现好像现在的arduino源码编译后是5.1的固件,但是web端开源的部分貌似是老的,编译以后无法通讯,可以劳烦大佬更新一下嘛!万分感谢!
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.