Skip to content

Commit

Permalink
subdevice FOTA - change default download folder to /tmp/
Browse files Browse the repository at this point in the history
Rather than ., because with LmP releases the filesystem is immutable
in most places and thus you can't download anything there.
  • Loading branch information
JanneKiiskila committed Sep 26, 2024
1 parent e21858d commit 2c901b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion edge-client/edge-client/subdevice_fota.h
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
#define ENDPOINT_SIZE 256
#define MANIFEST_URI_SIZE 256
#if !defined(SUBDEVICE_FIRMWARE_DOWNLOAD_LOCATION)
#define SUBDEVICE_FIRMWARE_DOWNLOAD_LOCATION "."
#define SUBDEVICE_FIRMWARE_DOWNLOAD_LOCATION "/tmp"
#endif
int fota_is_ready(uint8_t *data, size_t size, fota_state_e *fota_state);
int fota_manifest_parse(const uint8_t *input_data, size_t input_size, manifest_firmware_info_t *fw_info);
Expand Down

0 comments on commit 2c901b8

Please sign in to comment.