Hex file generator vs Target directory in Workbench - Any Difference?

Is there any difference between these two files:

  • Taking a .BIN file from a compiled particle program and using the Hex File Generator too: Hex File Generator | Tools | Particle

  • Hex file that gets generated in VS Code/Workbench during compiling: {Project Name}\target\5.5.0\boron\ {Project name}.hex

Can I use the .HEX file directly in the target directory or do I always have to generate it from a .BIN file using the Hex Generator Tools?

Just seeing if I can eliminate a step in the deploying new firmware process.

The hex file in target directory only contains the user firmware. The hex generator hex file contains Device OS, bootloader, and other files like nRF52 SoftDevice.

3 Likes