diff options
author | Jimmy Huang <jimmy.huang@intel.com> | 2018-02-01 10:54:42 -0800 |
---|---|---|
committer | Geoff Gustafson <geoff@linux.intel.com> | 2018-05-18 15:50:27 -0700 |
commit | 3ec5b47a6a72170e8ab57e0155b048fe09219dca (patch) | |
tree | a07d859ca3ebcab98df597801121f96d099bb030 /src/zjs_debugger.json | |
parent | 0f1ca5424d85131fd488b1baa9b8a3daa4fbafa8 (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_debugger.json')
-rw-r--r-- | src/zjs_debugger.json | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/src/zjs_debugger.json b/src/zjs_debugger.json new file mode 100644 index 0000000..8c753ef --- /dev/null +++ b/src/zjs_debugger.json @@ -0,0 +1,34 @@ +{ + "module": "debugger", + "depends": ["net_config_default"], + "virtualdeps": ["net-l2"], + "zephyr_conf": { + "all": [ + "CONFIG_INIT_STACKS=y", + "CONFIG_NETWORKING=y", + "CONFIG_NET_APP_SETTINGS=y", + "CONFIG_NET_IPV4=y", + "CONFIG_NET_IPV6=y", + "CONFIG_NET_TCP=y", + "CONFIG_NET_UDP=y", + "CONFIG_NET_SOCKETS=y", + "CONFIG_NET_SOCKETS_POSIX_NAMES=y", + "CONFIG_NET_STATISTICS=y", + "CONFIG_PRINTK=y", + "CONFIG_TEST_RANDOM_GENERATOR=y" + ], + "frdm_k64f": [ + "CONFIG_NET_APP_NEED_IPV4=y", + "CONFIG_NET_APP_NEED_IPV6=y", + "CONFIG_NET_APP_MY_IPV4_ADDR=\"192.168.1.1\"", + "CONFIG_NET_APP_MY_IPV6_ADDR=\"2001:db8::1\"", + "CONFIG_NET_MAX_CONTEXTS=10" + ] + }, + "zjs_config": [ + "-I${JERRY_BASE}/jerry-core/ecma/base", + "-I${JERRY_BASE}/jerry-core/jmem", + "-I${JERRY_BASE}/jerry-core/lit", + "-I${JERRY_BASE}/jerry-core/debugger" + ] +} |