mirror of https://github.com/ARMmbed/mbed-os.git
Implemented us_ticker free() & modified IAR stack
parent
29e0e65b1f
commit
ae18077a99
|
@ -14,7 +14,7 @@ define symbol __ICFEDIT_region_BRAM_start__ = 0x20030000;
|
||||||
define symbol __ICFEDIT_region_BRAM_end__ = 0x200307FF;
|
define symbol __ICFEDIT_region_BRAM_end__ = 0x200307FF;
|
||||||
/*-Sizes-*/
|
/*-Sizes-*/
|
||||||
/*Heap 1/4 of ram and stack 1/8*/
|
/*Heap 1/4 of ram and stack 1/8*/
|
||||||
define symbol __ICFEDIT_size_cstack__ = 0xC000;
|
define symbol __ICFEDIT_size_cstack__ = 0x0400;
|
||||||
define symbol __ICFEDIT_size_heap__ = 0x6000;
|
define symbol __ICFEDIT_size_heap__ = 0x6000;
|
||||||
/**** End of ICF editor section. ###ICF###*/
|
/**** End of ICF editor section. ###ICF###*/
|
||||||
|
|
||||||
|
|
|
@ -99,4 +99,9 @@ void us_ticker_clear_interrupt(void)
|
||||||
|
|
||||||
void us_ticker_free(void)
|
void us_ticker_free(void)
|
||||||
{
|
{
|
||||||
|
TSB_T32A0->RUNC = T32A_RUN_DISABLE;
|
||||||
|
TSB_IB->IMC006 = CLR_TIMER_INT_FLAG;
|
||||||
|
NVIC_ClearPendingIRQ(INTT32A00_A_CT_IRQn);
|
||||||
|
NVIC_DisableIRQ(INTT32A00_A_CT_IRQn);
|
||||||
|
TSB_CG_FSYSMENA_IPMENA06 = TXZ_DISABLE;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue