Skip to content

Commit

Permalink
platform: fix name of deployment data file
Browse files Browse the repository at this point in the history
  • Loading branch information
joelguittet committed Oct 2, 2024
1 parent 4d4007e commit cc8c201
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion platform/storage/esp-idf/nvs/src/mender-storage.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,12 @@

/**
* @brief NVS keys
* @note According to the ESP-IDF documentation the NVS keys are limited to 15 characters
* @note https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-reference/storage/nvs_flash.html#keys-and-values
*/
#define MENDER_STORAGE_NVS_PRIVATE_KEY "key.der"
#define MENDER_STORAGE_NVS_PUBLIC_KEY "pubkey.der"
#define MENDER_STORAGE_NVS_DEPLOYMENT_DATA "deployment-data.json"
#define MENDER_STORAGE_NVS_DEPLOYMENT_DATA "deployment.json"
#define MENDER_STORAGE_NVS_DEVICE_CONFIG "config.json"

/**
Expand Down
2 changes: 1 addition & 1 deletion platform/storage/posix/src/mender-storage.c
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
*/
#define MENDER_STORAGE_NVS_PRIVATE_KEY CONFIG_MENDER_STORAGE_PATH "key.der"
#define MENDER_STORAGE_NVS_PUBLIC_KEY CONFIG_MENDER_STORAGE_PATH "pubkey.der"
#define MENDER_STORAGE_NVS_DEPLOYMENT_DATA CONFIG_MENDER_STORAGE_PATH "deployment-data.json"
#define MENDER_STORAGE_NVS_DEPLOYMENT_DATA CONFIG_MENDER_STORAGE_PATH "deployment.json"
#define MENDER_STORAGE_NVS_DEVICE_CONFIG CONFIG_MENDER_STORAGE_PATH "config.json"

mender_err_t
Expand Down

0 comments on commit cc8c201

Please sign in to comment.