File tree Expand file tree Collapse file tree 3 files changed +8
-6
lines changed
features/netsocket/emac-drivers/TARGET_GD_EMAC/TARGET_GD32F4XX
targets/TARGET_GigaDevice/TARGET_GD32F4XX
TARGET_GD32F450ZI/device/TOOLCHAIN_IAR Expand file tree Collapse file tree 3 files changed +8
-6
lines changed Original file line number Diff line number Diff line change 1
1
/* mbed Microcontroller Library
2
2
* Copyright (c) 2018 GigaDevice Semiconductor Inc.
3
3
*
4
+ * SPDX-License-Identifier: Apache-2.0
5
+ *
4
6
* Licensed under the Apache License, Version 2.0 (the "License");
5
7
* you may not use this file except in compliance with the License.
6
8
* You may obtain a copy of the License at
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ define symbol __ICFEDIT_region_RAM_start__ = 0x200001B0;
17
17
define symbol __ICFEDIT_region_RAM_end__ = 0x2002FFFF;
18
18
19
19
/*-Sizes-*/
20
- define symbol __ICFEDIT_size_cstack__ = 0x3000 ;
20
+ define symbol __ICFEDIT_size_cstack__ = 0x400 ;
21
21
define symbol __ICFEDIT_size_heap__ = 0x10000;
22
22
/**** End of ICF editor section. ###ICF###*/
23
23
Original file line number Diff line number Diff line change 21
21
#include "hal_tick.h"
22
22
23
23
#if TICKER_TIMER_WIDTH_BIT == 16
24
- uint32_t time_before ;
25
- uint32_t total_elapsed_time ;
24
+ static uint32_t time_before ;
25
+ static uint32_t total_elapsed_time ;
26
26
#endif
27
27
28
28
/* this variable is set to 1 at the end of mbed_sdk_init function.
29
29
the ticker_read_us() function must not be called until the mbed_sdk_init is terminated */
30
30
extern int mbed_sdk_inited ;
31
- uint32_t ticker_timer_cnt ;
32
- uint32_t ticker_timer_ch0cv ;
33
- uint32_t ticker_timer_dmainten ;
31
+ static uint32_t ticker_timer_cnt ;
32
+ static uint32_t ticker_timer_ch0cv ;
33
+ static uint32_t ticker_timer_dmainten ;
34
34
35
35
void ticker_timer_init (void );
36
36
#if TICKER_TIMER_WIDTH_BIT == 16
You can’t perform that action at this time.
0 commit comments