@@ -11,4 +11,4 set(LFR_BP_SRC ${CMAKE_CURRENT_SOURCE_DI | |||||
11 | SET(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_CURRENT_SOURCE_DIR}/sparc/") |
|
11 | SET(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_CURRENT_SOURCE_DIR}/sparc/") | |
12 |
|
12 | |||
13 | add_subdirectory(src) |
|
13 | add_subdirectory(src) | |
14 | add_subdirectory(timegen) |
|
14 | #add_subdirectory(timegen) |
@@ -213,7 +213,7 static void faultTolerantScheme() | |||||
213 | } |
|
213 | } | |
214 | else |
|
214 | else | |
215 | { |
|
215 | { | |
216 |
PRINTF("in faultTolerantScheme *** |
|
216 | PRINTF("in faultTolerantScheme *** Leon3FT not detected\n"); | |
217 | PRINTF2(" *** vendorID = 0x%x, deviceId = 0x%x\n", vendorId, deviceId); |
|
217 | PRINTF2(" *** vendorID = 0x%x, deviceId = 0x%x\n", vendorId, deviceId); | |
218 | } |
|
218 | } | |
219 | } |
|
219 | } |
@@ -1,7 +1,7 | |||||
1 | # LOAD FSW USING LINK 1 |
|
1 | # LOAD FSW USING LINK 1 | |
2 | SpwPlugin0.StarDundeeSelectLinkNumber( 1 ) |
|
2 | SpwPlugin0.StarDundeeSelectLinkNumber( 1 ) | |
3 |
|
3 | |||
4 |
dsu3plugin0.openFile("/home/pleroy/DEV/DEV_PLE/ |
|
4 | dsu3plugin0.openFile("/home/pleroy/DEV/DEV_PLE/build-DEV_PLE-Desktop-Default/src/fsw") | |
5 | #dsu3plugin0.openFile("/opt/LFR/LFR-FSW/2.0.2.3/fsw") |
|
5 | #dsu3plugin0.openFile("/opt/LFR/LFR-FSW/2.0.2.3/fsw") | |
6 | dsu3plugin0.loadFile() |
|
6 | dsu3plugin0.loadFile() | |
7 |
|
7 |
@@ -4,5 +4,6 set(CMAKE_C_COMPILER /opt/rtems-4.10/bin | |||||
4 | set(CMAKE_CXX_COMPILER /opt/rtems-4.10/bin/sparc-rtems-g++) |
|
4 | set(CMAKE_CXX_COMPILER /opt/rtems-4.10/bin/sparc-rtems-g++) | |
5 | set(CMAKE_LINKER /opt/rtems-4.10/bin/sparc-rtems-g++) |
|
5 | set(CMAKE_LINKER /opt/rtems-4.10/bin/sparc-rtems-g++) | |
6 | SET(CMAKE_EXE_LINKER_FLAGS "-static") |
|
6 | SET(CMAKE_EXE_LINKER_FLAGS "-static") | |
|
7 | set(CMAKE_C_FLAGS_RELEASE "-O3") | |||
7 | set(CMAKE_C_LINK_EXECUTABLE "<CMAKE_LINKER> <FLAGS> <CMAKE_CXX_LINK_FLAGS> <LINK_FLAGS> <OBJECTS> -o <TARGET> <LINK_LIBRARIES>") |
|
8 | set(CMAKE_C_LINK_EXECUTABLE "<CMAKE_LINKER> <FLAGS> <CMAKE_CXX_LINK_FLAGS> <LINK_FLAGS> <OBJECTS> -o <TARGET> <LINK_LIBRARIES>") | |
8 | include_directories("/opt/rtems-4.10/sparc-rtems/leon3/lib/include") |
|
9 | include_directories("/opt/rtems-4.10/sparc-rtems/leon3/lib/include") |
@@ -1,5 +1,5 | |||||
1 | cmake_minimum_required (VERSION 2.6) |
|
1 | cmake_minimum_required (VERSION 2.6) | |
2 |
project ( |
|
2 | project (fsw) | |
3 |
|
3 | |||
4 | include(sparc-rtems) |
|
4 | include(sparc-rtems) | |
5 |
|
5 | |||
@@ -102,4 +102,4 add_definitions(-DSW_VERSION_N2=${SW_VER | |||||
102 | add_definitions(-DSW_VERSION_N3=${SW_VERSION_N3}) |
|
102 | add_definitions(-DSW_VERSION_N3=${SW_VERSION_N3}) | |
103 | add_definitions(-DSW_VERSION_N4=${SW_VERSION_N4}) |
|
103 | add_definitions(-DSW_VERSION_N4=${SW_VERSION_N4}) | |
104 |
|
104 | |||
105 |
add_executable( |
|
105 | add_executable(fsw ${SOURCES}) |
@@ -314,7 +314,6 void init_local_mode_parameters( void ) | |||||
314 |
|
314 | |||
315 | BOOT_PRINTF1("local_sbm1_nb_cwf_max %d \n", param_local.local_sbm1_nb_cwf_max) |
|
315 | BOOT_PRINTF1("local_sbm1_nb_cwf_max %d \n", param_local.local_sbm1_nb_cwf_max) | |
316 | BOOT_PRINTF1("local_sbm2_nb_cwf_max %d \n", param_local.local_sbm2_nb_cwf_max) |
|
316 | BOOT_PRINTF1("local_sbm2_nb_cwf_max %d \n", param_local.local_sbm2_nb_cwf_max) | |
317 | BOOT_PRINTF1("nb_interrupt_f0_MAX = %d\n", param_local.local_nb_interrupt_f0_MAX) |
|
|||
318 |
|
317 | |||
319 | // init sequence counters |
|
318 | // init sequence counters | |
320 |
|
319 |
@@ -1390,9 +1390,9 void floatToChar( float value, unsigned | |||||
1390 |
|
1390 | |||
1391 | valuePtr = (unsigned char*) &value; |
|
1391 | valuePtr = (unsigned char*) &value; | |
1392 | ptr[0] = valuePtr[0]; |
|
1392 | ptr[0] = valuePtr[0]; | |
1393 |
ptr[1] = valuePtr[ |
|
1393 | ptr[1] = valuePtr[1]; | |
1394 |
ptr[2] = valuePtr[ |
|
1394 | ptr[2] = valuePtr[2]; | |
1395 |
ptr[3] = valuePtr[ |
|
1395 | ptr[3] = valuePtr[3]; | |
1396 | } |
|
1396 | } | |
1397 |
|
1397 | |||
1398 | //********** |
|
1398 | //********** |
1 | NO CONTENT: file was removed |
|
NO CONTENT: file was removed |
1 | NO CONTENT: file was removed |
|
NO CONTENT: file was removed |
1 | NO CONTENT: file was removed |
|
NO CONTENT: file was removed |
1 | NO CONTENT: file was removed |
|
NO CONTENT: file was removed |
1 | NO CONTENT: file was removed |
|
NO CONTENT: file was removed |
1 | NO CONTENT: file was removed |
|
NO CONTENT: file was removed |
1 | NO CONTENT: file was removed |
|
NO CONTENT: file was removed |
1 | NO CONTENT: file was removed |
|
NO CONTENT: file was removed |
1 | NO CONTENT: file was removed |
|
NO CONTENT: file was removed |
1 | NO CONTENT: file was removed |
|
NO CONTENT: file was removed |
1 | NO CONTENT: file was removed |
|
NO CONTENT: file was removed |
General Comments 0
You need to be logged in to leave comments.
Login now