Fixing warnings and removing call to vprintf in src/libruntime/target/stm32f4/*.
This commit is contained in:
@@ -20,9 +20,9 @@
|
|||||||
* Handle failed assertion
|
* Handle failed assertion
|
||||||
*/
|
*/
|
||||||
void __noreturn
|
void __noreturn
|
||||||
jerry_AssertFail(const char *assertion, /**< assertion condition string */
|
jerry_AssertFail(const char *assertion __unused, /**< assertion condition string */
|
||||||
const char *file, /**< file name */
|
const char *file __unused, /**< file name */
|
||||||
const uint32_t line) /** line */
|
const uint32_t line __unused) /** line */
|
||||||
{
|
{
|
||||||
__exit( -ERR_GENERAL);
|
__exit( -ERR_GENERAL);
|
||||||
} /* jerry_AssertFail */
|
} /* jerry_AssertFail */
|
||||||
|
|||||||
@@ -36,7 +36,12 @@ __printf(const char *format, /**< format string */
|
|||||||
|
|
||||||
va_start( args, format);
|
va_start( args, format);
|
||||||
|
|
||||||
int ret = vprintf( format, args);
|
/**
|
||||||
|
* TODO: Call internal vprintf implementation when it appears.
|
||||||
|
*/
|
||||||
|
int ret = 0;
|
||||||
|
|
||||||
|
JERRY_UNIMPLEMENTED();
|
||||||
|
|
||||||
va_end( args);
|
va_end( args);
|
||||||
|
|
||||||
@@ -52,7 +57,7 @@ __putchar (int c)
|
|||||||
|
|
||||||
/** exit - cause normal process termination */
|
/** exit - cause normal process termination */
|
||||||
void __noreturn
|
void __noreturn
|
||||||
__exit (int status)
|
__exit (int status __unused)
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* TODO: Blink LEDs? status -> binary -> LEDs?
|
* TODO: Blink LEDs? status -> binary -> LEDs?
|
||||||
|
|||||||
Reference in New Issue
Block a user