Skip to content

Conversation

@janjongboom
Copy link
Contributor

We're building a REPL (as user-space program) on top of mbedos5 target. For this I need to override the jerry_port_console and jerry_port_log functions from the REPL. This commit wraps these functions in an ifndef, so we can define macros to not include these files.

JerryScript-DCO-1.0-Signed-off-by: Jan Jongboom janjongboom@gmail.com

/cc @matthewelse @thegecko

@LaszloLango LaszloLango added the jerry-port Related to the port API or the default port implementation label Nov 29, 2016
@zherczeg
Copy link
Member

LGTM

…erriden by user code

We're building a REPL (as user-space program) on top of mbedos5 target. For this I need to override the jerry_port_console and jerry_port_log functions from the REPL. This commit wraps these functions in an ifndef, so we can define macros to not include these files.

JerryScript-DCO-1.0-Signed-off-by: Jan Jongboom janjongboom@gmail.com
@janjongboom janjongboom force-pushed the mbedos_override_console_and_log branch from 1a4da7c to ed048e1 Compare December 1, 2016 02:21
@janjongboom
Copy link
Contributor Author

Rebased against upstream/master, no code changes.

@zherczeg
Copy link
Member

zherczeg commented Dec 6, 2016

@matthewelse @thegecko please check this patch

@zherczeg
Copy link
Member

zherczeg commented Dec 9, 2016

I will land this patch next Monday if there will be no objections.

@LaszloLango
Copy link
Contributor

@zherczeg, ok. LGTM

@matthewelse
Copy link
Contributor

@zherczeg LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

jerry-port Related to the port API or the default port implementation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants