Skip to content

Commit

Permalink
Merge pull request #439 from sonydevworld/develop
Browse files Browse the repository at this point in the history
Merge develop into master for v2.5.1 release
  • Loading branch information
SPRESENSE authored May 18, 2022
2 parents 959182b + 9d4e056 commit dd422f9
Show file tree
Hide file tree
Showing 24 changed files with 7 additions and 26 deletions.
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Below is the workflow, from cloning to merging a pull request.
4. Keep your fork up-to-date/synced with the remote repository
5. Commit your changes
6. Push changes back to the remote on GitHub
7. Create pull request
7. Create pull request to "develop" branch
8. If you get feedback, fix according to comments/discussion and push a new commit
9. When the review is done and accepted it will be squashed and merged into master by the maintainers

Expand Down
6 changes: 3 additions & 3 deletions externals/websocket/cwebsocket/src/cwebsocket/common.c
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,11 @@ char* cwebsocket_base64_encode(const unsigned char *input, int length) {

if ((olen > 1) && (olen <= 128))
{
char *buff = (char *)malloc(olen);
char *buff = (char *)malloc(olen+1);
if (buff != NULL)
{
memcpy(buff, buffer, olen-1);
buff[olen-1] = '\0';
memcpy(buff, buffer, olen);
buff[olen] = '\0';
return buff;
}
}
Expand Down
2 changes: 1 addition & 1 deletion nuttx
1 change: 0 additions & 1 deletion sdk/configs/examples/lte_awsiot/defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
+MODEM=y
+MODEM_ALT1250=y
+NETDB_DNSCLIENT=y
+NETDB_DNSCLIENT_MAXRESPONSE=176
+NETDB_DNSCLIENT_NAMESIZE=255
+NETDB_DNSSERVER_IPv4ADDR=0x8080808
+NETUTILS_WEBCLIENT=y
Expand Down
1 change: 0 additions & 1 deletion sdk/configs/examples/lte_azureiot/defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
+MODEM=y
+MODEM_ALT1250=y
+NETDB_DNSCLIENT=y
+NETDB_DNSCLIENT_MAXRESPONSE=176
+NETDB_DNSCLIENT_NAMESIZE=255
+NETDB_DNSSERVER_IPv4ADDR=0x8080808
+NETUTILS_CODECS=y
Expand Down
1 change: 0 additions & 1 deletion sdk/configs/examples/lte_http_get/defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
+MODEM=y
+MODEM_ALT1250=y
+NETDB_DNSCLIENT=y
+NETDB_DNSCLIENT_MAXRESPONSE=176
+NETDB_DNSCLIENT_NAMESIZE=255
+NETDB_DNSSERVER_IPv4ADDR=0x8080808
+NETUTILS_WEBCLIENT=y
Expand Down
1 change: 0 additions & 1 deletion sdk/configs/examples/lte_lwm2m/defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
+MODEM=y
+MODEM_ALT1250=y
+NETDB_DNSCLIENT=y
+NETDB_DNSCLIENT_MAXRESPONSE=176
+NETDB_DNSCLIENT_NAMESIZE=255
+NETDB_DNSSERVER_IPv4ADDR=0x8080808
+NETUTILS_WEBCLIENT=y
Expand Down
1 change: 0 additions & 1 deletion sdk/configs/examples/lte_modem_log_save/defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
+MODEM=y
+MODEM_ALT1250=y
+NETDB_DNSCLIENT=y
+NETDB_DNSCLIENT_MAXRESPONSE=176
+NETDB_DNSCLIENT_NAMESIZE=255
+NETDB_DNSSERVER_IPv4ADDR=0x8080808
+NETUTILS_WEBCLIENT=y
Expand Down
1 change: 0 additions & 1 deletion sdk/configs/examples/lte_mqtt/defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
+MODEM=y
+MODEM_ALT1250=y
+NETDB_DNSCLIENT=y
+NETDB_DNSCLIENT_MAXRESPONSE=176
+NETDB_DNSCLIENT_NAMESIZE=255
+NETDB_DNSSERVER_IPv4ADDR=0x8080808
+NETUTILS_WEBCLIENT=y
Expand Down
1 change: 0 additions & 1 deletion sdk/configs/examples/lte_tls/defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
+MODEM=y
+MODEM_ALT1250=y
+NETDB_DNSCLIENT=y
+NETDB_DNSCLIENT_MAXRESPONSE=176
+NETDB_DNSCLIENT_NAMESIZE=255
+NETDB_DNSSERVER_IPv4ADDR=0x8080808
+NETUTILS_WEBCLIENT=y
Expand Down
1 change: 0 additions & 1 deletion sdk/configs/examples/lte_websocket/defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
+MODEM=y
+MODEM_ALT1250=y
+NETDB_DNSCLIENT=y
+NETDB_DNSCLIENT_MAXRESPONSE=176
+NETDB_DNSCLIENT_NAMESIZE=255
+NETDB_DNSSERVER_IPv4ADDR=0x8080808
+NETUTILS_WEBCLIENT=y
Expand Down
1 change: 0 additions & 1 deletion sdk/configs/examples/lte_websocket_bitbank/defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
+MODEM=y
+MODEM_ALT1250=y
+NETDB_DNSCLIENT=y
+NETDB_DNSCLIENT_MAXRESPONSE=176
+NETDB_DNSCLIENT_NAMESIZE=255
+NETDB_DNSSERVER_IPv4ADDR=0x8080808
+NETUTILS_WEBCLIENT=y
Expand Down
1 change: 0 additions & 1 deletion sdk/configs/examples/lte_websocket_gmocoin/defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
+MODEM=y
+MODEM_ALT1250=y
+NETDB_DNSCLIENT=y
+NETDB_DNSCLIENT_MAXRESPONSE=176
+NETDB_DNSCLIENT_NAMESIZE=255
+NETDB_DNSSERVER_IPv4ADDR=0x8080808
+NETUTILS_WEBCLIENT=y
Expand Down
1 change: 0 additions & 1 deletion sdk/configs/examples/multiwebcam_eth/defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
+EXAMPLES_MULTIWEBCAM=y
+EXAMPLES_MULTIWEBCAM_USE_HTTPMJPEG=y
+NETDB_DNSCLIENT=y
+NETDB_DNSCLIENT_MAXRESPONSE=176
+NETDB_DNSCLIENT_NAMESIZE=255
+NETDB_DNSSERVER_NOADDR=y
+NETINIT_NETLOCAL=y
Expand Down
1 change: 0 additions & 1 deletion sdk/configs/examples/sms_recv/defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
+MODEM=y
+MODEM_ALT1250=y
+NETDB_DNSCLIENT=y
+NETDB_DNSCLIENT_MAXRESPONSE=176
+NETDB_DNSCLIENT_NAMESIZE=255
+NETDB_DNSSERVER_IPv4ADDR=0x8080808
+NETUTILS_WEBCLIENT=y
Expand Down
1 change: 0 additions & 1 deletion sdk/configs/examples/sms_send/defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
+MODEM=y
+MODEM_ALT1250=y
+NETDB_DNSCLIENT=y
+NETDB_DNSCLIENT_MAXRESPONSE=176
+NETDB_DNSCLIENT_NAMESIZE=255
+NETDB_DNSSERVER_IPv4ADDR=0x8080808
+NETUTILS_WEBCLIENT=y
Expand Down
1 change: 0 additions & 1 deletion sdk/configs/examples/wifi_awsiot_gnsslogger/defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
+FSUTILS_INIH=y
+INIH_MAX_LINE=128
+NETDB_DNSCLIENT=y
+NETDB_DNSCLIENT_MAXRESPONSE=176
+NETDB_DNSCLIENT_NAMESIZE=255
+NETDB_DNSSERVER_IPv4ADDR=0x08080808
+NETINIT_NETLOCAL=y
Expand Down
1 change: 0 additions & 1 deletion sdk/configs/feature/ethernet/defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
+CXD56_DMAC_SPI5_TX_MAXSIZE=2051
+CXD56_WIZNET_SPI5_DMAC=y
+NETDB_DNSCLIENT=y
+NETDB_DNSCLIENT_MAXRESPONSE=176
+NETDB_DNSCLIENT_NAMESIZE=255
+NETDB_DNSSERVER_NOADDR=y
+NETINIT_NETLOCAL=y
Expand Down
1 change: 0 additions & 1 deletion sdk/configs/feature/lte/defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
+MODEM=y
+MODEM_ALT1250=y
+NETDB_DNSCLIENT=y
+NETDB_DNSCLIENT_MAXRESPONSE=176
+NETDB_DNSCLIENT_NAMESIZE=255
+NETDB_DNSSERVER_IPv4ADDR=0x8080808
+NETUTILS_WEBCLIENT=y
Expand Down
1 change: 0 additions & 1 deletion sdk/configs/feature/lte_stub_mbedtls/defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
+MODEM=y
+MODEM_ALT1250=y
+NETDB_DNSCLIENT=y
+NETDB_DNSCLIENT_MAXRESPONSE=176
+NETDB_DNSCLIENT_NAMESIZE=255
+NETDB_DNSSERVER_IPv4ADDR=0x8080808
+NETUTILS_WEBCLIENT=y
Expand Down
1 change: 0 additions & 1 deletion sdk/configs/feature/wifi/defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
+CXD56_DMAC_SPI5_TX=y
+DRIVERS_WIRELESS=y
+NETDB_DNSCLIENT=y
+NETDB_DNSCLIENT_MAXRESPONSE=176
+NETDB_DNSCLIENT_NAMESIZE=255
+NETDB_DNSSERVER_IPv4ADDR=0x08080808
+NETINIT_NETLOCAL=y
Expand Down
1 change: 0 additions & 1 deletion sdk/configs/feature/wifi_telnetd/defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
+CXD56_DMAC_SPI5_TX=y
+DRIVERS_WIRELESS=y
+NETDB_DNSCLIENT=y
+NETDB_DNSCLIENT_MAXRESPONSE=176
+NETDB_DNSCLIENT_NAMESIZE=255
+NETDB_DNSSERVER_IPv4ADDR=0x08080808
+NETINIT_NETLOCAL=y
Expand Down
2 changes: 1 addition & 1 deletion sdk/tools/mkversion.sh
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ if [ "X${TOPDIR}" = "X" ]; then
fi

APP_VERSION="0.0.0"
SDK_VERSION="SDK2.5.0"
SDK_VERSION="SDK2.5.1"
if [ -r sdk_version ]; then
SDK_VERSION="SDK`cat sdk_version`"
fi
Expand Down

0 comments on commit dd422f9

Please sign in to comment.