Skip to content
This repository was archived by the owner on Jun 5, 2019. It is now read-only.

Commit 0cc4869

Browse files
committed
Merge pull request #203 from smaillet-ms/Support-GCC
Merging in support For GCC
2 parents 2e10ea7 + bc2b73c commit 0cc4869

File tree

211 files changed

+8985
-8107
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

211 files changed

+8985
-8107
lines changed

Application/MicroBooter/MicroBooter.cpp

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,6 @@ static SREC_Handler g_SREC;
2424

2525
HAL_DECLARE_CUSTOM_HEAP( SimpleHeap_Allocate, SimpleHeap_Release, SimpleHeap_ReAllocate );
2626

27-
void HARD_Breakpoint()
28-
{
29-
}
30-
3127
#pragma arm section zidata = "s_SystemStates"
3228
static INT32 s_SystemStates[SYSTEM_STATE_TOTAL_STATES];
3329
#pragma arm section zidata
@@ -117,7 +113,7 @@ void HAL_AddSoftRebootHandler(ON_SOFT_REBOOT_HANDLER handler)
117113

118114
#pragma arm section code = "SectionForBootstrapOperations"
119115

120-
static void __section(SectionForBootstrapOperations) Prepare_Copy( volatile UINT32* src, volatile UINT32* dst, UINT32 len )
116+
static void __section("SectionForBootstrapOperations") Prepare_Copy( volatile UINT32* src, volatile UINT32* dst, UINT32 len )
121117
{
122118
if(dst != src)
123119
{
@@ -144,7 +140,7 @@ static void __section(SectionForBootstrapOperations) Prepare_Copy( volatile UINT
144140
}
145141
}
146142

147-
static void __section(SectionForBootstrapOperations) Prepare_Zero( volatile UINT32* dst, UINT32 len )
143+
static void __section("SectionForBootstrapOperations") Prepare_Zero( volatile UINT32* dst, UINT32 len )
148144
{
149145
INT32 extraLen = len & 0x00000003;
150146
len = len & 0xFFFFFFFC;
@@ -168,7 +164,7 @@ static void __section(SectionForBootstrapOperations) Prepare_Zero( volatile UINT
168164
}
169165
}
170166

171-
void __section(SectionForBootstrapOperations) PrepareImageRegions()
167+
void __section("SectionForBootstrapOperations") PrepareImageRegions()
172168
{
173169
//
174170
// Copy RAM RO regions into proper location.

Application/common/assemblycode/ARM/GNU_S/BooterVectorTable.s

Lines changed: 0 additions & 148 deletions
This file was deleted.

0 commit comments

Comments
 (0)