This repository has been archived by the owner on Aug 5, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 64
[ocf] Cannot create multiple resources #1707
Comments
This is related to RAM issue on the Arduino101, is this reproducible on the 96b_carbon? |
@jimmy-huang , Ocf cannot be built for 96b_carbon. |
Yeah, it probably make sense to create issues, since they should work, we probably just need to update the json files to add the board for it to compile. |
jimmy-huang
added a commit
to jimmy-huang/zephyr.js
that referenced
this issue
Jan 23, 2018
Fixes intel#1707 Signed-off-by: Jimmy Huang <jimmy.huang@intel.com>
jimmy-huang
added a commit
to jimmy-huang/zephyr.js
that referenced
this issue
Jan 23, 2018
Fixes intel#1707 Signed-off-by: Jimmy Huang <jimmy.huang@intel.com>
jimmy-huang
added a commit
to jimmy-huang/zephyr.js
that referenced
this issue
Jan 23, 2018
Fixes intel#1707 Signed-off-by: Jimmy Huang <jimmy.huang@intel.com>
jimmy-huang
added a commit
to jimmy-huang/zephyr.js
that referenced
this issue
Jan 23, 2018
Fixes intel#1707 Signed-off-by: Jimmy Huang <jimmy.huang@intel.com>
jimmy-huang
added a commit
to jimmy-huang/zephyr.js
that referenced
this issue
Jan 23, 2018
The problem is that all the required preprocessor defines added to iotivity-constrained using -include doesn't work with CMake, so instead, we should pass those definitions to cmake using add_definitions(). Fixes intel#1707 Signed-off-by: Jimmy Huang <jimmy.huang@intel.com>
patch submitted #1785, please retest. |
Reproduced this issue on 96b board with commit f51fcc3 on master.
|
grgustaf
pushed a commit
that referenced
this issue
Jan 25, 2018
The problem is that all the required preprocessor defines added to iotivity-constrained using -include doesn't work with CMake, so instead, we should pass those definitions to cmake using add_definitions(). Fixes #1707 Signed-off-by: Jimmy Huang <jimmy.huang@intel.com>
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Description
Error
512:(ERROR) failed to create new resource
will occurs when running ocfserver which has multiple resources.Test Code
OcfMultiSensor.js;
th02-ocf.js;
test-ocfserver.js;
Steps to Reproduction
make JS=tests/test-ocfserver.js ROM=256
make dfu
Actual Result
Expected Result
Each resource can be created without error.
Test Builds
Additional Information
The text was updated successfully, but these errors were encountered: