Skip to content

Commit

Permalink
ext: curl: fix compilation with nRF92
Browse files Browse the repository at this point in the history
Fixed compilation with nRF92.

Signed-off-by: Tommi Kangas <[email protected]>
  • Loading branch information
tokangas authored and jukkar committed Dec 16, 2024
1 parent 29193d9 commit 062d82d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ext/curl/lib/url.h
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,11 @@
#if defined(CONFIG_NRF_CURL_INTEGRATION)
/* In embedded this needs to be a lot of smaller */
#define UPLOADBUFFER_DEFAULT (708)
#if defined(CONFIG_SOC_SERIES_NRF92X)
#define UPLOADBUFFER_MAX (DT_REG_ADDR(DT_NODELABEL(cpuapp_cpucell_ipc_shm_heap)))
#else
#define UPLOADBUFFER_MAX (CONFIG_NRF_MODEM_LIB_SHMEM_TX_SIZE)
#endif
#define UPLOADBUFFER_MIN (CURL_MAX_WRITE_SIZE)
#else
#define UPLOADBUFFER_DEFAULT 65536
Expand Down

0 comments on commit 062d82d

Please sign in to comment.