嗨对话框
我用da14699有一些问题。
我有一个案例,它使用的样本代码pxp_reporter和emwin,但当我混合代码有一些问题。
如何在pxp_reporter中包含emwin_lib ?
我需要使用ble adv, ble_custom_service,SUOTA, LCDC(EMWIN)和PNG。
我尝试在pxp_reporter中包含emwin, pxp_reporter的ble函数可以使用,但当我使用emwin编译器有错误消息:
/ ui / MainTask。o:在MainTask函数中:
D: projects\ labar_transplanting\SDK_10.0.10.118\projects\dk_apps\demo \pxp_reporter\DA1469x-00-Debug_QSPI_SUOTA/../ui/MainTask.c:625: undefined reference to ' GUI_Init'
D: project\labar_transplanting\SDK_10.0.10.118\projects\dk_apps\demo \pxp_reporter\DA1469x-00-Debug_QSPI_SUOTA/../ui/MainTask.c:633: undefined reference to ' GUI_SetBkColor'
D: project\labar_transplanting\SDK_10.0.10.118\projects\dk_apps\demo \pxp_reporter\DA1469x-00-Debug_QSPI_SUOTA/../ui/MainTask.c:634: undefined reference to ' GUI_Clear'
D:\project\labar_transplanting\SDK_10.0.10.118\projects\dk_apps\demo \pxp_reporter\DA1469x-00-Debug_QSPI_SUOTA/../ui/MainTask.c:640: undefined reference to ' gui_disdecat '
D: project\labar_transplanting\SDK_10.0.10.118\projects\dk_apps\demo \pxp_reporter\DA1469x-00-Debug_QSPI_SUOTA/../ui/MainTask.c:643: undefined reference to ' LCD_GetXSize'
D: project\labar_transplanting\SDK_10.0.10.118\projects\dk_apps\demo \pxp_reporter\DA1469x-00-Debug_QSPI_SUOTA/../ui/MainTask.c:644: undefined reference to ' LCD_GetYSize'
D: project\labar_transplanting\SDK_10.0.10.118\projects\dk_apps\demo \pxp_reporter\DA1469x-00-Debug_QSPI_SUOTA/../ui/MainTask.c:646: undefined reference to ' GUI_MULTIBUF_Begin'
D: project\labar_transplanting\SDK_10.0.10.118\projects\dk_apps\demo \pxp_reporter\DA1469x-00-Debug_QSPI_SUOTA/../ui/MainTask.c:648: undefined reference to ' GUI_MULTIBUF_End'
D: project\labar_transplanting\SDK_10.0.10.118\projects\dk_apps\demo \pxp_reporter\DA1469x-00-Debug_QSPI_SUOTA/../ui/MainTask.c:649: undefined reference to ' GUI_Delay'
D:\project\labar_transplanting\SDK_10.0.10.118\projects\dk_apps\demo \pxp_reporter\DA1469x-00-Debug_QSPI_SUOTA/../ui/MainTask.c:670: undefined reference to ' gui_disdecat '
D: projects\ labar_transplanting\SDK_10.0.10.118\projects\dk_apps\demo \pxp_reporter\DA1469x-00-Debug_QSPI_SUOTA/../ui/MainTask.c:760: undefined reference to ' GUI_MULTIBUF_End'
D: project\labar_transplanting\SDK_10.0.10.118\projects\dk_apps\demo \pxp_reporter\DA1469x-00-Debug_QSPI_SUOTA/../ui/MainTask.c:658: undefined reference to ' GUI_Delay'
D:\project\labar_transplanting\SDK_10.0.10.118\projects\dk_apps\demo \pxp_reporter\DA1469x-00-Debug_QSPI_SUOTA/../ui/MainTask.c:660: undefined reference to ' GUI_Clear'
D: project\labar_transplanting\SDK_10.0.10.118\projects\dk_apps\demo \pxp_reporter\DA1469x-00-Debug_QSPI_SUOTA/../ui/MainTask.c:661: undefined reference to ' GUI_MULTIBUF_Begin'
D: project\labar_transplanting\SDK_10.0.10.118\projects\dk_apps\demo \pxp_reporter\DA1469x-00-Debug_QSPI_SUOTA/../ui/MainTask.c:666: undefined reference to ' gui_disdecat '
/ emwin_lib / gdi / png / GUI_PNG。o:在函数' GUI_PNG__GetData'中:
D:\project\labar_transplanting\SDK_10.0.10.118\projects\dk_apps\demo \pxp_reporter\DA1469x-00-Debug_QSPI_SUOTA/../emwin_lib/gdi/png/GUI_PNG.c:87: undefined reference to ' GUI__pfMemcpy'
/ emwin_lib / gdi / png / GUI_PNG。o:在函数' _free_fn'中:
D:\project\labar_transplanting\SDK_10.0.10.118\projects\dk_apps\demo \pxp_reporter\DA1469x-00-Debug_QSPI_SUOTA/../emwin_lib/gdi/png/GUI_PNG.c:157: undefined reference to ' GUI_ALLOC_p2h'
D:\project\labar_transplanting\SDK_10.0.10.118\projects\dk_apps\demo \pxp_reporter\DA1469x-00-Debug_QSPI_SUOTA/../emwin_lib/gdi/png/GUI_PNG.c:158: undefined reference to ' GUI_ALLOC_UnlockH'
D:\project\labar_transplanting\SDK_10.0.10.118\projects\dk_apps\demo \pxp_reporter\DA1469x-00-Debug_QSPI_SUOTA/../emwin_lib/gdi/png/GUI_PNG.c:159: undefined reference to ' GUI_ALLOC_Free'
/ emwin_lib / gdi / png / GUI_PNG。o:在函数' _malloc_fn'中:
D:\project\labar_transplanting\SDK_10.0.10.118\projects\dk_apps\demo \pxp_reporter\DA1469x-00-Debug_QSPI_SUOTA/../emwin_lib/gdi/png/GUI_PNG.c:132: undefined reference to ' GUI_ALLOC_AllocNoInit'
D:\project\labar_transplanting\SDK_10.0.10.118\projects\dk_apps\demo \pxp_reporter\DA1469x-00-Debug_QSPI_SUOTA/../emwin_lib/gdi/png/GUI_PNG.c:134: undefined reference to ' GUI_ALLOC_LockH'
/ emwin_lib / gdi / png / GUI_PNG。o:在函数' _Draw'中:
D:\project\labar_transplanting\SDK_10.0.10.118\projects\dk_apps\demo \pxp_reporter\DA1469x-00-Debug_QSPI_SUOTA/../emwin_lib/gdi/png/GUI_PNG.c:363: undefined reference to ' GUI_ALLOC_AllocZero'
D:\project\labar_transplanting\SDK_10.0.10.118\projects\dk_apps\demo \pxp_reporter\DA1469x-00-Debug_QSPI_SUOTA/../emwin_lib/gdi/png/GUI_PNG.c:364: undefined reference to ' GUI_ALLOC_AllocZero'
D:\project\labar_transplanting\SDK_10.0.10.118\projects\dk_apps\demo \pxp_reporter\DA1469x-00-Debug_QSPI_SUOTA/../emwin_lib/gdi/png/GUI_PNG.c:500: undefined reference to ' GUI_ALLOC_Free'
D: project\labar_transplanting\SDK_10.0.10.118\projects\dk_apps\demo \pxp_reporter\DA1469x-00-Debug_QSPI_SUOTA/../emwin_lib/gdi/png/GUI_PNG.c:501: undefined reference to ' GUI_ALLOC_Free'
D:\project\labar_transplanting\SDK_10.0.10.118\projects\dk_apps\demo \pxp_reporter\DA1469x-00-Debug_QSPI_SUOTA/../emwin_lib/gdi/png/GUI_PNG.c:366: undefined reference to ' GUI_ALLOC_LockH'
D:\project\labar_transplanting\SDK_10.0.10.118\projects\dk_apps\demo \pxp_reporter\DA1469x-00-Debug_QSPI_SUOTA/../emwin_lib/gdi/png/GUI_PNG.c:367: undefined reference to ' GUI_ALLOC_LockH'
D:\project\labar_transplanting\SDK_10.0.10.118\projects\dk_apps\demo \pxp_reporter\DA1469x-00-Debug_QSPI_SUOTA/../emwin_lib/gdi/png/GUI_PNG.c:368: undefined reference to ' GUI_GetBitsPerPixelEx'
D:\project\labar_transplanting\SDK_10.0.10.118\projects\dk_apps\demo \pxp_reporter\DA1469x-00-Debug_QSPI_SUOTA/../emwin_lib/gdi/png/GUI_PNG.c:373: undefined reference to ' GUI_GetpfIndex2ColorEx'
D: project\labar_transplanting\SDK_10.0.10.118\projects\dk_apps\demo \pxp_reporter\DA1469x-00-Debug_QSPI_SUOTA/../emwin_lib/gdi/png/GUI_PNG.c:374: undefined reference to ' GUI_GetpfColor2IndexEx'
D:\project\labar_transplanting\SDK_10.0.10.118\projects\dk_apps\demo \pxp_reporter\DA1469x-00-Debug_QSPI_SUOTA/../emwin_lib/gdi/png/GUI_PNG.c:382: undefined reference to ' WM__InitIVRSearch'
D:\project\labar_transplanting\SDK_10.0.10.118\projects\dk_apps\demo \pxp_reporter\DA1469x-00-Debug_QSPI_SUOTA/../emwin_lib/gdi/png/GUI_PNG.c:423: undefined reference to ' WM_Deactivate'
D:\project\labar_transplanting\SDK_10.0.10.118\projects\dk_apps\demo \pxp_reporter\DA1469x-00-Debug_QSPI_SUOTA/../emwin_lib/gdi/png/GUI_PNG.c:441: undefined reference to ' WM_Activate'
D:\project\labar_transplanting\SDK_10.0.10.118\projects\dk_apps\demo \pxp_reporter\DA1469x-00-Debug_QSPI_SUOTA/../emwin_lib/gdi/png/GUI_PNG.c:436: undefined reference to ' GUI_ReadRectEx'
D:\project\labar_transplanting\SDK_10.0.10.118\projects\dk_apps\demo \pxp_reporter\DA1469x-00-Debug_QSPI_SUOTA/../emwin_lib/gdi/png/GUI_PNG.c:437: undefined reference to ' GUI__ExpandPixelIndices'
D:\project\labar_transplanting\SDK_10.0.10.118\projects\dk_apps\demo \pxp_reporter\DA1469x-00-Debug_QSPI_SUOTA/../emwin_lib/gdi/png/GUI_PNG.c:487: undefined reference to ' GUI__CompactPixelIndices'
D:\project\labar_transplanting\SDK_10.0.10.118\projects\dk_apps\demo \pxp_reporter\DA1469x-00-Debug_QSPI_SUOTA/../emwin_lib/gdi/png/GUI_PNG.c:488: undefined reference to ' LCD_DrawBitmap'
D:\project\labar_transplanting\SDK_10.0.10.118\projects\dk_apps\demo \pxp_reporter\DA1469x-00-Debug_QSPI_SUOTA/../emwin_lib/gdi/png/GUI_PNG.c:492: undefined reference to ' WM__GetNextIVR'
D:\project\labar_transplanting\SDK_10.0.10.118\projects\dk_apps\demo \pxp_reporter\DA1469x-00-Debug_QSPI_SUOTA/../emwin_lib/gdi/png/GUI_PNG.c:497: undefined reference to ' GUI_ALLOC_UnlockH'
D:\project\labar_transplanting\SDK_10.0.10.118\projects\dk_apps\demo \pxp_reporter\DA1469x-00-Debug_QSPI_SUOTA/../emwin_lib/gdi/png/GUI_PNG.c:498: undefined reference to ' GUI_ALLOC_UnlockH'
D:\project\labar_transplanting\SDK_10.0.10.118\projects\dk_apps\demo \pxp_reporter\DA1469x-00-Debug_QSPI_SUOTA/../emwin_lib/gdi/png/GUI_PNG.c:260: undefined reference to ' GUI_pContext'
D:\project\labar_transplanting\SDK_10.0.10.118\projects\dk_apps\demo \pxp_reporter\DA1469x-00-Debug_QSPI_SUOTA/../emwin_lib/gdi/png/GUI_PNG.c:260: undefined reference to ' GUI__apDevice'
D:\project\labar_transplanting\SDK_10.0.10.118\projects\dk_apps\demo \pxp_reporter\DA1469x-00-Debug_QSPI_SUOTA/../emwin_lib/gdi/png/GUI_PNG.c:260: undefined reference to ' GUI__pfMixColors'
/ emwin_lib / gdi / png / GUI_PNG。o:在函数“GUI_PNG_DrawEx”中:
D:\project\labar_transplanting\SDK_10.0.10.118\projects\dk_apps\demo \pxp_reporter\DA1469x-00-Debug_QSPI_SUOTA/../emwin_lib/gdi/png/GUI_PNG.c:607: undefined reference to ' GUI_ALLOC_Lock'
D:\project\labar_transplanting\SDK_10.0.10.118\projects\dk_apps\demo \pxp_reporter\DA1469x-00-Debug_QSPI_SUOTA/../emwin_lib/gdi/png/GUI_PNG.c:611: undefined reference to ' GUI_ALLOC_Unlock'
/ emwin_lib / gdi / png / GUI_PNG。o:在函数“GUI_PNG_Draw”中:
D:\project\labar_transplanting\SDK_10.0.10.118\projects\dk_apps\demo \pxp_reporter\DA1469x-00-Debug_QSPI_SUOTA/../emwin_lib/gdi/png/GUI_PNG.c:623: undefined reference to ' GUI_ALLOC_Lock'
D:\project\labar_transplanting\SDK_10.0.10.118\projects\dk_apps\demo \pxp_reporter\DA1469x-00-Debug_QSPI_SUOTA/../emwin_lib/gdi/png/GUI_PNG.c:627: undefined reference to ' GUI_ALLOC_Unlock'
Collect2.exe:错误:ld返回1退出状态
Make [1]: *** [makefile:72: pxp_reporter. txt . txt]精灵]错误1
make: *** [makefile:63: all]错误2
"make——silent all"以退出码2结束。构建可能不完整。
如果库路径添加
/ $ {ProjName} / emwin_lib耐火/ libemwin /释放
库添加
emwin
包括> GNU C add
/ $ {ProjName} / sdk / segger_tools /配置
$ {ProjName} / sdk / segger_tools /耐火
/ $ {ProjName} / sdk / segger_tools / OS
错误信息:
建设目标:pxp_reporter.elf
调用:交叉ARM C连接器
d: / diasemi / smartsnippetsstudio2.0.14 / gcc / 7 - 2018 q2 / bin / . . / lib / gcc / arm-none-eabi / 7.3.1 /../../../../ arm-none-eabi / bin / ld.exe: pxp_reporter。精灵节”。文本'不适用于区域' ROM'
d: / diasemi / smartsnippetsstudio2.0.14 / gcc / 7 - 2018 q2 / bin / . . / lib / gcc / arm-none-eabi / 7.3.1 /../../../../ arm-none-eabi / bin / ld.exe: pxp_reporter。精灵节”。cmi_section不适合RAM区域
d:/diasemi/ smartsnippetstudio2.0.14 /gcc/7-2018-q2/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../ ../arm-none-eabi/bin/ld.exe: region ' ROM'溢出101624字节
d:/diasemi/ smartsnippetstudio2.0.14 /gcc/7-2018-q2/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../ ../arm-none-eabi/bin/ld.exe: region ' RAM' overflow by 79736 bytes .
Collect2.exe:错误:ld返回1退出状态
Make [1]: *** [makefile:72: pxp_reporter. txt . txt]精灵]错误1
make: *** [makefile:63: all]错误2
设备:
DA1469x PRO套件+ DA14699子板
液晶80*160液晶控制器:ST7735S
SDK: SDK_10.0.10.118
smartsnippetsstudio2.0.14.1748
谢谢
我也是遇到了相同的问题。我想把suota的东西移植到我的工程里面。自己的工程有emwin太麻烦了。马克一下,看下怎么解决的
我被這個問題卡住了許久,如果emwin-lib不能整合到其他代码中,案子無法繼續進行,希望原廠可以幫忙解決
我之前把emwin的演示移植到ble的演示里面了,也是卡住了好久,官方没找到响应教程,你看下附件我的图片的配置,就懂了。因为emwin和蓝牙协议栈都是基于。库的,都是没有源码的,把文件移植过来之后,还要在ide里面添加emwin库,以及库的路径。
謝謝!,但是這個我也有試過,但是修改完加入emwin後ram跟罗就會溢出
裡面就只有
GUI_Init ();
GUI_DispDecAt ();
還是會出現
那就是ram和rom都超了。我现在程序固件的空间设置为2米了,之前默认是512 k。ram的话,我也是自带的512 k超了,我用了外置的ram,把液晶那里全设置成外置内存了。因为协议栈占了100多k的内存。然后emwin那里,如果用解码库的话,也占得多,你先调整下用的空间吧,不行就外扩吧
好的,不過我在猜是不是有哪些地方沒有改好才會造成這個狀況
如果要外擴,或許只能考慮放棄EMWIN自己使用SPI來寫螢幕驅動,PNG問題在另外想辦法了
同時等待原廠的回覆吧!
感謝你!
ram简单,你把emwin那里就显示一行字,把自己的程序先注释。看看情况
請問一下RAM罗目前使用量要從哪邊查看吗?
我測試只要加入GUI_Init ();就會RAM罗溢出
哦哦。就是你编译完这个工程,不是新建了一个文件夹吗?就是你生成的本文件的那个文件夹,里面有一个地图文件,就是地址分配情况,看这个就行
找不到的话,可以加我微信,这个传图太麻烦了,我现在是想把现有的工程加上在线旅行社,和你差不多的问题。把emwin和蓝牙协议栈移植到ota感觉更麻烦
我有找到. map文件,是這個沒錯吧!
資料位置在編譯專案裡面,我的位置是在:
\ pxp_reporter \ DA1469x-00-Debug_QSPI_SUOTA
但我只有看到内存配置
名称来源长度
ROM 0x00000000 0x0005c800 xr
RAM 0x20000200 0x0007fe00 rw
* * 0 0 x00000000 xffffffff违约
哪邊可以看到統計資訊呢? 謝謝
好啊,互相加個微信,如果官方後續有解法,或許可以互相討論一下,或是跟您請教
謝謝!
嗨kuo41006,
谢谢你的在线问题。你有没有查看emWin支持页面的文档?
除了从DA1469x emWin图书馆,有一个DA1469x emWin示范的例子。
谢谢,PM_Dialog
嗨PM_Dialog,
是的,我使用的是DA1469x emWin演示示例,然后去emWin下载png包。
它可以使用,png可以绘制成LCD ?。
但是现在我需要将代码与emWin演示示例和pxp_reporter混合。
我不知道pxp_reporter的设置是错的。
我使用pxp_reporter添加emwin_lib,并添加emWin演示示例qspi设置。
pxp_reporter属性设置在EMWIN設定. pdf
可以使用BLE函数。
但当我使用EMWIN函数编译器有错误消息。
如果库路径添加
/ $ {ProjName} / emwin_lib耐火/ libemwin /释放
库添加
emwin
包括> GNU C add
/ $ {ProjName} / sdk / segger_tools /配置
$ {ProjName} / sdk / segger_tools /耐火
/ $ {ProjName} / sdk / segger_tools / OS
错误信息:
建设目标:pxp_reporter.elf
调用:交叉ARM C连接器
d: / diasemi / smartsnippetsstudio2.0.14 / gcc / 7 - 2018 q2 / bin / . . / lib / gcc / arm-none-eabi / 7.3.1 /../../../../ arm-none-eabi / bin / ld.exe: pxp_reporter。精灵节”。文本'不适用于区域' ROM'
d: / diasemi / smartsnippetsstudio2.0.14 / gcc / 7 - 2018 q2 / bin / . . / lib / gcc / arm-none-eabi / 7.3.1 /../../../../ arm-none-eabi / bin / ld.exe: pxp_reporter。精灵节”。cmi_section不适合RAM区域
d:/diasemi/ smartsnippetstudio2.0.14 /gcc/7-2018-q2/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../ ../arm-none-eabi/bin/ld.exe: region ' ROM'溢出101624字节
d:/diasemi/ smartsnippetstudio2.0.14 /gcc/7-2018-q2/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../ ../arm-none-eabi/bin/ld.exe: region ' RAM' overflow by 79736 bytes .
Collect2.exe:错误:ld返回1退出状态
Make [1]: *** [makefile:72: pxp_reporter. txt . txt]精灵]错误1
make: *** [makefile:63: all]错误2
Ram ROM溢出
custom_config_qspi_suota.h
嗨kuo41006,
我们已经把这个问题从论坛和我们的本地分销商离线。
这个问题已经在内部升级,我们正在努力解决。
谢谢,PM_Dialog
嗨kuo41006,
问题解决了吗?我和你有同样的问题。
不,它仍然有问题
你好,
我已试过所有可选的方法来解决这个麻烦。
已经见过太多了当地电视youtube和Chatiw在线视频来解决这个问题。
但是,我仍然没有得到最终的解决方案。
所以如果有人得到了答案请与我分享。
大家好!
如果FW超过512KB,则按照DA1469x支持大于512kB的图片教程。本教程旨在提供如何在DA1469x上支持不同大小的FW图像的步骤。默认情况下,SDK和芯片配置都支持运行最大512kb大小的应用程序映像。
谢谢,PM_Dialog