The CC2540 spec. says there are 2 DPTR. When I setup the sample code project "Simple BLE Peripheral - CC2540 Slave" for 2 data pointers I get the following error message from IAR IDE:
Error[e117]: Incompatible runtime models. Module att_server specifies that '__number_of_dptrs' must be '1', but module OSAL has the value '2'
When setting up for 1 DPTR, the compiler/linkers runs ok. What is meant by "att_server module"?
Also, the IAR file "CC2540F256.i51" states only 1 DPTR:
[PROCESSOR]
name=plain
bank_nr_of=0x07
bank_reg_addr=0x9F
bank_reg_mask=0xFF
bank_start=0x8000
[DPTR]
nr_of=1
size=16
switch_method=INC
switch_mask=0xFF
addr_DPS=0x92*)
addr_DPL1=0x84*)
addr_DPH1=0x85*)
pdata_bank_reg_addr=0x93
*) These statements make no sense (greyed out in the IAR options menue) when there is just 1 DPTR.