File tree 1 file changed +3
-4
lines changed
1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change 19
19
message (STATUS "CMAKE_HOST_SYSTEM_NAME is others" )
20
20
endif ()
21
21
22
+ add_definitions (-D DISABLE_DEVICE_VDEV -D CPUEMU_CLOCK_BUG_FIX -DSEARCH_REGION_OPTIMIZE -DCPU_PERMISSION_OPTIMIZE -DDISABLE_SERIAL_CLOCK -DDISABLE_BUS_ACCESS_LOG -DOPTIMIZE_USE_ONLY_1CPU -DMINIMUM_DEVICE_CONFIG -DENABLE_REUSE_UDP_SOCKET -DEXDEV_ENABLE)
23
+
22
24
set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -g -Wall -Wunknown-pragmas -Wimplicit-int -Wtrigraphs -std=gnu99 -O3" )
23
25
24
26
@@ -128,7 +130,7 @@ target_sources(device PRIVATE
128
130
"${CORE_DIR} /device/peripheral/serial/fifo/serial_fifo.c"
129
131
"${TARGET_DIR} /device/device.c"
130
132
"${TARGET_DIR} /device/intc/intc.c"
131
- "${TARGET_DIR} /device/peripheral/timer/timer .c"
133
+ "${TARGET_DIR} /device/peripheral/timer/timer32 .c"
132
134
"${TARGET_DIR} /device/peripheral/serial/serial.c"
133
135
"${TARGET_DIR} /device/peripheral/can/can.c"
134
136
"${TARGET_DIR} /debugger/executor/concrete_executor/dbg_target_serial.c"
@@ -140,9 +142,6 @@ target_sources(device PRIVATE
140
142
"${CORE_DIR} /device/peripheral/athrill_device.c"
141
143
"${CORE_DIR} /device/peripheral/athrill_syscall_device.c"
142
144
"${CORE_DIR} /device/peripheral/athrill_mpthread.c"
143
- "${TARGET_DIR} /device/peripheral/vdev/vdev.c"
144
- "${TARGET_DIR} /device/peripheral/vdev/vdev_mmap.c"
145
- "${TARGET_DIR} /device/peripheral/vdev/vdev_udp.c"
146
145
)
147
146
endif ()
148
147
You can’t perform that action at this time.
0 commit comments