yabo国际娱乐5.14对话框半导体客户支持-凯尔
https://support.dialog - semiconductor.com/resource keywords/keil - 514
在
-
动态内存分配问题
https://support.dialog-semiconductor.com/forums/post/dialog-smartbond-bluetooth-low-energy-%E2%80%93-software/problem-dynamic-memory-allocation
< div class = "字段field-name-taxonomy-forums field-type-taxonomy-term-reference field-label-above”> < div class = "字段标签" >论坛:,< / div > < div class = "字段条目" > < div class =”field-item甚至“rel = " sioc: has_container " > < a href = " /论坛/ dialog-smartbond-bluetooth-low-energy - % E2 % 80% 93 -软件”“=“sioc:容器sioc:论坛”属性=“rdfs: label skos: prefLabel”数据类型= " " >对话框Smartbond蓝牙低能量——软件< / > < / div > < / div > < / div > < div class =”字段field-name-body field-type-text-with-summary field-label-hidden”> < div class = "字段条目" > < div class =”field-item甚至“财产= "内容:编码" > < p >你好,我有一个小问题分配相对较大的数组使用这种芯片,我使用SDK 5.0.4,我有一个2结构,< / p > < p > typedef struct {uint8_t x, y uint8_t;} s1; < br / > typedef struct {< br / > uint8_t c; < br / > s1 *缓冲区;/ /指针数组的第一个结构体< br / >} s2; < / p > < p >然后我第二结构动态分配内存s2, < / p > < p > s2 * mys2 = malloc (sizeof (s2)); < / p > < p >然后内部结构体的初始化器s2,我分配内存结构s1 < / p > < p > s2→buf = malloc (sizeof (s1) *长度);< / p > < p >,一切工作正常,如果内部数组的长度是相对较小(70),但如果我上面的大小增加,程序崩溃,它看起来像一个内存错误。我已经看了文档和DA15580有足够的RAM和ROM (82 kb ROM, 42 kb SRAM)。< / p > < p >我的代码是基于SDK的模板,和内存分配在我的初始化函数中调用传递给.app_on_init。我想知道如果有任何限制造成的动态内存分配BLE堆栈,或这是一个问题在我的程序结构。谢谢你的帮助。< / p > < / div > < / div > < / div > < div class =”字段field-name-field-forum-keywords field-type-taxonomy-term-reference field-label-above”> < div class = "字段标签" >关键词:,< / div > < div class = "字段条目" > < div class =”field-item甚至“> < a href = " / resource-keywords / malloc”“=“skos:概念”属性=“rdfs: label skos: prefLabel”数据类型= " " > malloc < / > < / div > < div class = " field-item奇怪" > < a href = " / resource-keywords /记忆”“=“skos:概念”属性=“rdfs: label skos: prefLabel”数据类型= " " >内存< / > < / div > < div class =”field-item甚至“> < a href = " / resource-keywords /内存泄漏”“=“skos:概念”属性=“rdfs: label skos: prefLabel”数据类型= " " > < / > < / div >内存泄漏< div class = " field-item奇怪" > < a href = " / resource-keywords / basic-da14580”“=“skos:概念”属性=“rdfs: label skos: prefLabel”数据类型= " " >基本DA14580 < / > < / div > < div class =”field-item甚至“> < a href = " / resource-keywords /凯尔- 514《typeof =“skos:概念”属性=“rdfs: label skos: prefLabel”数据类型= " " >凯尔5.14 < / > < / div > < div class = " field-item奇怪" > < a href = " / resource-keywords / SDK - 504《typeof =“skos:概念”属性=“rdfs: label skos: prefLabel”数据类型= " " > SDK 5.0.4 < / > < / div > < / div > < / div > < div class =”字段field-name-field-device field-type-taxonomy-term-reference field-label-above”> < div class = "字段标签" >设备:,< / div > < div class = "字段条目" > < div class =”field-item甚至“> < a href = " / forum-post-device / DA14580”“=“skos:概念”属性=“rdfs: label skos: prefLabel”数据类型= " " > DA14580 < / > < / div > < / div > < / div >
太阳,02年9月2018 22:34:56 + 0000
uched41
226018年https://support.dialog-semiconductor.com
https://support.dialog-semiconductor.com/forums/post/dialog-smartbond-bluetooth-low-energy-%E2%80%93-software/problem-dynamic-memory-allocation的评论
-
凯尔uVision 5.14 -凯尔:ARMCortex_DPF包不见了
https://support.dialog semiconductor.com/keil uvision - 514 - keilarmcortexdpf包不见了
< div class = "字段field-name-taxonomy-forums field-type-taxonomy-term-reference field-label-above”> < div class = "字段标签" >论坛:,< / div > < div class = "字段条目" > < div class =”field-item甚至“rel = " sioc: has_container " > < a href = " /论坛/ dialog-smartbond-bluetooth-low-energy - % E2 % 80% 93 -工具”“=“sioc:容器sioc:论坛”属性=“rdfs: label skos: prefLabel”数据类型= " " >对话框Smartbond蓝牙低能量——工具< / > < / div > < / div > < / div > < div class =”字段field-name-body field-type-text-with-summary field-label-hidden”> < div class = "字段条目" > < div class =”field-item甚至“财产= "内容:编码" > < p >我想DA14580港口现有的解决方案,并试图安装凯尔(首次)。我有一个问题:没有选择凯尔:ARMCortex_DPF包。什么好主意吗?多谢< / p > < p >(我附加一个图像插图)< / p > < p > < a href = " http://s10.postimg.org/5fe605e5l/Capture.png " > http://s10.postimg.org/5fe605e5l/Capture.png < / > < / p > < / div > < / div > < / div > < div class =”字段field-name-field-forum-keywords field-type-taxonomy-term-reference field-label-above”> < div class = "字段标签" >关键词:,< / div > < div class = "字段条目" > < div class =”field-item甚至“> < a href = " / resource-keywords /凯尔- 514《typeof =“skos:概念”属性=“rdfs: label skos: prefLabel”数据类型= " " >凯尔5.14 < / > < / div > < / div > < / div > < div class =”字段field-name-field-device field-type-taxonomy-term-reference field-label-above”> < div class = "字段标签" >设备:,< / div > < div class = "字段条目" > < div class =”field-item甚至“> < a href = " / forum-post-device / da14580”“=“skos:概念”属性=“rdfs: label skos: prefLabel”数据类型= " " > da14580 < / > < / div > < / div > < / div >
星期四,04年0000年6月2015 08:57:26 +
bmorkunas
1636年https://support.dialog-semiconductor.com
https://support.dialog semiconductor.com/keil uvision - 514 - keilarmcortexdpf包丢失#评论