CODELESS Project Size Reducing - Problem Solved....

⚠️
Hi there.. thanks for coming to the forums. Exciting news! we’re now in the process of moving to our new forum platform that will offer better functionality and is contained within the main Dialog website. All posts and accounts have been migrated. We’re now accepting traffic on the new forum only - please POST any new threads at https://www.dialog-semiconductor.com/support . We’ll be fixing bugs / optimising the searching and tagging over the coming days.
2 posts / 0 new
Last post
janosN
Offline
Last seen: 1 year 3 months ago
Joined: 2020-11-16 14:59
CODELESS Project Size Reducing - Problem Solved....

Dear Dialog,

Thanks for your answer.

The image-size reduction was possible by disabling two #define lines in user_at_commands: (the rest of the defines had no significant size reduction effect)

//#define USE_AT_CONPAR and //#define USE_AT_BND was effective and after linking, the code-size reported is: 27812 (for codeless_531_datapump). So, I can compile the project now without extra Keil license.

To rebuild the project was necessary for me because the original AT+GAPSCAN command had severe problem scanning peripheral devices (like beacons advertising telemetry data). Originally it was only scanning other Dialog-peripheral devices and only addresses were listed without the advertised raw-data, so I had to modify the function: void user_on_adv_report_ind(struct gapm_adv_report_ind const* param) in user_codeless.c file. But it works now.

Thank you very much for your support.

 

-Janos-

PM_Dialog
Offline
Last seen: 2 months 2 weeks ago
Staff
Joined: 2018-02-08 11:03
Hi janosM,

Hi janosM,

I assume this ticket is related to this one :

https://support.dialog-semiconductor.com/forums/post/dialog-smartbond-bluetooth-low-energy-%E2%80%93-software/codeless-project-size-reducing-problem#comment-31250

Thanks for posting the comment and glad that you figured this out.

Thanks, PM_Dialog