返回官网官方微博

麦步社区-论坛

 找回密码
 立即注册

QQ登录

只需一步,快速开始

扫一扫,访问微社区

搜索
热搜: MAI 表盘
楼主: 电气猫
打印 上一主题 下一主题

[表盘制作教程] 【教程-入门级】教你做属于自己的数字表盘,敲简单!

[复制链接]

4

主题

8

帖子

128

麦力

精华
0
阅读权限
20
在线时间
8 小时

21#
发表于 2017-2-12 16:42:20 | 只看该作者
按着步骤来,模拟后,左侧代码中有红字,请问是怎么回事呢?我下别的也都有这个问题,都有红色的字

生成资源文件...
-------------read appinfo.json-------------
uuid:028aeb223182487329dfd1a348612370
app_id:35073
name:藤蔓十字绣
icon:0
version:103
watchface:1
sysapp:0
res_num:21
res:0, type:0, name:PIC_BG, file:vines.bmp
res:1, type:0, name:PIC_0_1, file:0_time.bmp
res:2, type:0, name:PIC_1_1, file:1_time.bmp
res:3, type:0, name:PIC_2_1, file:2_time.bmp
res:4, type:0, name:PIC_3_1, file:3_time.bmp
res:5, type:0, name:PIC_4_1, file:4_time.bmp
res:6, type:0, name:PIC_5_1, file:5_time.bmp
res:7, type:0, name:PIC_6_1, file:6_time.bmp
res:8, type:0, name:PIC_7_1, file:7_time.bmp
res:9, type:0, name:PIC_8_1, file:8_time.bmp
res:10, type:0, name:PIC_9_1, file:9_time.bmp
res:11, type:0, name:PIC_0_2, file:0_date.bmp
res:12, type:0, name:PIC_1_2, file:1_date.bmp
res:13, type:0, name:PIC_2_2, file:2_date.bmp
res:14, type:0, name:PIC_3_2, file:3_date.bmp
res:15, type:0, name:PIC_4_2, file:4_date.bmp
res:16, type:0, name:PIC_5_2, file:5_date.bmp
res:17, type:0, name:PIC_6_2, file:6_date.bmp
res:18, type:0, name:PIC_7_2, file:7_date.bmp
res:19, type:0, name:PIC_8_2, file:8_date.bmp
res:20, type:0, name:PIC_9_2, file:9_date.bmp

-----------------begin create res.h-------------
-----------------create res.h ok-------------
-----------------begin create res_file-------------
type:0, res_key:5001, offset:336, res_size:2048, width:128, height:128
type:0, res_key:5002, offset:2384, res_size:52, width:15, height:26
type:0, res_key:5003, offset:2436, res_size:52, width:15, height:26
type:0, res_key:5004, offset:2488, res_size:52, width:15, height:26
type:0, res_key:5005, offset:2540, res_size:52, width:15, height:26
type:0, res_key:5006, offset:2592, res_size:52, width:15, height:26
type:0, res_key:5007, offset:2644, res_size:52, width:15, height:26
type:0, res_key:5008, offset:2696, res_size:52, width:15, height:26
type:0, res_key:5009, offset:2748, res_size:52, width:15, height:26
type:0, res_key:5010, offset:2800, res_size:52, width:15, height:26
type:0, res_key:5011, offset:2852, res_size:52, width:15, height:26
type:0, res_key:5012, offset:2904, res_size:30, width:9, height:15
type:0, res_key:5013, offset:2934, res_size:30, width:9, height:15
type:0, res_key:5014, offset:2964, res_size:30, width:9, height:15
type:0, res_key:5015, offset:2994, res_size:30, width:9, height:15
type:0, res_key:5016, offset:3024, res_size:30, width:9, height:15
type:0, res_key:5017, offset:3054, res_size:30, width:9, height:15
type:0, res_key:5018, offset:3084, res_size:30, width:9, height:15
type:0, res_key:5019, offset:3114, res_size:30, width:9, height:15
type:0, res_key:5020, offset:3144, res_size:30, width:9, height:15
type:0, res_key:5021, offset:3174, res_size:30, width:9, height:15
-------------create res_file ok---------------
---------------prepare pack head----------
---------------read res_file----------
---------------read code----------
not found file:.\build\maibu_code
create pack failed
正在编译...
arm-none-eabi-gcc -c -mthumb -mcpu=cortex-m0 watchface_vines.c -I .\SDK\
watchface_vines.c: In function 'app_watch_update':
watchface_vines.c:73:11: warning: assignment makes pointer from integer without a cast [enabled by default]

正在打包...
-------------read appinfo.json-------------
uuid:028aeb223182487329dfd1a348612370
app_id:35073
name:藤蔓十字绣
icon:0
version:103
watchface:1
sysapp:0
res_num:21
res:0, type:0, name:PIC_BG, file:vines.bmp
res:1, type:0, name:PIC_0_1, file:0_time.bmp
res:2, type:0, name:PIC_1_1, file:1_time.bmp
res:3, type:0, name:PIC_2_1, file:2_time.bmp
res:4, type:0, name:PIC_3_1, file:3_time.bmp
res:5, type:0, name:PIC_4_1, file:4_time.bmp
res:6, type:0, name:PIC_5_1, file:5_time.bmp
res:7, type:0, name:PIC_6_1, file:6_time.bmp
res:8, type:0, name:PIC_7_1, file:7_time.bmp
res:9, type:0, name:PIC_8_1, file:8_time.bmp
res:10, type:0, name:PIC_9_1, file:9_time.bmp
res:11, type:0, name:PIC_0_2, file:0_date.bmp
res:12, type:0, name:PIC_1_2, file:1_date.bmp
res:13, type:0, name:PIC_2_2, file:2_date.bmp
res:14, type:0, name:PIC_3_2, file:3_date.bmp
res:15, type:0, name:PIC_4_2, file:4_date.bmp
res:16, type:0, name:PIC_5_2, file:5_date.bmp
res:17, type:0, name:PIC_6_2, file:6_date.bmp
res:18, type:0, name:PIC_7_2, file:7_date.bmp
res:19, type:0, name:PIC_8_2, file:8_date.bmp
res:20, type:0, name:PIC_9_2, file:9_date.bmp

-----------------begin create res.h-------------
-----------------create res.h ok-------------
-----------------begin create res_file-------------
type:0, res_key:5001, offset:336, res_size:2048, width:128, height:128
type:0, res_key:5002, offset:2384, res_size:52, width:15, height:26
type:0, res_key:5003, offset:2436, res_size:52, width:15, height:26
type:0, res_key:5004, offset:2488, res_size:52, width:15, height:26
type:0, res_key:5005, offset:2540, res_size:52, width:15, height:26
type:0, res_key:5006, offset:2592, res_size:52, width:15, height:26
type:0, res_key:5007, offset:2644, res_size:52, width:15, height:26
type:0, res_key:5008, offset:2696, res_size:52, width:15, height:26
type:0, res_key:5009, offset:2748, res_size:52, width:15, height:26
type:0, res_key:5010, offset:2800, res_size:52, width:15, height:26
type:0, res_key:5011, offset:2852, res_size:52, width:15, height:26
type:0, res_key:5012, offset:2904, res_size:30, width:9, height:15
type:0, res_key:5013, offset:2934, res_size:30, width:9, height:15
type:0, res_key:5014, offset:2964, res_size:30, width:9, height:15
type:0, res_key:5015, offset:2994, res_size:30, width:9, height:15
type:0, res_key:5016, offset:3024, res_size:30, width:9, height:15
type:0, res_key:5017, offset:3054, res_size:30, width:9, height:15
type:0, res_key:5018, offset:3084, res_size:30, width:9, height:15
type:0, res_key:5019, offset:3114, res_size:30, width:9, height:15
type:0, res_key:5020, offset:3144, res_size:30, width:9, height:15
type:0, res_key:5021, offset:3174, res_size:30, width:9, height:15
-------------create res_file ok---------------
---------------prepare pack head----------
---------------read res_file----------
---------------read code----------
---------------write pack head----------
---------------write res ----------
---------------write code ----------
---------------pack file:藤蔓十字绣 ok ----------


正在编译...

编译完成

5

主题

17

帖子

434

麦力

精华
0
阅读权限
30
在线时间
9 小时

22#
发表于 2018-3-1 10:31:56 | 只看该作者
好帖,学习了。

5

主题

174

帖子

2456

麦力

精华
2
阅读权限
50
在线时间
187 小时

23#
发表于 2018-3-6 16:44:39 | 只看该作者
dell3 发表于 2018-3-1 10:31
好帖,学习了。

这么老的贴都翻出来,你该与时俱进了。。。
已经有一键式制作工具了。。。

1

主题

9

帖子

96

麦力

精华
0
阅读权限
20
在线时间
4 小时

24#
发表于 2018-4-15 13:40:05 | 只看该作者
没有一个表盘模拟的了,提示不是内部程序

2

主题

50

帖子

602

麦力

精华
0
阅读权限
30
在线时间
34 小时

25#
发表于 2018-5-9 20:33:48 | 只看该作者
reerayxia 发表于 2018-3-6 16:44
这么老的贴都翻出来,你该与时俱进了。。。
已经有一键式制作工具了。。。 ...

求一键式制作工具

2

主题

50

帖子

602

麦力

精华
0
阅读权限
30
在线时间
34 小时

26#
发表于 2018-5-27 10:51:10 | 只看该作者
这个官方的开发环境根本无法调试啊,能共享下其他的sdk么

66

主题

915

帖子

1万

麦力

精华
8
阅读权限
80
在线时间
1040 小时

麦步极客实验室麦步增强版用户

27#
发表于 2018-5-27 11:08:07 来自手机 | 只看该作者
主要真机测试,调试有点费劲,但有现成源码可借鉴。

40

主题

1665

帖子

1万

麦力

精华
2
阅读权限
100
在线时间
1236 小时

麦步手表用户麦步工业测评协会

28#
发表于 2018-5-27 11:29:38 | 只看该作者
Haichen 发表于 2018-5-27 10:51
这个官方的开发环境根本无法调试啊,能共享下其他的sdk么

黑白表盘可以正常调试,彩屏的稍费些周折

2

主题

50

帖子

602

麦力

精华
0
阅读权限
30
在线时间
34 小时

29#
发表于 2018-5-28 17:31:48 | 只看该作者
步往康来 发表于 2018-5-27 11:29
黑白表盘可以正常调试,彩屏的稍费些周折

老大,能共享下开发环境么,orz

40

主题

1665

帖子

1万

麦力

精华
2
阅读权限
100
在线时间
1236 小时

麦步手表用户麦步工业测评协会

30#
发表于 2018-5-28 19:53:45 | 只看该作者
本帖最后由 步往康来 于 2018-5-28 20:22 编辑
Haichen 发表于 2018-5-28 17:31
老大,能共享下开发环境么,orz

这贴子已写得很清楚了。
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|Archiver|手机版|小黑屋|麦步官方论坛 ( 粤ICP备12052190号  

GMT+8, 2024-11-25 01:49 , Processed in 0.081435 second(s), 24 queries .

Powered by Discuz! X3.2

© 2012-2021 Comsenz Inc.

快速回复 返回顶部 返回列表