Hi,
I have a problem related to not being able to find function for setting ATT vale, statring transmission etc. In example projects I found a file custs1_task.c which contains some useful functions for managing packets etc. but all code is greyed out (Keil uVision 5) and becomes white when I change the device folder from DA14531 to DA14585. Are there any similar functions used in DA14531 ?
Thanks for answer.
Device:
Hi kombatdavid123,
In case of DA14531, you should exclude the custs1 functions from the ROM if you would like to use the custs1_task.c functions. Please follow the steps below:
1. Navigate to \sdk\common_project_files\misc SDK path and open da14531_symbols.txt in a text editor.
2.寻找__EXCLUDE_ROM_CUSTS1__ __EXCLUDE_ROM_ATTM_DB_128__
3. Comment all the related functions with custs1 :
4. Save and close the da14531_symbols.txt file.
5. Open the “Options for Target” in the Keil IDE.
6. Navigate to “C/C++” tab. Here you can define the preprocessor symbols.
7. Define the preprocessor symbols as below:
8. Rebuilt your project.
Thanks, PM_Dialog
Thank you very much :)