Build 通过但不能Debug,怎么回事?
时间:10-02
整理:3721RD
点击:
我在csr的蓝牙立体声耳机的开发事例基础上,增加了lcd显示和fm广播功能,编译通过,但无法在开发环境下run,提示:Initialising execution environment for project 'vm - stereo_headset'
Connecting...
Out of memory initialising globals
请问大家怎么回师?如何解决啊?
详细情况如下描述:
(1). csr DEV-PC-1307C BC3-MM DEMONSTRATOR
(2). main chip number: BC358239A
(3). bluelab 3.4.2-release
(4). on the base of Software package "stereo_headset",I increase two Function("LCD DISPLAY" and "FM RADIO").
(5). our flash memory is 8M.
(6). Initialising execution environment for project 'vm - stereo_headset'
Connecting...
Out of memory initialising globals
(7). Pass 1 (45322) Pass 2 (9761) Pass 3 (8826) Pass 4 (8634) Pass 5 (8574) Pass 6 (8559) Pass 7 (8569) Pass 8 (8520) Pass 9 (8207) Pass 10 (7538) Pass 11 (7415) Pass 12 (7331) Pass 13 (7224) Pass 14 (6916) Pass 15 (6754) Pass 16 (6422) Pass 17 (6203) Pass 18 (6176) Pass 19 (6217) Pass 20 (6778) Pass 21 (7730) Pass 22 (6332) Pass 23 (8523) Pass 24 (8511) Pass 25 (7850) Pass 26 (6691) Pass 27 (8533) Pass 28 (8114) Pass 29 (7006) Pass 30 (5400) Pass 31 (3055) Pass 32 (2479) Pass 33 (2146) Pass 34 (2040) Pass 35 (1397) Pass 36 (1013) Pass 37 (863) Pass 38 (86) Pass 39 (0)
Words: code=52754 const=5473 globals=297 decimal
Using calculated stack size of 104.
rm stereo_headset_buttons.button_
Finished.
请多指教,多谢了!
Connecting...
Out of memory initialising globals
请问大家怎么回师?如何解决啊?
详细情况如下描述:
(1). csr DEV-PC-1307C BC3-MM DEMONSTRATOR
(2). main chip number: BC358239A
(3). bluelab 3.4.2-release
(4). on the base of Software package "stereo_headset",I increase two Function("LCD DISPLAY" and "FM RADIO").
(5). our flash memory is 8M.
(6). Initialising execution environment for project 'vm - stereo_headset'
Connecting...
Out of memory initialising globals
(7). Pass 1 (45322) Pass 2 (9761) Pass 3 (8826) Pass 4 (8634) Pass 5 (8574) Pass 6 (8559) Pass 7 (8569) Pass 8 (8520) Pass 9 (8207) Pass 10 (7538) Pass 11 (7415) Pass 12 (7331) Pass 13 (7224) Pass 14 (6916) Pass 15 (6754) Pass 16 (6422) Pass 17 (6203) Pass 18 (6176) Pass 19 (6217) Pass 20 (6778) Pass 21 (7730) Pass 22 (6332) Pass 23 (8523) Pass 24 (8511) Pass 25 (7850) Pass 26 (6691) Pass 27 (8533) Pass 28 (8114) Pass 29 (7006) Pass 30 (5400) Pass 31 (3055) Pass 32 (2479) Pass 33 (2146) Pass 34 (2040) Pass 35 (1397) Pass 36 (1013) Pass 37 (863) Pass 38 (86) Pass 39 (0)
Words: code=52754 const=5473 globals=297 decimal
Using calculated stack size of 104.
rm stereo_headset_buttons.button_
Finished.
请多指教,多谢了!
Hello, 请问这个问题解决了么? 我目前也遇到这个问题了,似乎是堆栈大小不足,不能初始化全局变量。
兄弟真能挖坟,呵呵。
这个是由于全局变量太多了导致的,精简下全局变量。