Initial setup for TheKsystem.

Dependencies:   mbed-http HTS221

Files at this revision

API Documentation at this revision

Comitter:
Jan Jongboom
Date:
Tue Jan 02 15:51:29 2018 +0000
Parent:
22:1b8c2a81c85d
Child:
24:9faf23bbfb7f
Commit message:
Set stack size to 8K

Changed in this revision

README.md Show annotated file Show diff for this revision Revisions of this file
mbed_app.json Show annotated file Show diff for this revision Revisions of this file
source/select-demo.h Show annotated file Show diff for this revision Revisions of this file
--- a/README.md	Tue Jan 02 15:20:08 2018 +0000
+++ b/README.md	Tue Jan 02 15:51:29 2018 +0000
@@ -33,7 +33,7 @@
 Default flash size for HTTPS is very large, as the application is loading the default mbed TLS configuration. To use a more optimized version, include `mbedtls_config.h` in your mbed_app.json, by adding:
 
 ```
-"MBEDTLS_CONFIG_FILE=\"fotalora_mbedtls_config.h\""
+"MBEDTLS_CONFIG_FILE=\"mbedtls_config.h\""
 ```
 
 to the `macros` array.
--- a/mbed_app.json	Tue Jan 02 15:20:08 2018 +0000
+++ b/mbed_app.json	Tue Jan 02 15:51:29 2018 +0000
@@ -40,6 +40,10 @@
         },
         "esp8266-debug": {
             "value": false
+        },
+
+        "main-stack-size": {
+            "value": 8192
         }
     },
     "macros": ["MBEDTLS_USER_CONFIG_FILE=\"mbedtls_entropy_config.h\"",
--- a/source/select-demo.h	Tue Jan 02 15:20:08 2018 +0000
+++ b/source/select-demo.h	Tue Jan 02 15:51:29 2018 +0000
@@ -3,9 +3,9 @@
 
 #define         DEMO_HTTP                   1
 #define         DEMO_HTTP_SOCKET_REUSE      2
-#define         DEMO_HTTPS                  3
-#define         DEMO_HTTPS_SOCKET_REUSE     4
-#define         DEMO_HTTP_IPV6              5
+#define         DEMO_HTTP_IPV6              3
+#define         DEMO_HTTPS                  4
+#define         DEMO_HTTPS_SOCKET_REUSE     5
 
 #define         DEMO            DEMO_HTTP