We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 29193d9 commit 062d82dCopy full SHA for 062d82d
ext/curl/lib/url.h
@@ -43,7 +43,11 @@
43
#if defined(CONFIG_NRF_CURL_INTEGRATION)
44
/* In embedded this needs to be a lot of smaller */
45
#define UPLOADBUFFER_DEFAULT (708)
46
+#if defined(CONFIG_SOC_SERIES_NRF92X)
47
+#define UPLOADBUFFER_MAX (DT_REG_ADDR(DT_NODELABEL(cpuapp_cpucell_ipc_shm_heap)))
48
+#else
49
#define UPLOADBUFFER_MAX (CONFIG_NRF_MODEM_LIB_SHMEM_TX_SIZE)
50
+#endif
51
#define UPLOADBUFFER_MIN (CURL_MAX_WRITE_SIZE)
52
#else
53
#define UPLOADBUFFER_DEFAULT 65536
0 commit comments