If you have followed either the „Project Artery IC“ or „Project STM32 IC“ instruction you have probably already changed the necessary defines.
Bootloader
For the Bootloader the important defines are defined in the dfu_update.h header file:
Next we will modify the dfu_update.h header file to adjust it to our custom project.
Please modify this two defines according to the rdm definition of your product. If you have no rdm definition please get in touch with us.

Please modify the flash defines according to your flash layout. For this project it looks like this:

Application
The Application uses processor defines which are Hardware dependent on what IC you are using. Please change them according to your needs.
| USER_FLASH_ADDRESS | Start of the Flash |
| USER_FLASH_START | Start of the Flash where the settings will be saved. Address after the application |
| USER_FLASH_SIZE | Start of the Flash where the settings will be saved. |
| USER_FLASH_PAGE_SIZE | Size of the flash pages. |
| USER_STORAGEOBJECTS | Count of the storage objects the user can save using the managed flash library. |
| USER_FLASH_BYTEALIGNMENT | Flash Write Operation Alignment in Bytes |
| USER_FLASH_ADDRESS_CONFIG | Flash Address where the Application information from the boot-loader will be saved |
| USER_FLASH_ADDRESS_APP | Flash Address where the Application starts |
Next would be to change the defines depending on your needs. You can find them in the defines.c and defines.h files:


Next you should modify the dmx_implementation.c to match your dmx implementation for the product. Therefore please take a closer look on chapter Vision DMX to better understand the interface:
https://server.kk-t.eu/ExternalVision/DMXFrame
https://server.kk-t.eu/ExternalVision/DMXPersonality
In the rdm_Implementation.c you have to adapt the RDM commands to your needs.Please take a closer look on the RDM Vision Command. Due to legacy naming this is called RdmExtGetIq. Also you can find more information about this in the Vision RDM Chapter
https://server.kk-t.eu/ExternalVision/RDMIntroduction
https://server.kk-t.eu/ExternalVision/RDMPID
https://server.kk-t.eu/ExternalVision/RDMPIDVision
After successful changing all defines and adapt the necessary function you can switch to Test & Run Chapter to confirm your functions.