peng-zhihui / Dummy-Robot

我的超迷你机械臂机器人项目。
11.89k stars 2.63k forks source link

打开即用Dummy固件编译/debug/下载虚拟机 #187

Open lixinswitchpi opened 12 months ago

lixinswitchpi commented 12 months ago

肝了一晚,配置了一个dummy固件编译和debug环境的vbox的虚拟机,方便对软件不熟悉的小伙伴打开即用!直接编译,插上st-link(v2)即可debug和下载,环境包括 1 Clion23.2(已经解除限制,但只限个人学习使用,商业应用后果自负) 2 最新版ARM toolchain 12.3.rel1-x86_64-arm-none-eabi 3 OpenOCD,已经配置到两个项目中,可以直接debug并下载到板子 4 最新stm32 programmer 5 Ubuntu22.04.2 LTS

修复了几个最新toolchain下的bug 1 42固件编译后过大,占用校验数据bug 2 支持Dummy studio的命令格式 3 42固件 ST-LINK 配置错误 4 fixed undefined reference to `TB67H450Base::InitGpio()' ... 等等 issues 5 fixed error: there are no arguments to 'snprintf' that depend on a template parameter, so a declaration of 'snprintf' must be available [␛]8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-fpermissive␇-fpermissive␛]8;;␇] 6 fixed error: 'string' in namespace 'std' does not name a type 7 fixed fatal error: mpu6050.hpp: No such file or directory ..... 另外,为了方便大家上手,制作了一个简单视频供参考(刚发现录制时没开mic,没有声音 :( 最近有点儿忙,过两天补上 :)

References: 虚拟机 https://pan.baidu.com/s/1hgVCwm78P3Q80ixG1-m_Hg 提取码:dqgx 视频 https://www.bilibili.com/video/BV1Bm4y1K7fY/ VM VirtualBOX https://www.virtualbox.org/wiki/Downloads ARM GNU Toolchain https://developer.arm.com/downloads/-/gnu-rm Dummy GitHub https://github.com/peng-zhihui/Dummy-Robot OpenOCD https://openocd.org/

Gabriel1688 commented 7 months ago

上面的虚拟机链接过期了, 能再发一次吗?谢谢