Comments (4)
This worked for me as is on master last night. However, I did notice that after the LED pulses for a while it stops. I seem to have tracked that down to a memory leak, possibly in JerryScript itself, when creating and releasing a number value. I'll look into it further.
from zephyr.js.
At least for the problem I found, where the light pulsing stops, adding this NULL pointer check to JerryScript fixes it: jerryscript-project/jerryscript#1241
So, now my light blinks forever apparently.
I suspect this is the cause of the problem you guys have observed with things breaking after 210 iterations, too. I'll see overnight what the JerryScript team does with my patch; if they don't like it, then maybe I'll temporarily apply it as an overlay to JerryScript from ZJS so we get the fix.
from zephyr.js.
we test the Fade.js in the latest code: commit: 6a516dd.
this issue doesn't exist.
but after the LED pulses about 18 times it stops. then we add the
if (chunk_p == NULL)
{
return;
}
to the jerry-core/jmem/jmem-poolman.c.
The same: after the LED pulses about 18 times it stops.
but you said "now my light blinks forever apparently."
I wonder whether it is because other operation we miss?
This issue doesn't exist. So I will close this issue firstly.
from zephyr.js.
we try make clean then build/flash image.
the light blinks forever now : )
The Fade.js sample runs success without issue now.
from zephyr.js.
Related Issues (20)
- Add MQTT APIs
- [PnP] Arduino101 boot-timestamps samples increase obviously compared with master commit 3d4a43c. HOT 1
- [websocket] Fail to connect with WebsocketServer after zephyr updated to 1.11 HOT 3
- [BLE] Primary Service UUID not found HOT 1
- WebUSB device can't be found on windows platform HOT 2
- Fail to build STM32F407G-DISC1 and Olimex STM32-E407 images HOT 3
- [ashell] Ctrl+X still saves input through load command
- [jerryscript-debugger] Fail to resume/step into/step over when debugging with /bin/jerry built in JerryScript HOT 2
- [jerryscript-debugger] Fail to add breakpoint on Chrome 66+ HOT 1
- Introduce source map to allow debugging
- [MacOS] Make qemu and frdm_k64f target failed
- [ocf] Ocf Client cannot connect to OcfServer on K64F HOT 2
- [PnP]I2C and WebBluetoothGroveLcdDemo ROM sample increase obviously compared with master commit f90d9d.
- [arduino] An obvious increase of ROM cause building failure HOT 1
- [dynamic] make dynamic failed HOT 1
- [k64f] quit debugger mode cause BUS FAULT error
- FYI: Changes required for Zephyr 1.13 HOT 1
- ESP32 build failure HOT 1
- Upgrading to Zephyr 1.14 LTS HOT 4
- connection event listener registration error HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from zephyr.js.