Commit 61e2dfc6 authored by Michael Zehrer's avatar Michael Zehrer
Browse files

new default tuning for raspberry pi b3

parent 58423a08
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<tuning name="raspberrypi_b3" target="raspberry">
<tuning.description>
Default settings for the Raspberry Pi B3
</tuning.description>
<modules>
<!-- Nothing here -->
</modules>
<settings for="raspberry">
<set definition="RPI_BOARD" value="RASPBERRY_PI_B3" />
<set definition="RPI_ENABLE_FPU" value="true" />
</settings>
</tuning>
/**
* Generated on 2019-10-09 14:09
* DO NOT EDIT
*
* @brief automatically generated params header
*/
#ifndef ARCTOS_PARAMS_H
#define ARCTOS_PARAMS_H
#define ARCTOS_DEFAULT_TASK_PRIORITY 10
#define ARCTOS_DEFAULT_STACKSIZE 1024
#define ARCTOS_SCHEDULER_TIME_SLOT_SIZE 100000
#define RPI_ENABLE_FPU
#define RPI_BOARD RASPBERRY_PI_B3
#define RPI_DEBUG_SERIAL_IDX SERIAL_IDX1
#define ARCTOS_NUMBER_OF_CORES 4
#define ARCTOS_BOARDNAME Raspberry Pi B3
#define ARCTOS_SOC BCM2837
#endif /* ARCTOS_PARAMS_H */
\ No newline at end of file
/**
* Generated on 2019-10-09 14:09
* DO NOT EDIT
*
* @brief automatically generated params header
*/
#ifndef SERIAL_PARAMS_H
#define SERIAL_PARAMS_H
#define SERIAL_BUFFER_SIZE 256
#endif /* SERIAL_PARAMS_H */
\ No newline at end of file
2f4f24d694bf2079fcb66d71786bcc56f04b8b196d91b115c3e3cf2246a1e5da
\ No newline at end of file
#
# This script is automatically generated
# DO NOT EDIT
#
# Generated on 2019-10-09 14:09
#
set(ARCTOS_TARGET "raspberry")
############## BEGIN-MODULE: serial ##############
set(SERIAL_BUFFER_SIZE "256")
set(UNIT "module_serial")
add_library(${UNIT} OBJECT "${CMAKE_CURRENT_LIST_DIR}/serial/params.h")
add_subdirectory("${CMAKE_CURRENT_LIST_DIR}/../../modules/serial")
target_link_libraries(${UNIT} ${ARCTOS_INTERFACE})
############### END-MODULE: serial ###############
############ BEGIN-TARGET: raspberry #############
set(ARCTOS_DEFAULT_TASK_PRIORITY "10")
set(ARCTOS_DEFAULT_STACKSIZE "1024")
set(ARCTOS_SCHEDULER_TIME_SLOT_SIZE "100000")
set(RPI_ENABLE_FPU on)
set(RPI_BOARD "RASPBERRY_PI_B3")
set(RPI_DEBUG_SERIAL_IDX "SERIAL_IDX1")
set(ARCTOS_NUMBER_OF_CORES "4")
set(ARCTOS_BOARDNAME "Raspberry Pi B3")
set(ARCTOS_SOC "BCM2837")
########### BEGIN-SEGMENT: bare-metal ############
########### BEGIN-SEGMENT: independent ###########
set(UNIT "segment_independent")
add_library(${UNIT} OBJECT "${CMAKE_CURRENT_LIST_DIR}/arctos/params.h")
add_subdirectory("${CMAKE_CURRENT_LIST_DIR}/../../core/independent")
target_link_libraries(${UNIT} ${ARCTOS_INTERFACE})
############ END-SEGMENT: independent ############
set(UNIT "segment_bare-metal")
add_library(${UNIT} OBJECT "${CMAKE_CURRENT_LIST_DIR}/arctos/params.h")
add_subdirectory("${CMAKE_CURRENT_LIST_DIR}/../../core/bare-metal")
target_link_libraries(${UNIT} segment_independent)
############ END-SEGMENT: bare-metal #############
set(UNIT "target_raspberry")
add_library(${UNIT} OBJECT "${CMAKE_CURRENT_LIST_DIR}/arctos/params.h")
add_subdirectory("${CMAKE_CURRENT_LIST_DIR}/../../ports/raspberry")
target_link_libraries(${UNIT} segment_bare-metal)
############# END-TARGET: raspberry ##############
add_library(${ARCTOS_LIB_TARGET} STATIC
$<TARGET_OBJECTS:module_serial>
$<TARGET_OBJECTS:segment_independent>
$<TARGET_OBJECTS:segment_bare-metal>
$<TARGET_OBJECTS:target_raspberry>
)
target_link_libraries(${ARCTOS_LIB_TARGET} ${ARCTOS_INTERFACE})
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment