no message
This commit is contained in:
parent
465464de9f
commit
c0ea36b58f
|
@ -5,7 +5,7 @@
|
|||
<provider copy-of="extension" id="org.eclipse.cdt.ui.UserLanguageSettingsProvider"/>
|
||||
<provider-reference id="org.eclipse.cdt.core.ReferencedProjectsLanguageSettingsProvider" ref="shared-provider"/>
|
||||
<provider-reference id="org.eclipse.cdt.managedbuilder.core.MBSLanguageSettingsProvider" ref="shared-provider"/>
|
||||
<provider class="org.eclipse.cdt.managedbuilder.language.settings.providers.GCCBuiltinSpecsDetector" console="false" env-hash="842268059550569664" id="ilg.gnumcueclipse.managedbuild.cross.riscv.GCCBuiltinSpecsDetector" keep-relative-paths="false" name="CDT RISC-V Cross GCC Built-in Compiler Settings" parameter="${COMMAND} ${FLAGS} ${cross_toolchain_flags} -E -P -v -dD "${INPUTS}"" prefer-non-shared="true">
|
||||
<provider class="org.eclipse.cdt.managedbuilder.language.settings.providers.GCCBuiltinSpecsDetector" console="false" env-hash="-148882674934750304" id="ilg.gnumcueclipse.managedbuild.cross.riscv.GCCBuiltinSpecsDetector" keep-relative-paths="false" name="CDT RISC-V Cross GCC Built-in Compiler Settings" parameter="${COMMAND} ${FLAGS} ${cross_toolchain_flags} -E -P -v -dD "${INPUTS}"" prefer-non-shared="true">
|
||||
<language-scope id="org.eclipse.cdt.core.gcc"/>
|
||||
<language-scope id="org.eclipse.cdt.core.g++"/>
|
||||
</provider>
|
||||
|
|
|
@ -0,0 +1,18 @@
|
|||
/*
|
||||
* spi.h
|
||||
*
|
||||
* Created on: 2024年7月25日
|
||||
* Author: psx
|
||||
*/
|
||||
|
||||
#ifndef HARDWARE_INC_SPI_H_
|
||||
#define HARDWARE_INC_SPI_H_
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
#endif /* HARDWARE_INC_SPI_H_ */
|
|
@ -0,0 +1,8 @@
|
|||
/*
|
||||
* spi.c
|
||||
*
|
||||
* Created on: 2024年7月25日
|
||||
* Author: psx
|
||||
*/
|
||||
|
||||
|
|
@ -25,8 +25,8 @@ rt_mq_t mqSend = RT_NULL;
|
|||
rt_uint8_t Send_mq_Init(void)
|
||||
{
|
||||
mqSend = rt_mq_create("Send_mq",/* ÏûÏ¢¶ÓÁÐÃû×Ö */
|
||||
50, /* 消息的最大长度 */
|
||||
5, /* 消息队列的最大容量 */
|
||||
100, /* 消息的最大长度 */
|
||||
20, /* 消息队列的最大容量 */
|
||||
RT_IPC_FLAG_FIFO);/* ¶ÓÁÐģʽ FIFO(0x00)*/
|
||||
if (mqSend != RT_NULL)
|
||||
return 1;
|
||||
|
|
|
@ -38,6 +38,7 @@ void software_init()
|
|||
Send_mq_Init();
|
||||
Recv_thread_Init();
|
||||
Send_thread_Init();
|
||||
while (1);
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
Binary file not shown.
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1 @@
|
|||
Hardware/src/spi.o: ../Hardware/src/spi.c
|
Binary file not shown.
|
@ -12,7 +12,8 @@ C_SRCS += \
|
|||
../Hardware/src/J3_USART2.c \
|
||||
../Hardware/src/J4_UART8.c \
|
||||
../Hardware/src/J5-0_USART3.c \
|
||||
../Hardware/src/UART.c
|
||||
../Hardware/src/UART.c \
|
||||
../Hardware/src/spi.c
|
||||
|
||||
OBJS += \
|
||||
./Hardware/src/Android.o \
|
||||
|
@ -22,7 +23,8 @@ OBJS += \
|
|||
./Hardware/src/J3_USART2.o \
|
||||
./Hardware/src/J4_UART8.o \
|
||||
./Hardware/src/J5-0_USART3.o \
|
||||
./Hardware/src/UART.o
|
||||
./Hardware/src/UART.o \
|
||||
./Hardware/src/spi.o
|
||||
|
||||
C_DEPS += \
|
||||
./Hardware/src/Android.d \
|
||||
|
@ -32,7 +34,8 @@ C_DEPS += \
|
|||
./Hardware/src/J3_USART2.d \
|
||||
./Hardware/src/J4_UART8.d \
|
||||
./Hardware/src/J5-0_USART3.d \
|
||||
./Hardware/src/UART.d
|
||||
./Hardware/src/UART.d \
|
||||
./Hardware/src/spi.d
|
||||
|
||||
|
||||
# Each subdirectory must supply rules for building sources it contributes
|
||||
|
|
Binary file not shown.
BIN
obj/User/start.o
BIN
obj/User/start.o
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -61,7 +61,8 @@ void rt_hw_board_init()
|
|||
rt_components_board_init();
|
||||
#endif
|
||||
#if defined(RT_USING_USER_MAIN) && defined(RT_USING_HEAP)
|
||||
rt_system_heap_init(rt_heap_begin_get(), rt_heap_end_get());
|
||||
// rt_system_heap_init(rt_heap_begin_get(), rt_heap_end_get());
|
||||
rt_system_heap_init(HEAP_BEGIN, HEAP_END);
|
||||
#endif
|
||||
|
||||
#ifdef RT_USING_CONSOLE
|
||||
|
|
|
@ -25,8 +25,9 @@
|
|||
|
||||
extern int _ebss;
|
||||
#define HEAP_BEGIN ((void *)&_ebss)
|
||||
#define HEAP_END (SRAM_END-__stack_size)
|
||||
|
||||
//#define __stack_size 32768
|
||||
//#define HEAP_END ((void *)(SRAM_END-__stack_size))
|
||||
#define HEAP_END ((void *)SRAM_END)
|
||||
|
||||
|
||||
void rt_hw_board_init(void);
|
||||
|
|
Loading…
Reference in New Issue