mirror of
https://github.com/jerryscript-project/jerryscript.git
synced 2025-12-15 16:29:21 +00:00
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.
29 lines
941 B
C++
29 lines
941 B
C++
/* Copyright 2015 Samsung Electronics Co., Ltd.
|
|
*
|
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
* you may not use this file except in compliance with the License.
|
|
* You may obtain a copy of the License at
|
|
*
|
|
* http://www.apache.org/licenses/LICENSE-2.0
|
|
*
|
|
* Unless required by applicable law or agreed to in writing, software
|
|
* distributed under the License is distributed on an "AS IS" BASIS
|
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
* See the License for the specific language governing permissions and
|
|
* limitations under the License.
|
|
*/
|
|
|
|
#include "actuators.h"
|
|
#include "common-io.h"
|
|
#include "init.h"
|
|
|
|
void
|
|
plugin_device_stm_init (void)
|
|
{
|
|
#if defined (__TARGET_MCU_STM32F3) || defined (__TARGET_MCU_STM32F4)
|
|
initialize_sys_tick ();
|
|
initialize_leds ();
|
|
initialize_timer ();
|
|
#endif /* __TARGET_MCU_STM32F3 || __TARGET_MCU_STM32F4 */
|
|
} /* plugin_device_stm_init */
|