Newbie Warning: I'm a newbie here - very new to TI BLE/SensorTags.
This sounds a lot like another discussion on this forum, but isn't, IMHO.
I downloaded the BLE Stack 1.3.1 and I am having issues with compiling the sample code.
My setup...
Windows 7 PC 3GB RAM
Product Info Overview
IAR Embedded Workbench for 8051 IDE including complete build chain and debugger 8.20.2
IAR Embedded Workbench Common Components 6.4.8.2543
I attempt to Build the Sensor Tag project. C:\Texas Instruments\BLE-CC254x-1.3.1\Projects\ble\SensorTag\CC2541DB\SensorTag.ewb
During the build ONE unit fails to compile.
gapbondmgr.c Error[Og008]: Code size limit exceeded (4096 code bytes) for this version of the compiler Error while running C/C++ Compiler
I tried adjusting some of the optimization settings to reduce generated o/p, but that didn't help.
Any advice appreciated.
Thanks Andrew
{Perhaps I should have started with the Hello Bluetooth example, first!}
BTW: Everything-else,seems to build OK (Build o/p)
Building configuration: SensorTag - CC2541DK-Sensor Updating build tree... 9 file(s) deleted. Updating build tree... OSAL.c OSAL_ClockBLE.c OSAL_Memory.c OSAL_PwrMgr.c OSAL_SensorTag.c OSAL_Timers.c OnBoard.c SensorTag.c SensorTag_Main.c accelerometerservice.c barometerservice.c devinfoservice-st.c gap.c
gapbondmgr.c Error[Og008]: Code size limit exceeded (4096 code bytes) for this version of the compiler Error while running C/C++ Compiler
gatt_uuid.c gyroservice.c hal_acc.c hal_aes.c hal_assert.c hal_bar.c hal_crc.c hal_dma.c hal_drivers.c hal_flash.c hal_gyro.c hal_humi.c hal_i2c.c hal_interrupt.c hal_irtemp.c hal_keys.c hal_led.c hal_mag.c hal_sensor.c hal_sleep.c hal_startup.c hal_timer.c humidityservice.c irtempservice.c magnetometerservice.c npi.c oad_target.c osal_bufmgr.c osal_cbtimer.c osal_snv.c peripheral.c simplekeys.c st_util.c testservice.c
Total number of errors: 1 Total number of warnings: 0