Merged target for mbed boards.
Merged the mbed releated targets into one source. Available targets: FRDM-K64f, Discovery-STM32F4, Discovery-STM32F429ZI, NUCLEO-STM32F4 JerryScript-DCO-1.0-Signed-off-by: Imre Kiss kissi@inf.u-szeged.hu
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
var check = 1;
|
||||
|
||||
function blink ()
|
||||
{
|
||||
var blk = (check > 8) ? 1 : 0;
|
||||
led (0, blk);
|
||||
check = (check >= 10) ? 1 : check + 1;
|
||||
}
|
||||
|
||||
print ("blink js OK");
|
||||
@@ -0,0 +1,6 @@
|
||||
function sysloop (ticknow)
|
||||
{
|
||||
blink ();
|
||||
}
|
||||
|
||||
print ("main js OK");
|
||||
Reference in New Issue
Block a user