Skip to content

Commit 51e2a04

Browse files
committed
Enforce newline at end of files
Reference: https://medium.com/@alexey.inkin/fdf76d1d090e
1 parent 63d20af commit 51e2a04

File tree

75 files changed

+55
-74
lines changed

Some content is hidden

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

75 files changed

+55
-74
lines changed

.devcontainer/devcontainer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@
1010
"remoteUser": "vscode",
1111

1212
"runArgs": [ "--cap-add=NET_ADMIN"]
13-
}
13+
}

.gitattributes

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,4 +37,4 @@ configure eol=lf
3737

3838
*.cmake whitespace=tab-in-indent
3939
*.rst whitespace=tab-in-indent conflict-marker-size=79
40-
*.txt whitespace=tab-in-indent
40+
*.txt whitespace=tab-in-indent

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 1 addition & 1 deletion

cmake/arm-none-eabi.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,4 @@ SET(CMAKE_ASM_FLAGS_DEBUG "-g -ggdb3" CACHE INTERNAL "asm debug compiler flags")
2626

2727
SET(CMAKE_C_FLAGS_RELEASE "-O3" CACHE INTERNAL "c release compiler flags")
2828
SET(CMAKE_CXX_FLAGS_RELEASE "-O3" CACHE INTERNAL "cxx release compiler flags")
29-
SET(CMAKE_ASM_FLAGS_RELEASE "" CACHE INTERNAL "asm release compiler flags")
29+
SET(CMAKE_ASM_FLAGS_RELEASE "" CACHE INTERNAL "asm release compiler flags")

cmake/cortex_m0.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@ set(VFP_FLAGS "")
1010
set(SPEC_FLAGS "--specs=nosys.specs")
1111
# set(LD_FLAGS "-nostartfiles")
1212

13-
include(${CMAKE_CURRENT_LIST_DIR}/arm-none-eabi.cmake)
13+
include(${CMAKE_CURRENT_LIST_DIR}/arm-none-eabi.cmake)

cmake/cortex_m3.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@ set(VFP_FLAGS "")
1010
set(SPEC_FLAGS "--specs=nosys.specs")
1111
# set(LD_FLAGS "-nostartfiles")
1212

13-
include(${CMAKE_CURRENT_LIST_DIR}/arm-none-eabi.cmake)
13+
include(${CMAKE_CURRENT_LIST_DIR}/arm-none-eabi.cmake)

cmake/cortex_m4.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@ set(VFP_FLAGS "")
1010
set(SPEC_FLAGS "--specs=nosys.specs")
1111
# set(LD_FLAGS "-nostartfiles")
1212

13-
include(${CMAKE_CURRENT_LIST_DIR}/arm-none-eabi.cmake)
13+
include(${CMAKE_CURRENT_LIST_DIR}/arm-none-eabi.cmake)

cmake/cortex_m7.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@ set(VFP_FLAGS "")
1010
set(SPEC_FLAGS "--specs=nosys.specs")
1111
# set(LD_FLAGS "-nostartfiles")
1212

13-
include(${CMAKE_CURRENT_LIST_DIR}/arm-none-eabi.cmake)
13+
include(${CMAKE_CURRENT_LIST_DIR}/arm-none-eabi.cmake)

cmake/utilities.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@ function(add_azrtos_component_dir dirname)
1212
list(APPEND tmp "azrtos::${dirname}")
1313
# Copy the temp back up to the parent list
1414
set(azrtos_targets ${tmp} PARENT_SCOPE)
15-
endfunction()
15+
endfunction()

docs/revision_history.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1550,4 +1550,4 @@ Below is the revision history for 5.x.
15501550
tx*.h Changed comments and copyright header.
15511551

15521552

1553-
12-12-2012 Initial ThreadX SMP generic code version 5.6.1.
1553+
12-12-2012 Initial ThreadX SMP generic code version 5.6.1.

ports/c667x/ccs/example_build/sample_threadx_c6678evm/targetConfigs/readme.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ connection settings will either modify an existing or generate a new target-conf
66
if you manually edit these auto-generated files, you may need to re-apply your changes. Alternatively,
77
you may create your own target-configuration file for this project and manage it manually. You can
88
always switch back to automatic target-configuration management by checking the "Manage the project's
9-
target-configuration automatically" checkbox on the project's Properties > General page.
9+
target-configuration automatically" checkbox on the project's Properties > General page.

ports/c667x/ccs/example_build/sample_threadx_ta6678fmc/targetConfigs/readme.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ connection settings will either modify an existing or generate a new target-conf
66
if you manually edit these auto-generated files, you may need to re-apply your changes. Alternatively,
77
you may create your own target-configuration file for this project and manage it manually. You can
88
always switch back to automatic target-configuration management by checking the "Manage the project's
9-
target-configuration automatically" checkbox on the project's Properties > General page.
9+
target-configuration automatically" checkbox on the project's Properties > General page.

ports/cortex_a5x/ac6/example_build/sample_threadx/sample_threadx.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@ LOAD 0x80000000
1212

1313
ARM_LIB_STACKHEAP 0x80090000 EMPTY -0x00040000
1414
{}
15-
}
15+
}

ports/cortex_m0/gnu/example_build/cortexm0_crt0.S

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,4 +116,3 @@ memory_set_done:
116116
.section .stack, "wa", %nobits
117117
.section .stack_process, "wa", %nobits
118118
.section .heap, "wa", %nobits
119-
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
LOAD "..\\demo_threadx_non-secure_zone\\Objects\\demo_threadx_non-secure_zone.axf" incremental
22
LOAD "..\\demo_secure_zone\\Objects\\demo_secure_zone.axf" incremental
33
RESET
4-
g, \\demo_secure_zone\main_s\main
4+
g, \\demo_secure_zone\main_s\main

ports/cortex_m23/ac6/example_build/demo_secure_zone/Abstract.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@ Non-secure application:
1616

1717
Output:
1818
Variables used in this application can be viewed in the Debugger
19-
Watch window.
19+
Watch window.

ports/cortex_m3/gnu/example_build/cortexm3_crt0.S

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,4 +88,3 @@ memory_set_done:
8888
.section .stack, "wa", %nobits
8989
.section .stack_process, "wa", %nobits
9090
.section .heap, "wa", %nobits
91-
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
LOAD "..\\demo_threadx_non-secure_zone\\Objects\\demo_threadx_non-secure_zone.axf" incremental
22
LOAD "..\\demo_secure_zone\\Objects\\demo_secure_zone.axf" incremental
33
RESET
4-
g, \\demo_secure_zone\main_s\main
4+
g, \\demo_secure_zone\main_s\main

ports/cortex_m33/ac6/example_build/demo_secure_zone/Abstract.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@ Non-secure application:
1616

1717
Output:
1818
Variables used in this application can be viewed in the Debugger
19-
Watch window.
19+
Watch window.

ports/cortex_m4/gnu/example_build/cortexm4_crt0.S

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,4 +116,3 @@ memory_set_done:
116116
.section .stack, "wa", %nobits
117117
.section .stack_process, "wa", %nobits
118118
.section .heap, "wa", %nobits
119-
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
LOAD "..\\demo_threadx_non-secure_zone\\Objects\\demo_threadx_non-secure_zone.axf" incremental
22
LOAD "..\\demo_secure_zone\\Objects\\secure_app.axf" incremental
33
RESET
4-
g, \\secure_app\main_s\main
4+
g, \\secure_app\main_s\main

ports/cortex_m7/gnu/example_build/cortexm7_crt0.S

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,4 +88,3 @@ memory_set_done:
8888
.section .stack, "wa", %nobits
8989
.section .stack_process, "wa", %nobits
9090
.section .heap, "wa", %nobits
91-

ports/linux/gnu/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,4 @@ target_include_directories(${PROJECT_NAME}
1919
${CMAKE_CURRENT_LIST_DIR}/inc
2020
)
2121

22-
target_compile_definitions(${PROJECT_NAME} PUBLIC "-D_GNU_SOURCE -DTX_LINUX_DEBUG_ENABLE")
22+
target_compile_definitions(${PROJECT_NAME} PUBLIC "-D_GNU_SOURCE -DTX_LINUX_DEBUG_ENABLE")

ports/risc-v32/iar/example_build/config/debugger/timer.mac

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,4 +61,4 @@ SimulationShutdown()
6161
{
6262
__cancelInterrupt(_interruptID);
6363
__clearBreak(_breakID);
64-
}
64+
}

ports/risc-v32/iar/example_build/sample_threadx.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -392,4 +392,4 @@ UINT status;
392392
__interrupt void test()
393393
{
394394
thread_6_and_7_entry(1);
395-
}
395+
}

ports/risc-v32/iar/src/tx_initialize_low_level.s

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,4 +126,3 @@ __minterrupt_000007:
126126

127127

128128
END
129-

ports/risc-v32/iar/src/tx_thread_context_save.s

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,4 +259,3 @@ _tx_thread_idle_system_save:
259259
ret ; Return to calling ISR
260260

261261
END
262-

ports/risc-v32/iar/src/tx_thread_interrupt_control.s

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,4 +90,3 @@ _tx_thread_interrupt_control:
9090
ret
9191
/* } */
9292
END
93-

ports/risc-v32/iar/src/tx_thread_system_return.s

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,4 +180,3 @@ _tx_thread_dont_save_ts:
180180
/* } */
181181

182182
END
183-

ports/risc-v32/iar/src/tx_timer_interrupt.s

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,4 +230,3 @@ _tx_timer_nothing_expired:
230230

231231
/* } */
232232
END
233-

ports/rxv1/ccrx/readme_threadx.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,4 +174,4 @@ https://azure.com/rtos
174174

175175

176176

177-
www.expresslogic.com
177+
www.expresslogic.com

ports/rxv1/iar/readme_threadx.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,4 +163,4 @@ information associated with this specific port of ThreadX:
163163
Copyright(c) 1996-2022 Microsoft Corporation
164164

165165

166-
https://azure.com/rtos
166+
https://azure.com/rtos

ports/rxv2/ccrx/readme_threadx.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,4 +183,4 @@ https://azure.com/rtos
183183

184184

185185

186-
www.expresslogic.com
186+
www.expresslogic.com

ports/rxv2/iar/readme_threadx.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,4 +172,4 @@ information associated with this specific port of ThreadX:
172172
Copyright(c) 1996-2022 Microsoft Corporation
173173

174174

175-
https://azure.com/rtos
175+
https://azure.com/rtos

ports/rxv3/iar/readme_threadx.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,4 +223,4 @@ information associated with this specific port of ThreadX:
223223
Copyright(c) 1996-2022 Microsoft Corporation
224224

225225

226-
https://azure.com/rtos
226+
https://azure.com/rtos

ports/win32/vs_2019/src/tx_initialize_low_level.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -285,4 +285,4 @@ VOID CALLBACK _tx_win32_timer_interrupt(UINT wTimerID, UINT msg, DWORD dwUser, D
285285

286286
/* Call ThreadX context restore for interrupt completion. */
287287
_tx_thread_context_restore();
288-
}
288+
}

ports_arch/ARMv7-M/threadx/gnu/example_build/cortexm4_crt0.S

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,4 +88,3 @@ memory_set_done:
8888
.section .stack, "wa", %nobits
8989
.section .stack_process, "wa", %nobits
9090
.section .heap, "wa", %nobits
91-
Binary file not shown.

ports_module/cortex_a7/gnu/example_build/gcc_setup.S

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,4 +130,3 @@ memory_set_done:
130130

131131
/* Setup attibutes of heap section so it doesn't take up room in the elf file */
132132
.section .heap, "wa", %nobits
133-

ports_module/cortex_a7/iar/module_manager/src/tx_thread_context_restore.s

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,4 +192,4 @@ restore_and_return_from_irq:
192192
#endif
193193
;}
194194
;
195-
END
195+
END

ports_module/cortex_m0+/gnu/example_build/sample_threadx/cortexm_crt0.s

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,4 +124,3 @@ memory_set_done:
124124
.section .stack, "wa", %nobits
125125
.section .stack_process, "wa", %nobits
126126
.section .heap, "wa", %nobits
127-

ports_module/cortex_m0+/gnu/example_build/sample_threadx_module_manager/cortexm_crt0.s

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,4 +124,3 @@ memory_set_done:
124124
.section .stack, "wa", %nobits
125125
.section .stack_process, "wa", %nobits
126126
.section .heap, "wa", %nobits
127-

ports_module/cortex_m23/ac6/example_build/Debug.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ LOAD "..\\demo_threadx_non-secure_zone\\Objects\\demo_threadx_non-secure_zone.ax
22
LOAD "..\\demo_secure_zone\\Objects\\demo_secure_zone.axf" incremental
33
LOAD "..\\sample_threadx_module\\Objects\\sample_threadx_module.axf" incremental
44
RESET
5-
g, \\demo_secure_zone\main_s\main
5+
g, \\demo_secure_zone\main_s\main

ports_module/cortex_m23/ac6/module_manager/inc/txm_module_manager_dispatch_port.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,4 +61,4 @@ ALIGN_TYPE return_value;
6161
(TX_THREAD *) param_0
6262
);
6363
return(return_value);
64-
}
64+
}

ports_module/cortex_m23/gnu/module_manager/inc/txm_module_manager_dispatch_port.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,4 +61,4 @@ ALIGN_TYPE return_value;
6161
(TX_THREAD *) param_0
6262
);
6363
return(return_value);
64-
}
64+
}

ports_module/cortex_m23/iar/module_manager/inc/txm_module_manager_dispatch_port.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,4 +61,4 @@ ALIGN_TYPE return_value;
6161
(TX_THREAD *) param_0
6262
);
6363
return(return_value);
64-
}
64+
}

ports_module/cortex_m3/gnu/example_build/cortexm_crt0.s

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,4 +124,3 @@ memory_set_done:
124124
.section .stack, "wa", %nobits
125125
.section .stack_process, "wa", %nobits
126126
.section .heap, "wa", %nobits
127-

ports_module/cortex_m3/gnu/example_build/gcc_setup.s

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,4 +124,3 @@ memory_set_done:
124124

125125
/* Setup attibutes of heap section so it doesn't take up room in the elf file */
126126
.section .heap, "wa", %nobits
127-

ports_module/cortex_m33/ac6/example_build/Debug.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ LOAD "..\\demo_threadx_non-secure_zone\\Objects\\demo_threadx_non-secure_zone.ax
22
LOAD "..\\demo_secure_zone\\Objects\\demo_secure_zone.axf" incremental
33
LOAD "..\\sample_threadx_module\\Objects\\sample_threadx_module.axf" incremental
44
RESET
5-
g, \\demo_secure_zone\main_s\main
5+
g, \\demo_secure_zone\main_s\main

ports_module/cortex_m33/ac6/module_manager/inc/txm_module_manager_dispatch_port.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,4 +61,4 @@ ALIGN_TYPE return_value;
6161
(TX_THREAD *) param_0
6262
);
6363
return(return_value);
64-
}
64+
}

ports_module/cortex_m33/gnu/example_build/gcc_setup.s

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,4 +124,3 @@ memory_set_done:
124124

125125
/* Setup attibutes of heap section so it doesn't take up room in the elf file */
126126
.section .heap, "wa", %nobits
127-

ports_module/cortex_m33/gnu/module_manager/inc/txm_module_manager_dispatch_port.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,4 +61,4 @@ ALIGN_TYPE return_value;
6161
(TX_THREAD *) param_0
6262
);
6363
return(return_value);
64-
}
64+
}

ports_module/cortex_m33/iar/module_manager/inc/txm_module_manager_dispatch_port.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,4 +61,4 @@ ALIGN_TYPE return_value;
6161
(TX_THREAD *) param_0
6262
);
6363
return(return_value);
64-
}
64+
}

ports_module/cortex_m4/gnu/example_build/gcc_setup.s

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,4 +124,3 @@ memory_set_done:
124124

125125
/* Setup attibutes of heap section so it doesn't take up room in the elf file */
126126
.section .heap, "wa", %nobits
127-

ports_module/cortex_m7/gnu/example_build/cortexm_crt0.s

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,4 +124,3 @@ memory_set_done:
124124
.section .stack, "wa", %nobits
125125
.section .stack_process, "wa", %nobits
126126
.section .heap, "wa", %nobits
127-

ports_module/cortex_m7/gnu/example_build/gcc_setup.s

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,4 +124,3 @@ memory_set_done:
124124

125125
/* Setup attibutes of heap section so it doesn't take up room in the elf file */
126126
.section .heap, "wa", %nobits
127-

ports_smp/cortex_a5_smp/ac5/example_build/sample_threadx/sample_threadx.sct

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,4 +34,4 @@ LOAD 0x80000000 0x00010000
3434
}
3535

3636
PAGETABLES 0x80500000 EMPTY 0x00100000 {}
37-
}
37+
}

ports_smp/cortex_a7_smp/ac5/example_build/sample_threadx/sample_threadx.scat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,4 +34,4 @@ LOAD 0x80000000 0x00010000
3434
}
3535

3636
PAGETABLES 0x80500000 EMPTY 0x00100000 {}
37-
}
37+
}

ports_smp/cortex_a9_smp/ac5/example_build/sample_threadx/sample_threadx.scat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,4 +38,4 @@ LOAD 0x80000000
3838
IRQ_STACKS +0 ALIGN 8 EMPTY 4*256 {}
3939

4040
PAGETABLES 0x80500000 EMPTY 0x00100000 {}
41-
}
41+
}

scripts/copy_armv7_m.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,4 +77,4 @@ do
7777
# String replacement
7878
sed -i "s/$source_string/$target_string_pre${mcu: -1}/g" $target
7979
done
80-
done
80+
done

0 commit comments

Comments
 (0)