Skip to content

Commit

Permalink
Enforce newline at end of files
Browse files Browse the repository at this point in the history
  • Loading branch information
jserv committed Nov 21, 2024
1 parent 63d20af commit 51e2a04
Show file tree
Hide file tree
Showing 75 changed files with 55 additions and 74 deletions.
2 changes: 1 addition & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@
"remoteUser": "vscode",

"runArgs": [ "--cap-add=NET_ADMIN"]
}
}
2 changes: 1 addition & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,4 @@ configure eol=lf

*.cmake whitespace=tab-in-indent
*.rst whitespace=tab-in-indent conflict-marker-size=79
*.txt whitespace=tab-in-indent
*.txt whitespace=tab-in-indent
2 changes: 1 addition & 1 deletion .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
<!--- Put an `x` in all the boxes that apply. -->
- [ ] Updated function header with a short description and version number
- [ ] Added test case for bug fix or new feature
- [ ] Validated on real hardware <!-- hardware - toolchain -->
- [ ] Validated on real hardware <!-- hardware - toolchain -->
2 changes: 1 addition & 1 deletion cmake/arm-none-eabi.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,4 @@ SET(CMAKE_ASM_FLAGS_DEBUG "-g -ggdb3" CACHE INTERNAL "asm debug compiler flags")

SET(CMAKE_C_FLAGS_RELEASE "-O3" CACHE INTERNAL "c release compiler flags")
SET(CMAKE_CXX_FLAGS_RELEASE "-O3" CACHE INTERNAL "cxx release compiler flags")
SET(CMAKE_ASM_FLAGS_RELEASE "" CACHE INTERNAL "asm release compiler flags")
SET(CMAKE_ASM_FLAGS_RELEASE "" CACHE INTERNAL "asm release compiler flags")
2 changes: 1 addition & 1 deletion cmake/cortex_m0.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ set(VFP_FLAGS "")
set(SPEC_FLAGS "--specs=nosys.specs")
# set(LD_FLAGS "-nostartfiles")

include(${CMAKE_CURRENT_LIST_DIR}/arm-none-eabi.cmake)
include(${CMAKE_CURRENT_LIST_DIR}/arm-none-eabi.cmake)
2 changes: 1 addition & 1 deletion cmake/cortex_m3.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ set(VFP_FLAGS "")
set(SPEC_FLAGS "--specs=nosys.specs")
# set(LD_FLAGS "-nostartfiles")

include(${CMAKE_CURRENT_LIST_DIR}/arm-none-eabi.cmake)
include(${CMAKE_CURRENT_LIST_DIR}/arm-none-eabi.cmake)
2 changes: 1 addition & 1 deletion cmake/cortex_m4.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ set(VFP_FLAGS "")
set(SPEC_FLAGS "--specs=nosys.specs")
# set(LD_FLAGS "-nostartfiles")

include(${CMAKE_CURRENT_LIST_DIR}/arm-none-eabi.cmake)
include(${CMAKE_CURRENT_LIST_DIR}/arm-none-eabi.cmake)
2 changes: 1 addition & 1 deletion cmake/cortex_m7.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ set(VFP_FLAGS "")
set(SPEC_FLAGS "--specs=nosys.specs")
# set(LD_FLAGS "-nostartfiles")

include(${CMAKE_CURRENT_LIST_DIR}/arm-none-eabi.cmake)
include(${CMAKE_CURRENT_LIST_DIR}/arm-none-eabi.cmake)
2 changes: 1 addition & 1 deletion cmake/utilities.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ function(add_azrtos_component_dir dirname)
list(APPEND tmp "azrtos::${dirname}")
# Copy the temp back up to the parent list
set(azrtos_targets ${tmp} PARENT_SCOPE)
endfunction()
endfunction()
2 changes: 1 addition & 1 deletion docs/revision_history.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1550,4 +1550,4 @@ Below is the revision history for 5.x.
tx*.h Changed comments and copyright header.


12-12-2012 Initial ThreadX SMP generic code version 5.6.1.
12-12-2012 Initial ThreadX SMP generic code version 5.6.1.
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ connection settings will either modify an existing or generate a new target-conf
if you manually edit these auto-generated files, you may need to re-apply your changes. Alternatively,
you may create your own target-configuration file for this project and manage it manually. You can
always switch back to automatic target-configuration management by checking the "Manage the project's
target-configuration automatically" checkbox on the project's Properties > General page.
target-configuration automatically" checkbox on the project's Properties > General page.
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ connection settings will either modify an existing or generate a new target-conf
if you manually edit these auto-generated files, you may need to re-apply your changes. Alternatively,
you may create your own target-configuration file for this project and manage it manually. You can
always switch back to automatic target-configuration management by checking the "Manage the project's
target-configuration automatically" checkbox on the project's Properties > General page.
target-configuration automatically" checkbox on the project's Properties > General page.
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ LOAD 0x80000000

ARM_LIB_STACKHEAP 0x80090000 EMPTY -0x00040000
{}
}
}
1 change: 0 additions & 1 deletion ports/cortex_m0/gnu/example_build/cortexm0_crt0.S
Original file line number Diff line number Diff line change
Expand Up @@ -116,4 +116,3 @@ memory_set_done:
.section .stack, "wa", %nobits
.section .stack_process, "wa", %nobits
.section .heap, "wa", %nobits

2 changes: 1 addition & 1 deletion ports/cortex_m23/ac6/example_build/Debug.ini
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
LOAD "..\\demo_threadx_non-secure_zone\\Objects\\demo_threadx_non-secure_zone.axf" incremental
LOAD "..\\demo_secure_zone\\Objects\\demo_secure_zone.axf" incremental
RESET
g, \\demo_secure_zone\main_s\main
g, \\demo_secure_zone\main_s\main
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ Non-secure application:

Output:
Variables used in this application can be viewed in the Debugger
Watch window.
Watch window.
1 change: 0 additions & 1 deletion ports/cortex_m3/gnu/example_build/cortexm3_crt0.S
Original file line number Diff line number Diff line change
Expand Up @@ -88,4 +88,3 @@ memory_set_done:
.section .stack, "wa", %nobits
.section .stack_process, "wa", %nobits
.section .heap, "wa", %nobits

2 changes: 1 addition & 1 deletion ports/cortex_m33/ac6/example_build/Debug.ini
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
LOAD "..\\demo_threadx_non-secure_zone\\Objects\\demo_threadx_non-secure_zone.axf" incremental
LOAD "..\\demo_secure_zone\\Objects\\demo_secure_zone.axf" incremental
RESET
g, \\demo_secure_zone\main_s\main
g, \\demo_secure_zone\main_s\main
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ Non-secure application:

Output:
Variables used in this application can be viewed in the Debugger
Watch window.
Watch window.
1 change: 0 additions & 1 deletion ports/cortex_m4/gnu/example_build/cortexm4_crt0.S
Original file line number Diff line number Diff line change
Expand Up @@ -116,4 +116,3 @@ memory_set_done:
.section .stack, "wa", %nobits
.section .stack_process, "wa", %nobits
.section .heap, "wa", %nobits

2 changes: 1 addition & 1 deletion ports/cortex_m55/ac6/example_build/Debug.ini
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
LOAD "..\\demo_threadx_non-secure_zone\\Objects\\demo_threadx_non-secure_zone.axf" incremental
LOAD "..\\demo_secure_zone\\Objects\\secure_app.axf" incremental
RESET
g, \\secure_app\main_s\main
g, \\secure_app\main_s\main
1 change: 0 additions & 1 deletion ports/cortex_m7/gnu/example_build/cortexm7_crt0.S
Original file line number Diff line number Diff line change
Expand Up @@ -88,4 +88,3 @@ memory_set_done:
.section .stack, "wa", %nobits
.section .stack_process, "wa", %nobits
.section .heap, "wa", %nobits

2 changes: 1 addition & 1 deletion ports/linux/gnu/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ target_include_directories(${PROJECT_NAME}
${CMAKE_CURRENT_LIST_DIR}/inc
)

target_compile_definitions(${PROJECT_NAME} PUBLIC "-D_GNU_SOURCE -DTX_LINUX_DEBUG_ENABLE")
target_compile_definitions(${PROJECT_NAME} PUBLIC "-D_GNU_SOURCE -DTX_LINUX_DEBUG_ENABLE")
2 changes: 1 addition & 1 deletion ports/risc-v32/iar/example_build/config/debugger/timer.mac
Original file line number Diff line number Diff line change
Expand Up @@ -61,4 +61,4 @@ SimulationShutdown()
{
__cancelInterrupt(_interruptID);
__clearBreak(_breakID);
}
}
2 changes: 1 addition & 1 deletion ports/risc-v32/iar/example_build/sample_threadx.c
Original file line number Diff line number Diff line change
Expand Up @@ -392,4 +392,4 @@ UINT status;
__interrupt void test()
{
thread_6_and_7_entry(1);
}
}
1 change: 0 additions & 1 deletion ports/risc-v32/iar/src/tx_initialize_low_level.s
Original file line number Diff line number Diff line change
Expand Up @@ -126,4 +126,3 @@ __minterrupt_000007:


END

1 change: 0 additions & 1 deletion ports/risc-v32/iar/src/tx_thread_context_save.s
Original file line number Diff line number Diff line change
Expand Up @@ -259,4 +259,3 @@ _tx_thread_idle_system_save:
ret ; Return to calling ISR

END

1 change: 0 additions & 1 deletion ports/risc-v32/iar/src/tx_thread_interrupt_control.s
Original file line number Diff line number Diff line change
Expand Up @@ -90,4 +90,3 @@ _tx_thread_interrupt_control:
ret
/* } */
END

1 change: 0 additions & 1 deletion ports/risc-v32/iar/src/tx_thread_system_return.s
Original file line number Diff line number Diff line change
Expand Up @@ -180,4 +180,3 @@ _tx_thread_dont_save_ts:
/* } */

END

1 change: 0 additions & 1 deletion ports/risc-v32/iar/src/tx_timer_interrupt.s
Original file line number Diff line number Diff line change
Expand Up @@ -230,4 +230,3 @@ _tx_timer_nothing_expired:

/* } */
END

2 changes: 1 addition & 1 deletion ports/rxv1/ccrx/readme_threadx.txt
Original file line number Diff line number Diff line change
Expand Up @@ -174,4 +174,4 @@ https://azure.com/rtos



www.expresslogic.com
www.expresslogic.com
2 changes: 1 addition & 1 deletion ports/rxv1/iar/readme_threadx.txt
Original file line number Diff line number Diff line change
Expand Up @@ -163,4 +163,4 @@ information associated with this specific port of ThreadX:
Copyright(c) 1996-2022 Microsoft Corporation


https://azure.com/rtos
https://azure.com/rtos
2 changes: 1 addition & 1 deletion ports/rxv2/ccrx/readme_threadx.txt
Original file line number Diff line number Diff line change
Expand Up @@ -183,4 +183,4 @@ https://azure.com/rtos



www.expresslogic.com
www.expresslogic.com
2 changes: 1 addition & 1 deletion ports/rxv2/iar/readme_threadx.txt
Original file line number Diff line number Diff line change
Expand Up @@ -172,4 +172,4 @@ information associated with this specific port of ThreadX:
Copyright(c) 1996-2022 Microsoft Corporation


https://azure.com/rtos
https://azure.com/rtos
2 changes: 1 addition & 1 deletion ports/rxv3/iar/readme_threadx.txt
Original file line number Diff line number Diff line change
Expand Up @@ -223,4 +223,4 @@ information associated with this specific port of ThreadX:
Copyright(c) 1996-2022 Microsoft Corporation


https://azure.com/rtos
https://azure.com/rtos
2 changes: 1 addition & 1 deletion ports/win32/vs_2019/src/tx_initialize_low_level.c
Original file line number Diff line number Diff line change
Expand Up @@ -285,4 +285,4 @@ VOID CALLBACK _tx_win32_timer_interrupt(UINT wTimerID, UINT msg, DWORD dwUser, D

/* Call ThreadX context restore for interrupt completion. */
_tx_thread_context_restore();
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -88,4 +88,3 @@ memory_set_done:
.section .stack, "wa", %nobits
.section .stack_process, "wa", %nobits
.section .heap, "wa", %nobits

Binary file modified ports_module/cortex_a7/ac5/example_build/module_code.c
Binary file not shown.
1 change: 0 additions & 1 deletion ports_module/cortex_a7/gnu/example_build/gcc_setup.S
Original file line number Diff line number Diff line change
Expand Up @@ -130,4 +130,3 @@ memory_set_done:

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

Original file line number Diff line number Diff line change
Expand Up @@ -192,4 +192,4 @@ restore_and_return_from_irq:
#endif
;}
;
END
END
Original file line number Diff line number Diff line change
Expand Up @@ -124,4 +124,3 @@ memory_set_done:
.section .stack, "wa", %nobits
.section .stack_process, "wa", %nobits
.section .heap, "wa", %nobits

Original file line number Diff line number Diff line change
Expand Up @@ -124,4 +124,3 @@ memory_set_done:
.section .stack, "wa", %nobits
.section .stack_process, "wa", %nobits
.section .heap, "wa", %nobits

2 changes: 1 addition & 1 deletion ports_module/cortex_m23/ac6/example_build/Debug.ini
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ LOAD "..\\demo_threadx_non-secure_zone\\Objects\\demo_threadx_non-secure_zone.ax
LOAD "..\\demo_secure_zone\\Objects\\demo_secure_zone.axf" incremental
LOAD "..\\sample_threadx_module\\Objects\\sample_threadx_module.axf" incremental
RESET
g, \\demo_secure_zone\main_s\main
g, \\demo_secure_zone\main_s\main
Original file line number Diff line number Diff line change
Expand Up @@ -61,4 +61,4 @@ ALIGN_TYPE return_value;
(TX_THREAD *) param_0
);
return(return_value);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -61,4 +61,4 @@ ALIGN_TYPE return_value;
(TX_THREAD *) param_0
);
return(return_value);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -61,4 +61,4 @@ ALIGN_TYPE return_value;
(TX_THREAD *) param_0
);
return(return_value);
}
}
1 change: 0 additions & 1 deletion ports_module/cortex_m3/gnu/example_build/cortexm_crt0.s
Original file line number Diff line number Diff line change
Expand Up @@ -124,4 +124,3 @@ memory_set_done:
.section .stack, "wa", %nobits
.section .stack_process, "wa", %nobits
.section .heap, "wa", %nobits

1 change: 0 additions & 1 deletion ports_module/cortex_m3/gnu/example_build/gcc_setup.s
Original file line number Diff line number Diff line change
Expand Up @@ -124,4 +124,3 @@ memory_set_done:

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

2 changes: 1 addition & 1 deletion ports_module/cortex_m33/ac6/example_build/Debug.ini
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ LOAD "..\\demo_threadx_non-secure_zone\\Objects\\demo_threadx_non-secure_zone.ax
LOAD "..\\demo_secure_zone\\Objects\\demo_secure_zone.axf" incremental
LOAD "..\\sample_threadx_module\\Objects\\sample_threadx_module.axf" incremental
RESET
g, \\demo_secure_zone\main_s\main
g, \\demo_secure_zone\main_s\main
Original file line number Diff line number Diff line change
Expand Up @@ -61,4 +61,4 @@ ALIGN_TYPE return_value;
(TX_THREAD *) param_0
);
return(return_value);
}
}
1 change: 0 additions & 1 deletion ports_module/cortex_m33/gnu/example_build/gcc_setup.s
Original file line number Diff line number Diff line change
Expand Up @@ -124,4 +124,3 @@ memory_set_done:

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

Original file line number Diff line number Diff line change
Expand Up @@ -61,4 +61,4 @@ ALIGN_TYPE return_value;
(TX_THREAD *) param_0
);
return(return_value);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -61,4 +61,4 @@ ALIGN_TYPE return_value;
(TX_THREAD *) param_0
);
return(return_value);
}
}
1 change: 0 additions & 1 deletion ports_module/cortex_m4/gnu/example_build/gcc_setup.s
Original file line number Diff line number Diff line change
Expand Up @@ -124,4 +124,3 @@ memory_set_done:

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

1 change: 0 additions & 1 deletion ports_module/cortex_m7/gnu/example_build/cortexm_crt0.s
Original file line number Diff line number Diff line change
Expand Up @@ -124,4 +124,3 @@ memory_set_done:
.section .stack, "wa", %nobits
.section .stack_process, "wa", %nobits
.section .heap, "wa", %nobits

1 change: 0 additions & 1 deletion ports_module/cortex_m7/gnu/example_build/gcc_setup.s
Original file line number Diff line number Diff line change
Expand Up @@ -124,4 +124,3 @@ memory_set_done:

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

Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,4 @@ LOAD 0x80000000 0x00010000
}

PAGETABLES 0x80500000 EMPTY 0x00100000 {}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,4 @@ LOAD 0x80000000 0x00010000
}

PAGETABLES 0x80500000 EMPTY 0x00100000 {}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,4 @@ LOAD 0x80000000
IRQ_STACKS +0 ALIGN 8 EMPTY 4*256 {}

PAGETABLES 0x80500000 EMPTY 0x00100000 {}
}
}
2 changes: 1 addition & 1 deletion scripts/copy_armv7_m.sh
Original file line number Diff line number Diff line change
Expand Up @@ -77,4 +77,4 @@ do
# String replacement
sed -i "s/$source_string/$target_string_pre${mcu: -1}/g" $target
done
done
done
Loading

0 comments on commit 51e2a04

Please sign in to comment.