Compile command using gcc on Linux or Msys64:
gcc firmware_upgrade.c -static

Compile command using Windows compiler:
cl firmware_upgrade.c

firmware_upgrade_win.exe is an executable that has been statically compiled and can be used to
upgrade the firmware of Netint Quadra cards on Windows operating systems.
It takes in two arguments:
    1) Name of the drive. (eg. \\.\PHYSICALDRIVE0)
    2) Location of nor_flash.bin. (eg. C:\\Users\\nvme\\Desktop\\FW_Upgrade\\nor_flash.bin)

Example command:
    .\firmware_upgrade_win.exe \\.\PHYSICALDRIVE0 C:\Users\nvme\Desktop\FW_Upgrade\nor_flash.bin
Step by Step guide - https://netint.atlassian.net/l/c/1eNq0E0e

firmware_upgrade_linux is an executable that has been statically compiled and can be used to
upgrade the firmware of Netint Quadra cards on Linux based operating systems.
It takes in two arguments:
    1) Name of the drive. (eg. /dev/nvme0n1)
    2) Location of nor_flash.bin. (eg. /home/nvme/nor_flash.bin)
Example command:
    ./firmware_upgrade_linux /dev/nvme0n1 nor_flash.bin
