- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Our current project targets the CYBLE-214009-00 device. This device is going end of life. So we're migrating to the drop-in replacement CYBLE-214015-01.
Going forward we will need to maintain two build options one for each device type.
In the firmware, I would like to be able to report the device type. As such we can annotate this information in error logs and also use the device type to load the correct hex file when performing a firmware update. I can make #define statements to identify the device etc. How do I programmatically determine whether my device is the CYBLE-214009-00 or the CYBLE-214015-01? Is there a #define that I can use, or a System API that I can use. Using PsoC Creator 4.2.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Looks like I can use CYDEV_CHIP_JTAG_ID which gets defined in the codegenerated cyfitter.h module.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Looks like I can use CYDEV_CHIP_JTAG_ID which gets defined in the codegenerated cyfitter.h module.