t

Fork of mbed-dev by mbed official

Committer:
<>
Date:
Fri Oct 28 11:17:30 2016 +0100
Revision:
149:156823d33999
Parent:
targets/hal/TARGET_Atmel/TARGET_SAM_CortexM4/TARGET_SAMG55J19/SAMG55_XPLAINED_PRO/mbed_overrides.c@107:414e9c822e99
This updates the lib to the mbed lib v128

NOTE: This release includes a restructuring of the file and directory locations and thus some
include paths in your code may need updating accordingly.

Who changed what in which revision?

UserRevisionLine numberNew contents of line
mbed_official 107:414e9c822e99 1 /* mbed Microcontroller Library
mbed_official 107:414e9c822e99 2 * Copyright (c) 2006-2015 ARM Limited
mbed_official 107:414e9c822e99 3 *
mbed_official 107:414e9c822e99 4 * Licensed under the Apache License, Version 2.0 (the "License");
mbed_official 107:414e9c822e99 5 * you may not use this file except in compliance with the License.
mbed_official 107:414e9c822e99 6 * You may obtain a copy of the License at
mbed_official 107:414e9c822e99 7 *
mbed_official 107:414e9c822e99 8 * http://www.apache.org/licenses/LICENSE-2.0
mbed_official 107:414e9c822e99 9 *
mbed_official 107:414e9c822e99 10 * Unless required by applicable law or agreed to in writing, software
mbed_official 107:414e9c822e99 11 * distributed under the License is distributed on an "AS IS" BASIS,
mbed_official 107:414e9c822e99 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
mbed_official 107:414e9c822e99 13 * See the License for the specific language governing permissions and
mbed_official 107:414e9c822e99 14 * limitations under the License.
mbed_official 107:414e9c822e99 15 */
mbed_official 107:414e9c822e99 16 #include "mbed_assert.h"
mbed_official 107:414e9c822e99 17 #include "compiler.h"
mbed_official 107:414e9c822e99 18 #include "sysclk.h"
mbed_official 107:414e9c822e99 19
mbed_official 107:414e9c822e99 20 uint8_t g_sys_init = 0;
mbed_official 107:414e9c822e99 21
mbed_official 107:414e9c822e99 22 //called before main - implement here if board needs it ortherwise, let
mbed_official 107:414e9c822e99 23 // the application override this if necessary
mbed_official 107:414e9c822e99 24 //TODO: To be implemented by adding system init and board init
mbed_official 107:414e9c822e99 25 void mbed_sdk_init()
mbed_official 107:414e9c822e99 26 {
mbed_official 107:414e9c822e99 27 if(g_sys_init == 0) {
mbed_official 107:414e9c822e99 28 sysclk_init();
mbed_official 107:414e9c822e99 29 system_board_init();
mbed_official 107:414e9c822e99 30 g_sys_init = 1;
mbed_official 107:414e9c822e99 31 }
mbed_official 107:414e9c822e99 32 }
mbed_official 107:414e9c822e99 33 /***************************************************************/