Introduces Regression for 32 and 64 bit threadx and smp kernel in Debug, MinSizeRel and Release configuration #4
No files matched your search
@@ -1,17 +1,19 @@
|
||||
set(MOONLIGHT_ROOT ${CMAKE_CURRENT_LIST_DIR})
|
||||
set(THREADX4TGFS_ROOT ${CMAKE_CURRENT_SOURCE_DIR}/../..)
|
||||
set(MOONLIGHT_SRC_DIR ${MOONLIGHT_ROOT}/src)
|
||||
set(MOONLIGHT_INC_DIR ${MOONLIGHT_ROOT}/inc)
|
||||
|
||||
set(MOONLIGHT_PLATFORM_SOURCES
|
||||
${THREADX4TGFS_ROOT}/port/picolibc/port.c
|
||||
${MOONLIGHT_ROOT}/bootup.c
|
||||
${MOONLIGHT_ROOT}/board.c
|
||||
${MOONLIGHT_ROOT}/trap_non_vectored.c
|
||||
${MOONLIGHT_ROOT}/exception.c
|
||||
${MOONLIGHT_ROOT}/vector_table.c)
|
||||
${MOONLIGHT_SRC_DIR}/bootup.c
|
||||
${MOONLIGHT_SRC_DIR}/board.c
|
||||
${MOONLIGHT_SRC_DIR}/trap_non_vectored.c
|
||||
${MOONLIGHT_SRC_DIR}/exception.c
|
||||
${MOONLIGHT_SRC_DIR}/vector_table.c)
|
||||
|
||||
add_library(moonlight_platform_defaults INTERFACE)
|
||||
target_include_directories(moonlight_platform_defaults INTERFACE
|
||||
${MOONLIGHT_ROOT}
|
||||
${MOONLIGHT_INC_DIR}
|
||||
${THREADX4TGFS_ROOT}/src)
|
||||
target_compile_options(moonlight_platform_defaults INTERFACE
|
||||
-ffreestanding
|
||||
@@ -39,7 +41,7 @@ target_link_libraries(moonlight_platform_common PUBLIC
|
||||
threadx)
|
||||
|
||||
add_library(moonlight_network_driver OBJECT
|
||||
${MOONLIGHT_ROOT}/mnrs_network_driver.c)
|
||||
${MOONLIGHT_SRC_DIR}/mnrs_network_driver.c)
|
||||
target_link_libraries(moonlight_network_driver PUBLIC
|
||||
moonlight_platform_defaults
|
||||
c
|
||||
|
||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -15,7 +15,7 @@
|
||||
#include "platform.h"
|
||||
|
||||
#define TICKNUM_PER_SECOND 32768
|
||||
#define TICKNUM_PER_TIMER (TICKNUM_PER_SECOND / 100) // ~ 1ms timer
|
||||
#define TICKNUM_PER_TIMER (TICKNUM_PER_SECOND / 1000) // ~ 1ms timer
|
||||
|
||||
static inline int hwtimer_init(void)
|
||||
{
|
||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -10,7 +10,7 @@ endif()
|
||||
|
||||
set(THREADX_SMP_CUSTOM_INC
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/inc
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../moonlight #needed for aclint (inter process interrupts)
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../moonlight/inc # needed for Moonlight SMP support headers
|
||||
)
|
||||
set(THREADX_SMP_CUSTOM_SRC
|
||||
src/tx_initialize_low_level.S
|
||||
|
||||
Reference in new issue
Block a user