Jerry is now split to several components: core, libc, plugins.
The components are build independently and then are linked with main module corresponding to target platform. Core is supposed to be platform-independent, while libc and plugins are dependent on specific architecture / platform. The commit disables unit tests building and running during precommit. That is supposed to be fixed in a subsequent commit. Also, the commit disables building and running valgrind targets during precommit. Build is supposed to be turned on by an option that should be introduced later. Valgrind-checked runs are supposed to be performed in asynchronous mode.
This commit is contained in:
@@ -15,34 +15,43 @@
|
||||
|
||||
#pragma GCC optimize "O0"
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
#include "actuators.h"
|
||||
#include "common-io.h"
|
||||
#include "jerry-libc.h"
|
||||
|
||||
#include "mcu-headers.h"
|
||||
|
||||
int
|
||||
digital_read (uint32_t arg1 __unused, uint32_t arg2 __unused)
|
||||
digital_read (uint32_t arg1, uint32_t arg2)
|
||||
{
|
||||
JERRY_UNIMPLEMENTED ("Digital read operation is not implemented.");
|
||||
(void) arg1;
|
||||
(void) arg2;
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
void
|
||||
digital_write (uint32_t arg1 __unused, uint32_t arg2 __unused)
|
||||
digital_write (uint32_t arg1, uint32_t arg2)
|
||||
{
|
||||
JERRY_UNIMPLEMENTED ("Digital write operation is not implemented.");
|
||||
(void) arg1;
|
||||
(void) arg2;
|
||||
}
|
||||
|
||||
int
|
||||
analog_read (uint32_t arg1 __unused, uint32_t arg2 __unused)
|
||||
analog_read (uint32_t arg1, uint32_t arg2)
|
||||
{
|
||||
JERRY_UNIMPLEMENTED ("Analog read operation is not implemented.");
|
||||
(void) arg1;
|
||||
(void) arg2;
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
void
|
||||
analog_write (uint32_t arg1 __unused, uint32_t arg2 __unused)
|
||||
analog_write (uint32_t arg1, uint32_t arg2)
|
||||
{
|
||||
JERRY_UNIMPLEMENTED ("Analog write operation is not implemented.");
|
||||
(void) arg1;
|
||||
(void) arg2;
|
||||
}
|
||||
|
||||
#ifdef __TARGET_HOST
|
||||
|
||||
Reference in New Issue
Block a user