Skip to content

Commit 4afbe32

Browse files
committed
Renamed files.
1 parent 7cf5b0f commit 4afbe32

38 files changed

+138
-137
lines changed

CMakeLists.txt

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,16 @@
22
add_library(microtbx INTERFACE)
33

44
target_sources(microtbx INTERFACE
5-
"${CMAKE_CURRENT_LIST_DIR}/source/tbxaes256.c"
6-
"${CMAKE_CURRENT_LIST_DIR}/source/tbxassert.c"
7-
"${CMAKE_CURRENT_LIST_DIR}/source/tbxchecksum.c"
8-
"${CMAKE_CURRENT_LIST_DIR}/source/tbxcritsect.c"
9-
"${CMAKE_CURRENT_LIST_DIR}/source/tbxcrypto.c"
10-
"${CMAKE_CURRENT_LIST_DIR}/source/tbxheap.c"
11-
"${CMAKE_CURRENT_LIST_DIR}/source/tbxlist.c"
12-
"${CMAKE_CURRENT_LIST_DIR}/source/tbxmempool.c"
13-
"${CMAKE_CURRENT_LIST_DIR}/source/tbxplatform.c"
14-
"${CMAKE_CURRENT_LIST_DIR}/source/tbxrandom.c"
5+
"${CMAKE_CURRENT_LIST_DIR}/source/tbx_aes256.c"
6+
"${CMAKE_CURRENT_LIST_DIR}/source/tbx_assert.c"
7+
"${CMAKE_CURRENT_LIST_DIR}/source/tbx_checksum.c"
8+
"${CMAKE_CURRENT_LIST_DIR}/source/tbx_critsect.c"
9+
"${CMAKE_CURRENT_LIST_DIR}/source/tbx_crypto.c"
10+
"${CMAKE_CURRENT_LIST_DIR}/source/tbx_heap.c"
11+
"${CMAKE_CURRENT_LIST_DIR}/source/tbx_list.c"
12+
"${CMAKE_CURRENT_LIST_DIR}/source/tbx_mempool.c"
13+
"${CMAKE_CURRENT_LIST_DIR}/source/tbx_platform.c"
14+
"${CMAKE_CURRENT_LIST_DIR}/source/tbx_random.c"
1515
)
1616

1717
target_include_directories(microtbx INTERFACE
@@ -22,8 +22,8 @@ target_include_directories(microtbx INTERFACE
2222
add_library(microtbx-cortexm INTERFACE)
2323

2424
target_sources(microtbx-cortexm INTERFACE
25-
"${CMAKE_CURRENT_LIST_DIR}/source/port/ARM_CORTEXM/tbxport.c"
26-
"${CMAKE_CURRENT_LIST_DIR}/source/port/ARM_CORTEXM/GCC/tbxcomp.s"
25+
"${CMAKE_CURRENT_LIST_DIR}/source/port/ARM_CORTEXM/tbx_port.c"
26+
"${CMAKE_CURRENT_LIST_DIR}/source/port/ARM_CORTEXM/GCC/tbx_comp.s"
2727
)
2828

2929
target_include_directories(microtbx-cortexm INTERFACE
@@ -35,7 +35,7 @@ target_include_directories(microtbx-cortexm INTERFACE
3535
add_library(microtbx-rp2040 INTERFACE)
3636

3737
target_sources(microtbx-rp2040 INTERFACE
38-
"${CMAKE_CURRENT_LIST_DIR}/source/port/RP2040/tbxport.c"
38+
"${CMAKE_CURRENT_LIST_DIR}/source/port/RP2040/tbx_port.c"
3939
)
4040

4141
target_include_directories(microtbx-rp2040 INTERFACE
@@ -46,7 +46,7 @@ target_include_directories(microtbx-rp2040 INTERFACE
4646
add_library(microtbx-avr INTERFACE)
4747

4848
target_sources(microtbx-avr INTERFACE
49-
"${CMAKE_CURRENT_LIST_DIR}/source/port/AVR/GCC/tbxport.c"
49+
"${CMAKE_CURRENT_LIST_DIR}/source/port/AVR/GCC/tbx_port.c"
5050
)
5151

5252
target_include_directories(microtbx-avr INTERFACE
@@ -58,7 +58,7 @@ target_include_directories(microtbx-avr INTERFACE
5858
add_library(microtbx-linux INTERFACE)
5959

6060
target_sources(microtbx-linux INTERFACE
61-
"${CMAKE_CURRENT_LIST_DIR}/source/port/LINUX/tbxport.c"
61+
"${CMAKE_CURRENT_LIST_DIR}/source/port/LINUX/tbx_port.c"
6262
)
6363

6464
target_include_directories(microtbx-linux INTERFACE
@@ -69,7 +69,7 @@ target_include_directories(microtbx-linux INTERFACE
6969
add_library(microtbx-extra-freertos INTERFACE)
7070

7171
target_sources(microtbx-extra-freertos INTERFACE
72-
"${CMAKE_CURRENT_LIST_DIR}/source/extra/freertos/tbxfreertos.c"
72+
"${CMAKE_CURRENT_LIST_DIR}/source/extra/freertos/tbx_freertos.c"
7373
)
7474

7575
target_include_directories(microtbx-extra-freertos INTERFACE

docs/extra.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ FreeRTOS ships with a few different examples for heap management. Some allow jus
1616

1717
* `FreeRTOS/Source/portable/MemMang/`
1818

19-
The file `tbxfreertos.c` offers an alternative heap management implementation, using MicroTBX's memory pools. This allows you to dynamically allocate and release memory on the heap, for your application's FreeRTOS objects.
19+
The file `tbx_freertos.c` offers an alternative heap management implementation, using MicroTBX's memory pools. This allows you to dynamically allocate and release memory on the heap, for your application's FreeRTOS objects.
2020

21-
To use this heap management solution, you just need to remove the `heap_x.c` source file from your project and compile and link `tbxfreertos.c` instead.
21+
To use this heap management solution, you just need to remove the `heap_x.c` source file from your project and compile and link `tbx_freertos.c` instead.
2222

2323
### Assertions
2424

source/extra/freertos/tbxfreertos.c renamed to source/extra/freertos/tbx_freertos.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/************************************************************************************//**
2-
* \file tbxfreertos.c
2+
* \file tbx_freertos.c
33
* \brief Heap management source file for FreeRTOS based on MicroTBX.
44
* \internal
55
*----------------------------------------------------------------------------------------
@@ -149,4 +149,4 @@ void vPortFree(void * pv)
149149
} /*** end of vPortFree ***/
150150

151151

152-
/*********************************** end of tbxfreertos.c ******************************/
152+
/*********************************** end of tbx_freertos.c *****************************/

source/extra/freertos/tbxfreertos.h renamed to source/extra/freertos/tbx_freertos.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/************************************************************************************//**
2-
* \file tbxfreertos.h
2+
* \file tbx_freertos.h
33
* \brief MicroTBX support for FreeRTOS.
44
* \internal
55
*----------------------------------------------------------------------------------------
@@ -60,4 +60,4 @@
6060

6161

6262
#endif /* TBX_FREERTOS_H */
63-
/*********************************** end of tbxfreertos.h ******************************/
63+
/*********************************** end of tbx_freertos.h *****************************/

source/microtbx.h

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -52,16 +52,16 @@
5252
#else
5353
#include "tbx_conf.h" /* Standard MicroTBX configuration file */
5454
#endif /* PROJ_TBX_CONF_H */
55-
#include "tbxplatform.h" /* Platform specifics */
56-
#include "tbxport.h" /* MicroTBX port specifics */
57-
#include "tbxassert.h" /* Run-time assertions */
58-
#include "tbxcritsect.h" /* Critical sections */
59-
#include "tbxheap.h" /* Heap memory allocation */
60-
#include "tbxlist.h" /* Linked lists */
61-
#include "tbxmempool.h" /* Pool based heap memory manager */
62-
#include "tbxrandom.h" /* Random number generator */
63-
#include "tbxchecksum.h" /* Checksum module */
64-
#include "tbxcrypto.h" /* Cryptography module */
55+
#include "tbx_platform.h" /* Platform specifics */
56+
#include "tbx_port.h" /* MicroTBX port specifics */
57+
#include "tbx_assert.h" /* Run-time assertions */
58+
#include "tbx_critsect.h" /* Critical sections */
59+
#include "tbx_heap.h" /* Heap memory allocation */
60+
#include "tbx_list.h" /* Linked lists */
61+
#include "tbx_mempool.h" /* Pool based heap memory manager */
62+
#include "tbx_random.h" /* Random number generator */
63+
#include "tbx_checksum.h" /* Checksum module */
64+
#include "tbx_crypto.h" /* Cryptography module */
6565

6666

6767
#ifdef __cplusplus

source/port/ARM_CORTEXM/GCC/tbxcomp.s renamed to source/port/ARM_CORTEXM/GCC/tbx_comp.s

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/************************************************************************************//**
2-
* \file port/ARM_CORTEXM/GCC/tbxcomp.s
2+
* \file port/ARM_CORTEXM/GCC/tbx_comp.s
33
* \brief GCC compiler specifics of the port source file.
44
* \internal
55
*----------------------------------------------------------------------------------------
@@ -97,5 +97,5 @@ TbxPortInterruptsRestore:
9797
bx lr
9898

9999

100-
/*********************************** end of tbxcomp.s **********************************/
100+
/*********************************** end of tbx_comp.s *********************************/
101101

source/port/ARM_CORTEXM/IAR/tbxcomp.s renamed to source/port/ARM_CORTEXM/IAR/tbx_comp.s

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
;****************************************************************************************
2-
;* \file port/ARM_CORTEXM/IAR/tbxcomp.s
2+
;* \file port/ARM_CORTEXM/IAR/tbx_comp.s
33
;* \brief IAR compiler specifics of the port source file.
44
;* \internal
55
;*---------------------------------------------------------------------------------------
@@ -70,4 +70,4 @@ TbxPortInterruptsRestore
7070
7171
7272
END
73-
;*********************************** end of tbxcomp.s ***********************************
73+
;*********************************** end of tbx_comp.s **********************************

source/port/ARM_CORTEXM/Keil/tbxcomp.s

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
;****************************************************************************************
2-
;* \file port/ARM_CORTEXM/Keil/tbxcomp.s
2+
;* \file port/ARM_CORTEXM/Keil/tbx_comp.s
33
;* \brief Keil compiler specifics of the port source file.
44
;* \internal
55
;*---------------------------------------------------------------------------------------
@@ -88,4 +88,4 @@ TbxPortInterruptsRestore FUNCTION
8888

8989
9090
END
91-
;*********************************** end of tbxcomp.s ***********************************
91+
;*********************************** end of tbx_comp.s **********************************

source/port/ARM_CORTEXM/tbxport.c renamed to source/port/ARM_CORTEXM/tbx_port.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/************************************************************************************//**
2-
* \file port/ARM_CORTEXM/tbxport.c
2+
* \file port/ARM_CORTEXM/tbx_port.c
33
* \brief Port specifics source file.
44
* \internal
55
*----------------------------------------------------------------------------------------
@@ -49,4 +49,4 @@
4949
*/
5050

5151

52-
/*********************************** end of tbxport.c **********************************/
52+
/*********************************** end of tbx_port.c *********************************/

source/port/ARM_CORTEXM/tbxtypes.h renamed to source/port/ARM_CORTEXM/tbx_types.h

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/************************************************************************************//**
2-
* \file port/ARM_CORTEXM/tbxtypes.h
2+
* \file port/ARM_CORTEXM/tbx_types.h
33
* \brief Port specific types header file.
44
* \internal
55
*----------------------------------------------------------------------------------------
@@ -33,8 +33,8 @@
3333
*
3434
* \endinternal
3535
****************************************************************************************/
36-
#ifndef TBXTYPES_H
37-
#define TBXTYPES_H
36+
#ifndef TBX_TYPES_H
37+
#define TBX_TYPES_H
3838

3939
#ifdef __cplusplus
4040
extern "C" {
@@ -54,5 +54,5 @@ typedef uint32_t tTbxPortCpuSR;
5454
}
5555
#endif
5656

57-
#endif /* TBXTYPES_H */
58-
/*********************************** end of tbxtypes.h *********************************/
57+
#endif /* TBX_TYPES_H */
58+
/*********************************** end of tbx_types.h ********************************/

0 commit comments

Comments
 (0)