修复 W806 编译问题,移除过时的W801_Devcie模块的编译

This commit is contained in:
李昂 2024-02-10 23:36:24 +08:00
parent 0036481921
commit 40840adc89
3 changed files with 6 additions and 79 deletions

View File

@ -159,38 +159,6 @@
</VirtualDirectory>
<VirtualDirectory Name="pikascript">
<VirtualDirectory Name="pikascript-lib">
<VirtualDirectory Name="W801Device">
<File Name="pikascript/pikascript-lib/W801Device/fifo.c">
<FileOption/>
</File>
<File Name="pikascript/pikascript-lib/W801Device/fifo.h">
<FileOption/>
</File>
<File Name="pikascript/pikascript-lib/W801Device/W801_ADC.c">
<FileOption/>
</File>
<File Name="pikascript/pikascript-lib/W801Device/W801_common.c">
<FileOption/>
</File>
<File Name="pikascript/pikascript-lib/W801Device/W801_common.h">
<FileOption/>
</File>
<File Name="pikascript/pikascript-lib/W801Device/W801_GPIO.c">
<FileOption/>
</File>
<File Name="pikascript/pikascript-lib/W801Device/W801_IIC.c">
<FileOption/>
</File>
<File Name="pikascript/pikascript-lib/W801Device/W801_PWM.c">
<FileOption/>
</File>
<File Name="pikascript/pikascript-lib/W801Device/W801_Time.c">
<FileOption/>
</File>
<File Name="pikascript/pikascript-lib/W801Device/W801_Uart.c">
<FileOption/>
</File>
</VirtualDirectory>
<VirtualDirectory Name="PikaStdDevice">
<File Name="pikascript/pikascript-lib/PikaStdDevice/PikaStdDevice_ADC.c">
<FileOption/>

View File

@ -10,7 +10,7 @@ ProjectPath :=./
IntermediateDirectory :=Obj
OutDir :=$(IntermediateDirectory)
User :=lyon
Date :=19/09/2022
Date :=10/02/2024
CDKPath :=D:/C-Sky/CDK
ToolchainPath :=D:/C-Sky/CDKRepo/Toolchain/CKV2ElfMinilib/V3.10.29/R/
LinkerName :=csky-elfabiv2-gcc
@ -77,10 +77,9 @@ Objects0=$(IntermediateDirectory)/src_main$(ObjectSuffix) $(IntermediateDirector
$(IntermediateDirectory)/pikascript-core_dataArgs$(ObjectSuffix) $(IntermediateDirectory)/pikascript-core_dataLink$(ObjectSuffix) $(IntermediateDirectory)/pikascript-core_dataLinkNode$(ObjectSuffix) $(IntermediateDirectory)/pikascript-core_dataMemory$(ObjectSuffix) $(IntermediateDirectory)/pikascript-core_dataQueue$(ObjectSuffix) $(IntermediateDirectory)/pikascript-core_dataQueueObj$(ObjectSuffix) $(IntermediateDirectory)/pikascript-core_dataStack$(ObjectSuffix) $(IntermediateDirectory)/pikascript-core_dataString$(ObjectSuffix)
Objects1=$(IntermediateDirectory)/pikascript-core_dataStrs$(ObjectSuffix) $(IntermediateDirectory)/pikascript-core_PikaCompiler$(ObjectSuffix) \
$(IntermediateDirectory)/pikascript-core_PikaObj$(ObjectSuffix) $(IntermediateDirectory)/pikascript-core_PikaParser$(ObjectSuffix) $(IntermediateDirectory)/pikascript-core_PikaPlatform$(ObjectSuffix) $(IntermediateDirectory)/pikascript-core_PikaVM$(ObjectSuffix) $(IntermediateDirectory)/pikascript-core_TinyObj$(ObjectSuffix) $(IntermediateDirectory)/W801Device_fifo$(ObjectSuffix) $(IntermediateDirectory)/W801Device_W801_ADC$(ObjectSuffix) $(IntermediateDirectory)/W801Device_W801_common$(ObjectSuffix) $(IntermediateDirectory)/W801Device_W801_GPIO$(ObjectSuffix) $(IntermediateDirectory)/W801Device_W801_IIC$(ObjectSuffix) \
$(IntermediateDirectory)/W801Device_W801_PWM$(ObjectSuffix) $(IntermediateDirectory)/W801Device_W801_Time$(ObjectSuffix) $(IntermediateDirectory)/W801Device_W801_Uart$(ObjectSuffix) $(IntermediateDirectory)/PikaStdDevice_PikaStdDevice_ADC$(ObjectSuffix) $(IntermediateDirectory)/PikaStdDevice_PikaStdDevice_BaseDev$(ObjectSuffix) $(IntermediateDirectory)/PikaStdDevice_PikaStdDevice_CAN$(ObjectSuffix) $(IntermediateDirectory)/PikaStdDevice_PikaStdDevice_GPIO$(ObjectSuffix) $(IntermediateDirectory)/PikaStdDevice_PikaStdDevice_IIC$(ObjectSuffix) $(IntermediateDirectory)/PikaStdDevice_PikaStdDevice_PWM$(ObjectSuffix) $(IntermediateDirectory)/PikaStdDevice_PikaStdDevice_SPI$(ObjectSuffix) \
$(IntermediateDirectory)/PikaStdDevice_PikaStdDevice_Time$(ObjectSuffix) $(IntermediateDirectory)/PikaStdDevice_PikaStdDevice_UART$(ObjectSuffix) $(IntermediateDirectory)/PikaStdLib_PikaDebuger_Debuger$(ObjectSuffix) $(IntermediateDirectory)/PikaStdLib_PikaStdData_Dict$(ObjectSuffix) $(IntermediateDirectory)/PikaStdLib_PikaStdData_List$(ObjectSuffix) $(IntermediateDirectory)/PikaStdLib_PikaStdData_String$(ObjectSuffix) $(IntermediateDirectory)/PikaStdLib_PikaStdData_Utils$(ObjectSuffix) $(IntermediateDirectory)/PikaStdLib_PikaStdLib_MemChecker$(ObjectSuffix) $(IntermediateDirectory)/PikaStdLib_PikaStdLib_RangeObj$(ObjectSuffix) $(IntermediateDirectory)/PikaStdLib_PikaStdLib_StringObj$(ObjectSuffix) \
$(IntermediateDirectory)/PikaStdLib_PikaStdLib_SysObj$(ObjectSuffix) $(IntermediateDirectory)/PikaStdLib_PikaStdTask_Task$(ObjectSuffix) $(IntermediateDirectory)/PikaStdLib_PikaStdData_ByteArray$(ObjectSuffix) $(IntermediateDirectory)/PikaStdLib_PikaStdData_FILEIO$(ObjectSuffix) $(IntermediateDirectory)/PikaStdLib_PikaStdData_Tuple$(ObjectSuffix) $(IntermediateDirectory)/__rt_entry$(ObjectSuffix)
$(IntermediateDirectory)/pikascript-core_PikaObj$(ObjectSuffix) $(IntermediateDirectory)/pikascript-core_PikaParser$(ObjectSuffix) $(IntermediateDirectory)/pikascript-core_PikaPlatform$(ObjectSuffix) $(IntermediateDirectory)/pikascript-core_PikaVM$(ObjectSuffix) $(IntermediateDirectory)/pikascript-core_TinyObj$(ObjectSuffix) $(IntermediateDirectory)/PikaStdDevice_PikaStdDevice_ADC$(ObjectSuffix) $(IntermediateDirectory)/PikaStdDevice_PikaStdDevice_BaseDev$(ObjectSuffix) $(IntermediateDirectory)/PikaStdDevice_PikaStdDevice_CAN$(ObjectSuffix) $(IntermediateDirectory)/PikaStdDevice_PikaStdDevice_GPIO$(ObjectSuffix) $(IntermediateDirectory)/PikaStdDevice_PikaStdDevice_IIC$(ObjectSuffix) \
$(IntermediateDirectory)/PikaStdDevice_PikaStdDevice_PWM$(ObjectSuffix) $(IntermediateDirectory)/PikaStdDevice_PikaStdDevice_SPI$(ObjectSuffix) $(IntermediateDirectory)/PikaStdDevice_PikaStdDevice_Time$(ObjectSuffix) $(IntermediateDirectory)/PikaStdDevice_PikaStdDevice_UART$(ObjectSuffix) $(IntermediateDirectory)/PikaStdLib_PikaDebuger_Debuger$(ObjectSuffix) $(IntermediateDirectory)/PikaStdLib_PikaStdData_Dict$(ObjectSuffix) $(IntermediateDirectory)/PikaStdLib_PikaStdData_List$(ObjectSuffix) $(IntermediateDirectory)/PikaStdLib_PikaStdData_String$(ObjectSuffix) $(IntermediateDirectory)/PikaStdLib_PikaStdData_Utils$(ObjectSuffix) $(IntermediateDirectory)/PikaStdLib_PikaStdLib_MemChecker$(ObjectSuffix) \
$(IntermediateDirectory)/PikaStdLib_PikaStdLib_RangeObj$(ObjectSuffix) $(IntermediateDirectory)/PikaStdLib_PikaStdLib_StringObj$(ObjectSuffix) $(IntermediateDirectory)/PikaStdLib_PikaStdLib_SysObj$(ObjectSuffix) $(IntermediateDirectory)/PikaStdLib_PikaStdTask_Task$(ObjectSuffix) $(IntermediateDirectory)/PikaStdLib_PikaStdData_ByteArray$(ObjectSuffix) $(IntermediateDirectory)/PikaStdLib_PikaStdData_FILEIO$(ObjectSuffix) $(IntermediateDirectory)/PikaStdLib_PikaStdData_Tuple$(ObjectSuffix) $(IntermediateDirectory)/__rt_entry$(ObjectSuffix)
@ -383,46 +382,6 @@ $(IntermediateDirectory)/pikascript-core_TinyObj$(ObjectSuffix): pikascript/pika
Lst/pikascript-core_TinyObj$(PreprocessSuffix): pikascript/pikascript-core/TinyObj.c
$(CC) $(CFLAGS)$(IncludeCPath) $(PreprocessOnlySwitch) $(OutputSwitch) Lst/pikascript-core_TinyObj$(PreprocessSuffix) pikascript/pikascript-core/TinyObj.c
$(IntermediateDirectory)/W801Device_fifo$(ObjectSuffix): pikascript/pikascript-lib/W801Device/fifo.c
$(CC) $(SourceSwitch) pikascript/pikascript-lib/W801Device/fifo.c $(CFLAGS) -MMD -MP -MT$(IntermediateDirectory)/W801Device_fifo$(ObjectSuffix) -MF$(IntermediateDirectory)/W801Device_fifo$(DependSuffix) $(ObjectSwitch)$(IntermediateDirectory)/W801Device_fifo$(ObjectSuffix) $(IncludeCPath) $(IncludePackagePath)
Lst/W801Device_fifo$(PreprocessSuffix): pikascript/pikascript-lib/W801Device/fifo.c
$(CC) $(CFLAGS)$(IncludeCPath) $(PreprocessOnlySwitch) $(OutputSwitch) Lst/W801Device_fifo$(PreprocessSuffix) pikascript/pikascript-lib/W801Device/fifo.c
$(IntermediateDirectory)/W801Device_W801_ADC$(ObjectSuffix): pikascript/pikascript-lib/W801Device/W801_ADC.c
$(CC) $(SourceSwitch) pikascript/pikascript-lib/W801Device/W801_ADC.c $(CFLAGS) -MMD -MP -MT$(IntermediateDirectory)/W801Device_W801_ADC$(ObjectSuffix) -MF$(IntermediateDirectory)/W801Device_W801_ADC$(DependSuffix) $(ObjectSwitch)$(IntermediateDirectory)/W801Device_W801_ADC$(ObjectSuffix) $(IncludeCPath) $(IncludePackagePath)
Lst/W801Device_W801_ADC$(PreprocessSuffix): pikascript/pikascript-lib/W801Device/W801_ADC.c
$(CC) $(CFLAGS)$(IncludeCPath) $(PreprocessOnlySwitch) $(OutputSwitch) Lst/W801Device_W801_ADC$(PreprocessSuffix) pikascript/pikascript-lib/W801Device/W801_ADC.c
$(IntermediateDirectory)/W801Device_W801_common$(ObjectSuffix): pikascript/pikascript-lib/W801Device/W801_common.c
$(CC) $(SourceSwitch) pikascript/pikascript-lib/W801Device/W801_common.c $(CFLAGS) -MMD -MP -MT$(IntermediateDirectory)/W801Device_W801_common$(ObjectSuffix) -MF$(IntermediateDirectory)/W801Device_W801_common$(DependSuffix) $(ObjectSwitch)$(IntermediateDirectory)/W801Device_W801_common$(ObjectSuffix) $(IncludeCPath) $(IncludePackagePath)
Lst/W801Device_W801_common$(PreprocessSuffix): pikascript/pikascript-lib/W801Device/W801_common.c
$(CC) $(CFLAGS)$(IncludeCPath) $(PreprocessOnlySwitch) $(OutputSwitch) Lst/W801Device_W801_common$(PreprocessSuffix) pikascript/pikascript-lib/W801Device/W801_common.c
$(IntermediateDirectory)/W801Device_W801_GPIO$(ObjectSuffix): pikascript/pikascript-lib/W801Device/W801_GPIO.c
$(CC) $(SourceSwitch) pikascript/pikascript-lib/W801Device/W801_GPIO.c $(CFLAGS) -MMD -MP -MT$(IntermediateDirectory)/W801Device_W801_GPIO$(ObjectSuffix) -MF$(IntermediateDirectory)/W801Device_W801_GPIO$(DependSuffix) $(ObjectSwitch)$(IntermediateDirectory)/W801Device_W801_GPIO$(ObjectSuffix) $(IncludeCPath) $(IncludePackagePath)
Lst/W801Device_W801_GPIO$(PreprocessSuffix): pikascript/pikascript-lib/W801Device/W801_GPIO.c
$(CC) $(CFLAGS)$(IncludeCPath) $(PreprocessOnlySwitch) $(OutputSwitch) Lst/W801Device_W801_GPIO$(PreprocessSuffix) pikascript/pikascript-lib/W801Device/W801_GPIO.c
$(IntermediateDirectory)/W801Device_W801_IIC$(ObjectSuffix): pikascript/pikascript-lib/W801Device/W801_IIC.c
$(CC) $(SourceSwitch) pikascript/pikascript-lib/W801Device/W801_IIC.c $(CFLAGS) -MMD -MP -MT$(IntermediateDirectory)/W801Device_W801_IIC$(ObjectSuffix) -MF$(IntermediateDirectory)/W801Device_W801_IIC$(DependSuffix) $(ObjectSwitch)$(IntermediateDirectory)/W801Device_W801_IIC$(ObjectSuffix) $(IncludeCPath) $(IncludePackagePath)
Lst/W801Device_W801_IIC$(PreprocessSuffix): pikascript/pikascript-lib/W801Device/W801_IIC.c
$(CC) $(CFLAGS)$(IncludeCPath) $(PreprocessOnlySwitch) $(OutputSwitch) Lst/W801Device_W801_IIC$(PreprocessSuffix) pikascript/pikascript-lib/W801Device/W801_IIC.c
$(IntermediateDirectory)/W801Device_W801_PWM$(ObjectSuffix): pikascript/pikascript-lib/W801Device/W801_PWM.c
$(CC) $(SourceSwitch) pikascript/pikascript-lib/W801Device/W801_PWM.c $(CFLAGS) -MMD -MP -MT$(IntermediateDirectory)/W801Device_W801_PWM$(ObjectSuffix) -MF$(IntermediateDirectory)/W801Device_W801_PWM$(DependSuffix) $(ObjectSwitch)$(IntermediateDirectory)/W801Device_W801_PWM$(ObjectSuffix) $(IncludeCPath) $(IncludePackagePath)
Lst/W801Device_W801_PWM$(PreprocessSuffix): pikascript/pikascript-lib/W801Device/W801_PWM.c
$(CC) $(CFLAGS)$(IncludeCPath) $(PreprocessOnlySwitch) $(OutputSwitch) Lst/W801Device_W801_PWM$(PreprocessSuffix) pikascript/pikascript-lib/W801Device/W801_PWM.c
$(IntermediateDirectory)/W801Device_W801_Time$(ObjectSuffix): pikascript/pikascript-lib/W801Device/W801_Time.c
$(CC) $(SourceSwitch) pikascript/pikascript-lib/W801Device/W801_Time.c $(CFLAGS) -MMD -MP -MT$(IntermediateDirectory)/W801Device_W801_Time$(ObjectSuffix) -MF$(IntermediateDirectory)/W801Device_W801_Time$(DependSuffix) $(ObjectSwitch)$(IntermediateDirectory)/W801Device_W801_Time$(ObjectSuffix) $(IncludeCPath) $(IncludePackagePath)
Lst/W801Device_W801_Time$(PreprocessSuffix): pikascript/pikascript-lib/W801Device/W801_Time.c
$(CC) $(CFLAGS)$(IncludeCPath) $(PreprocessOnlySwitch) $(OutputSwitch) Lst/W801Device_W801_Time$(PreprocessSuffix) pikascript/pikascript-lib/W801Device/W801_Time.c
$(IntermediateDirectory)/W801Device_W801_Uart$(ObjectSuffix): pikascript/pikascript-lib/W801Device/W801_Uart.c
$(CC) $(SourceSwitch) pikascript/pikascript-lib/W801Device/W801_Uart.c $(CFLAGS) -MMD -MP -MT$(IntermediateDirectory)/W801Device_W801_Uart$(ObjectSuffix) -MF$(IntermediateDirectory)/W801Device_W801_Uart$(DependSuffix) $(ObjectSwitch)$(IntermediateDirectory)/W801Device_W801_Uart$(ObjectSuffix) $(IncludeCPath) $(IncludePackagePath)
Lst/W801Device_W801_Uart$(PreprocessSuffix): pikascript/pikascript-lib/W801Device/W801_Uart.c
$(CC) $(CFLAGS)$(IncludeCPath) $(PreprocessOnlySwitch) $(OutputSwitch) Lst/W801Device_W801_Uart$(PreprocessSuffix) pikascript/pikascript-lib/W801Device/W801_Uart.c
$(IntermediateDirectory)/PikaStdDevice_PikaStdDevice_ADC$(ObjectSuffix): pikascript/pikascript-lib/PikaStdDevice/PikaStdDevice_ADC.c
$(CC) $(SourceSwitch) pikascript/pikascript-lib/PikaStdDevice/PikaStdDevice_ADC.c $(CFLAGS) -MMD -MP -MT$(IntermediateDirectory)/PikaStdDevice_PikaStdDevice_ADC$(ObjectSuffix) -MF$(IntermediateDirectory)/PikaStdDevice_PikaStdDevice_ADC$(DependSuffix) $(ObjectSwitch)$(IntermediateDirectory)/PikaStdDevice_PikaStdDevice_ADC$(ObjectSuffix) $(IncludeCPath) $(IncludePackagePath)
Lst/PikaStdDevice_PikaStdDevice_ADC$(PreprocessSuffix): pikascript/pikascript-lib/PikaStdDevice/PikaStdDevice_ADC.c

View File

@ -61,11 +61,11 @@ __attribute__((isr)) void CORET_IRQHandler(void)
//}
///*********************End**********************/
//
extern ADC_HandleTypeDef hadc;
//extern ADC_HandleTypeDef hadc;
///********************ADC IRQ******************/
__attribute__((isr)) void ADC_IRQHandler(void)
{
HAL_ADC_IRQHandler(&hadc);
// HAL_ADC_IRQHandler(&hadc);
}
///*********************End**********************/
//