aboutsummaryrefslogtreecommitdiff
path: root/src/zjs_common.h
diff options
context:
space:
mode:
authorJimmy Huang <jimmy.huang@intel.com>2018-02-01 10:54:42 -0800
committerGeoff Gustafson <geoff@linux.intel.com>2018-05-18 15:50:27 -0700
commit3ec5b47a6a72170e8ab57e0155b048fe09219dca (patch)
treea07d859ca3ebcab98df597801121f96d099bb030 /src/zjs_common.h
parent0f1ca5424d85131fd488b1baa9b8a3daa4fbafa8 (diff)
[debugger] Added debugger support for Zephyr
Created shim layer for building against the POSIX network stack on Zephyr which enables the debugger to run on the frdm_k64f board with TCP IPV4 on port 5001. Signed-off-by: Jimmy Huang <jimmy.huang@intel.com>
Diffstat (limited to 'src/zjs_common.h')
-rw-r--r--src/zjs_common.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/zjs_common.h b/src/zjs_common.h
index 390ba31..1386c5e 100644
--- a/src/zjs_common.h
+++ b/src/zjs_common.h
@@ -124,12 +124,6 @@ int zjs_get_ms(void);
#define LPRINT(str) do {} while (0)
#endif
-// TODO: We should instead have a macro that changes in debug vs. release build,
-// to save string space and instead print error codes or something for release.
-
-// this is arbitrary but okay for now; added to avoid plain strlen below
-#define MAX_SCRIPT_SIZE 8192
-
// board-specific
#if defined(CONFIG_BOARD_ARDUINO_101) || defined(CONFIG_BOARD_ARDUINO_101_SSS)
#define ADC_DEVICE_NAME "ADC_0"