blob: b046f3b5842e556f34afb4fe2b03cf289f45c606 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
/* Copyright (c) 2013 The Chromium OS Authors. All rights reserved.
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
/* Entry point of unit test executable */
#include "flash.h"
#include "hooks.h"
#include "system.h"
#include "task.h"
#include "test_util.h"
#include "timer.h"
#include "uart.h"
int main(void)
{
register_test_end_hook();
flash_pre_init();
system_pre_init();
system_common_pre_init();
timer_init();
hook_init();
uart_init();
task_start();
return 0;
}
|