From 8889f4a5edad040f47c3fcb717053352ab0d05b8 Mon Sep 17 00:00:00 2001 From: Jorawar Singh Date: Tue, 4 Jul 2017 15:14:46 +0530 Subject: Fixed standalone conversion errors with RPi files --- .../NotYetDone/INIT_FillSCI2LivCDirs.backup | 316 --------------------- .../rasberrypi/NotYetDone/NotToDo/RPI_adress.c | 13 - .../rasberrypi/NotYetDone/NotToDo/RPI_analogRead.c | 13 - .../NotYetDone/NotToDo/RPI_analogWrite.c | 13 - .../rasberrypi/NotYetDone/NotToDo/RPI_commande.c | 13 - .../rasberrypi/NotYetDone/NotToDo/RPI_i2cdetect.c | 13 - .../rasberrypi/NotYetDone/NotToDo/RPI_send.c | 13 - .../NotYetDone/NotToDo/backup/ISR/i16RPIPinISRs.c | 25 -- .../NotToDo/backup/gpio/RPI_DigitalRead.c | 24 -- .../NotToDo/backup/gpio/RPI_DigitalWrite.c | 26 -- .../NotYetDone/NotToDo/backup/gpio/RPI_pinMode.c | 40 --- .../NotYetDone/NotToDo/backup/pwm/RPI_pwmClock.c | 27 -- .../NotYetDone/NotToDo/backup/pwm/RPI_pwmMode.c | 28 -- .../NotYetDone/NotToDo/backup/pwm/RPI_pwmRange.c | 25 -- .../NotYetDone/NotToDo/backup/pwm/RPI_pwmWrite.c | 26 -- .../NotToDo/backup/serial/dRPISerialSendDataa.c | 27 -- .../NotToDo/backup/serial/dRPISerialSendDatas.c | 35 --- .../NotToDo/backup/serial/gRPISerialSendDatas.c | 27 -- .../NotToDo/backup/serial/i16RPISerialDataAvails.c | 25 -- .../NotToDo/backup/serial/i16RPISerialGetChars.c | 27 -- .../NotToDo/backup/serial/i16RPISerialSendDataa.c | 27 -- .../NotToDo/backup/serial/i16RPISerialSendDatas.c | 24 -- .../NotToDo/backup/serial/i8RPISerialSendDataa.c | 26 -- .../NotToDo/backup/serial/i8RPISerialSendDatas.c | 22 -- .../NotToDo/backup/serial/sRPISerialSendDataa.c | 27 -- .../NotToDo/backup/serial/sRPISerialSendDatas.c | 34 --- .../NotToDo/backup/serial/u16RPISerialSendDataa.c | 28 -- .../NotToDo/backup/serial/u16RPISerialSendDatas.c | 23 -- .../NotToDo/backup/serial/u16RPISerialSetups.c | 25 -- .../NotToDo/backup/serial/u8RPISerialCloses.c | 21 -- .../NotToDo/backup/serial/u8RPISerialFlushs.c | 21 -- .../NotToDo/backup/serial/u8RPISerialSendChars.c | 21 -- .../NotToDo/backup/serial/u8RPISerialSendDataa.c | 27 -- .../NotToDo/backup/serial/u8RPISerialSendDatas.c | 22 -- .../NotToDo/backup/threading/u16RPIThreadCreates.c | 24 -- .../NotYetDone/NotToDo/backup/timing/RPI_delay.c | 25 -- .../NotToDo/backup/timing/RPI_delayMicro.c | 22 -- .../NotYetDone/NotToDo/backup/timing/RPI_micros.c | 21 -- .../NotYetDone/NotToDo/backup/timing/RPI_millis.c | 21 -- .../hardware/rasberrypi/NotYetDone/NotToDo/raspi.c | 13 - .../rasberrypi/NotYetDone/NotToDo/raspi_close.c | 13 - .../rasberrypi/NotYetDone/SPI/RPI_SPIDataRW.c | 13 - .../rasberrypi/NotYetDone/SPI/RPI_SPISetup.c | 13 - .../lcd128x64/RPI_lcd128x64Orientation.c | 13 - .../NotYetDone/lcd128x64/RPI_lcd128x64circle.c | 13 - .../NotYetDone/lcd128x64/RPI_lcd128x64clear.c | 13 - .../NotYetDone/lcd128x64/RPI_lcd128x64ellipse.c | 13 - .../NotYetDone/lcd128x64/RPI_lcd128x64line.c | 13 - .../NotYetDone/lcd128x64/RPI_lcd128x64lineTo.c | 13 - .../NotYetDone/lcd128x64/RPI_lcd128x64point.c | 13 - .../NotYetDone/lcd128x64/RPI_lcd128x64putchar.c | 13 - .../NotYetDone/lcd128x64/RPI_lcd128x64puts.c | 13 - .../NotYetDone/lcd128x64/RPI_lcd128x64rectangle.c | 13 - .../NotYetDone/lcd128x64/RPI_lcd128x64setOrigin.c | 13 - .../NotYetDone/lcd128x64/RPI_lcd128x64setup.c | 13 - .../NotYetDone/multiThreading/u8RPI_locks.c | 13 - .../NotYetDone/multiThreading/u8RPI_prioritys.c | 13 - .../NotYetDone/multiThreading/u8RPI_unlocks.c | 13 - 58 files changed, 1464 deletions(-) delete mode 100644 2.3-1/src/c/hardware/rasberrypi/NotYetDone/INIT_FillSCI2LivCDirs.backup delete mode 100644 2.3-1/src/c/hardware/rasberrypi/NotYetDone/NotToDo/RPI_adress.c delete mode 100644 2.3-1/src/c/hardware/rasberrypi/NotYetDone/NotToDo/RPI_analogRead.c delete mode 100644 2.3-1/src/c/hardware/rasberrypi/NotYetDone/NotToDo/RPI_analogWrite.c delete mode 100644 2.3-1/src/c/hardware/rasberrypi/NotYetDone/NotToDo/RPI_commande.c delete mode 100644 2.3-1/src/c/hardware/rasberrypi/NotYetDone/NotToDo/RPI_i2cdetect.c delete mode 100644 2.3-1/src/c/hardware/rasberrypi/NotYetDone/NotToDo/RPI_send.c delete mode 100644 2.3-1/src/c/hardware/rasberrypi/NotYetDone/NotToDo/backup/ISR/i16RPIPinISRs.c delete mode 100644 2.3-1/src/c/hardware/rasberrypi/NotYetDone/NotToDo/backup/gpio/RPI_DigitalRead.c delete mode 100644 2.3-1/src/c/hardware/rasberrypi/NotYetDone/NotToDo/backup/gpio/RPI_DigitalWrite.c delete mode 100644 2.3-1/src/c/hardware/rasberrypi/NotYetDone/NotToDo/backup/gpio/RPI_pinMode.c delete mode 100644 2.3-1/src/c/hardware/rasberrypi/NotYetDone/NotToDo/backup/pwm/RPI_pwmClock.c delete mode 100644 2.3-1/src/c/hardware/rasberrypi/NotYetDone/NotToDo/backup/pwm/RPI_pwmMode.c delete mode 100644 2.3-1/src/c/hardware/rasberrypi/NotYetDone/NotToDo/backup/pwm/RPI_pwmRange.c delete mode 100644 2.3-1/src/c/hardware/rasberrypi/NotYetDone/NotToDo/backup/pwm/RPI_pwmWrite.c delete mode 100644 2.3-1/src/c/hardware/rasberrypi/NotYetDone/NotToDo/backup/serial/dRPISerialSendDataa.c delete mode 100644 2.3-1/src/c/hardware/rasberrypi/NotYetDone/NotToDo/backup/serial/dRPISerialSendDatas.c delete mode 100644 2.3-1/src/c/hardware/rasberrypi/NotYetDone/NotToDo/backup/serial/gRPISerialSendDatas.c delete mode 100644 2.3-1/src/c/hardware/rasberrypi/NotYetDone/NotToDo/backup/serial/i16RPISerialDataAvails.c delete mode 100644 2.3-1/src/c/hardware/rasberrypi/NotYetDone/NotToDo/backup/serial/i16RPISerialGetChars.c delete mode 100644 2.3-1/src/c/hardware/rasberrypi/NotYetDone/NotToDo/backup/serial/i16RPISerialSendDataa.c delete mode 100644 2.3-1/src/c/hardware/rasberrypi/NotYetDone/NotToDo/backup/serial/i16RPISerialSendDatas.c delete mode 100644 2.3-1/src/c/hardware/rasberrypi/NotYetDone/NotToDo/backup/serial/i8RPISerialSendDataa.c delete mode 100644 2.3-1/src/c/hardware/rasberrypi/NotYetDone/NotToDo/backup/serial/i8RPISerialSendDatas.c delete mode 100644 2.3-1/src/c/hardware/rasberrypi/NotYetDone/NotToDo/backup/serial/sRPISerialSendDataa.c delete mode 100644 2.3-1/src/c/hardware/rasberrypi/NotYetDone/NotToDo/backup/serial/sRPISerialSendDatas.c delete mode 100644 2.3-1/src/c/hardware/rasberrypi/NotYetDone/NotToDo/backup/serial/u16RPISerialSendDataa.c delete mode 100644 2.3-1/src/c/hardware/rasberrypi/NotYetDone/NotToDo/backup/serial/u16RPISerialSendDatas.c delete mode 100644 2.3-1/src/c/hardware/rasberrypi/NotYetDone/NotToDo/backup/serial/u16RPISerialSetups.c delete mode 100644 2.3-1/src/c/hardware/rasberrypi/NotYetDone/NotToDo/backup/serial/u8RPISerialCloses.c delete mode 100644 2.3-1/src/c/hardware/rasberrypi/NotYetDone/NotToDo/backup/serial/u8RPISerialFlushs.c delete mode 100644 2.3-1/src/c/hardware/rasberrypi/NotYetDone/NotToDo/backup/serial/u8RPISerialSendChars.c delete mode 100644 2.3-1/src/c/hardware/rasberrypi/NotYetDone/NotToDo/backup/serial/u8RPISerialSendDataa.c delete mode 100644 2.3-1/src/c/hardware/rasberrypi/NotYetDone/NotToDo/backup/serial/u8RPISerialSendDatas.c delete mode 100644 2.3-1/src/c/hardware/rasberrypi/NotYetDone/NotToDo/backup/threading/u16RPIThreadCreates.c delete mode 100644 2.3-1/src/c/hardware/rasberrypi/NotYetDone/NotToDo/backup/timing/RPI_delay.c delete mode 100644 2.3-1/src/c/hardware/rasberrypi/NotYetDone/NotToDo/backup/timing/RPI_delayMicro.c delete mode 100644 2.3-1/src/c/hardware/rasberrypi/NotYetDone/NotToDo/backup/timing/RPI_micros.c delete mode 100644 2.3-1/src/c/hardware/rasberrypi/NotYetDone/NotToDo/backup/timing/RPI_millis.c delete mode 100644 2.3-1/src/c/hardware/rasberrypi/NotYetDone/NotToDo/raspi.c delete mode 100644 2.3-1/src/c/hardware/rasberrypi/NotYetDone/NotToDo/raspi_close.c delete mode 100644 2.3-1/src/c/hardware/rasberrypi/NotYetDone/SPI/RPI_SPIDataRW.c delete mode 100644 2.3-1/src/c/hardware/rasberrypi/NotYetDone/SPI/RPI_SPISetup.c delete mode 100644 2.3-1/src/c/hardware/rasberrypi/NotYetDone/lcd128x64/RPI_lcd128x64Orientation.c delete mode 100644 2.3-1/src/c/hardware/rasberrypi/NotYetDone/lcd128x64/RPI_lcd128x64circle.c delete mode 100644 2.3-1/src/c/hardware/rasberrypi/NotYetDone/lcd128x64/RPI_lcd128x64clear.c delete mode 100644 2.3-1/src/c/hardware/rasberrypi/NotYetDone/lcd128x64/RPI_lcd128x64ellipse.c delete mode 100644 2.3-1/src/c/hardware/rasberrypi/NotYetDone/lcd128x64/RPI_lcd128x64line.c delete mode 100644 2.3-1/src/c/hardware/rasberrypi/NotYetDone/lcd128x64/RPI_lcd128x64lineTo.c delete mode 100644 2.3-1/src/c/hardware/rasberrypi/NotYetDone/lcd128x64/RPI_lcd128x64point.c delete mode 100644 2.3-1/src/c/hardware/rasberrypi/NotYetDone/lcd128x64/RPI_lcd128x64putchar.c delete mode 100644 2.3-1/src/c/hardware/rasberrypi/NotYetDone/lcd128x64/RPI_lcd128x64puts.c delete mode 100644 2.3-1/src/c/hardware/rasberrypi/NotYetDone/lcd128x64/RPI_lcd128x64rectangle.c delete mode 100644 2.3-1/src/c/hardware/rasberrypi/NotYetDone/lcd128x64/RPI_lcd128x64setOrigin.c delete mode 100644 2.3-1/src/c/hardware/rasberrypi/NotYetDone/lcd128x64/RPI_lcd128x64setup.c delete mode 100644 2.3-1/src/c/hardware/rasberrypi/NotYetDone/multiThreading/u8RPI_locks.c delete mode 100644 2.3-1/src/c/hardware/rasberrypi/NotYetDone/multiThreading/u8RPI_prioritys.c delete mode 100644 2.3-1/src/c/hardware/rasberrypi/NotYetDone/multiThreading/u8RPI_unlocks.c (limited to '2.3-1/src/c/hardware/rasberrypi/NotYetDone') diff --git a/2.3-1/src/c/hardware/rasberrypi/NotYetDone/INIT_FillSCI2LivCDirs.backup b/2.3-1/src/c/hardware/rasberrypi/NotYetDone/INIT_FillSCI2LivCDirs.backup deleted file mode 100644 index c1db6097..00000000 --- a/2.3-1/src/c/hardware/rasberrypi/NotYetDone/INIT_FillSCI2LivCDirs.backup +++ /dev/null @@ -1,316 +0,0 @@ - -//------------------------------------ -//---- Class RPI_DigitalSetup -------- -//------------------------------------ -ClassName = 'RPI_DigitalSetup'; - -// --- Class Annotation. --- -PrintStringInfo(' Adding Class: '+ClassName+'.',GeneralReport,'file','y'); -ClassFileName = fullfile(SCI2CLibCAnnClsDir,ClassName+ExtensionCAnnCls); -PrintStringInfo('NIN= 2',ClassFileName,'file','y'); -PrintStringInfo('NOUT= 0 ',ClassFileName,'file','y'); -PrintStringInfo('OUT(1).TP= ''u8''',ClassFileName,'file','y'); -PrintStringInfo('OUT(1).SZ(1)= ''1''',ClassFileName,'file','y'); -PrintStringInfo('OUT(1).SZ(2)= ''1''',ClassFileName,'file','y'); - -// --- Function List Class. --- -ClassFileName = fullfile(SCI2CLibCFLClsDir,ClassName+ExtensionCFuncListCls); -PrintStringInfo(''+ArgSeparator+'',ClassFileName,'file','y'); - -// --- Annotation Function And Function List Function. --- -FunctionName = 'RPI_DigitalSetup'; -PrintStringInfo(' Adding Function: '+FunctionName+'.',GeneralReport,'file','y'); -INIT_GenAnnFLFunctions(FunctionName,SCI2CLibCAnnFunDir,ClassName,GeneralReport,ExtensionCAnnFun); -INIT_GenAnnFLFunctions(FunctionName,SCI2CLibCFLFunDir,ClassName,GeneralReport,ExtensionCFuncListFun); - -FunctionName = 'RPI_DigitalOut'; -PrintStringInfo(' Adding Function: '+FunctionName+'.',GeneralReport,'file','y'); -INIT_GenAnnFLFunctions(FunctionName,SCI2CLibCAnnFunDir,ClassName,GeneralReport,ExtensionCAnnFun); -INIT_GenAnnFLFunctions(FunctionName,SCI2CLibCFLFunDir,ClassName,GeneralReport,ExtensionCFuncListFun); - -FunctionName = 'RPI_HardPWMWrite'; -PrintStringInfo(' Adding Function: '+FunctionName+'.',GeneralReport,'file','y'); -INIT_GenAnnFLFunctions(FunctionName,SCI2CLibCAnnFunDir,ClassName,GeneralReport,ExtensionCAnnFun); -INIT_GenAnnFLFunctions(FunctionName,SCI2CLibCFLFunDir,ClassName,GeneralReport,ExtensionCFuncListFun); - -//------------------------------------ -//---- Class RPI_DigitalIn ----------- -//------------------------------------ -ClassName = 'RPI_DigitalIn'; - -// --- Class Annotation. --- -PrintStringInfo(' Adding Class: '+ClassName+'.',GeneralReport,'file','y'); -ClassFileName = fullfile(SCI2CLibCAnnClsDir,ClassName+ExtensionCAnnCls); -PrintStringInfo('NIN= 1',ClassFileName,'file','y'); -PrintStringInfo('NOUT= 1 ',ClassFileName,'file','y'); -PrintStringInfo('OUT(1).TP= ''u8''',ClassFileName,'file','y'); -PrintStringInfo('OUT(1).SZ(1)= ''1''',ClassFileName,'file','y'); -PrintStringInfo('OUT(1).SZ(2)= ''1''',ClassFileName,'file','y'); - -// --- Function List Class. --- -ClassFileName = fullfile(SCI2CLibCFLClsDir,ClassName+ExtensionCFuncListCls); - -PrintStringInfo(''+ArgSeparator+'',ClassFileName,'file','y'); - -// --- Annotation Function And Function List Function. --- -FunctionName = 'RPI_DigitalIn'; -PrintStringInfo(' Adding Function: '+FunctionName+'.',GeneralReport,'file','y'); -INIT_GenAnnFLFunctions(FunctionName,SCI2CLibCAnnFunDir,ClassName,GeneralReport,ExtensionCAnnFun); -INIT_GenAnnFLFunctions(FunctionName,SCI2CLibCFLFunDir,ClassName,GeneralReport,ExtensionCFuncListFun); - -//------------------------------------ -//---- Class RPI_delay ---------- -//------------------------------------ -ClassName = 'RPI_delay'; - -//--- Class Annotation. --- -PrintStringInfo(' Adding Class: '+ClassName+'.',GeneralReport,'file','y'); -ClassFileName = fullfile(SCI2CLibCAnnClsDir,ClassName+ExtensionCAnnCls); -PrintStringInfo('NIN= 1',ClassFileName,'file','y'); -PrintStringInfo('NOUT= 0 ',ClassFileName,'file','y'); -PrintStringInfo('OUT(1).TP= ''u8''',ClassFileName,'file','y'); -PrintStringInfo('OUT(1).SZ(1)= ''1''',ClassFileName,'file','y'); -PrintStringInfo('OUT(1).SZ(2)= ''1''',ClassFileName,'file','y'); - -//--- Function List Class. --- -ClassFileName = fullfile(SCI2CLibCFLClsDir,ClassName+ExtensionCFuncListCls); - -PrintStringInfo(''+ArgSeparator+'',ClassFileName,'file','y'); - -// --- Annotation Function And Function List Function. --- -FunctionName = 'RPI_delay'; -PrintStringInfo(' Adding Function: '+FunctionName+'.',GeneralReport,'file','y'); -INIT_GenAnnFLFunctions(FunctionName,SCI2CLibCAnnFunDir,ClassName,GeneralReport,ExtensionCAnnFun); -INIT_GenAnnFLFunctions(FunctionName,SCI2CLibCFLFunDir,ClassName,GeneralReport,ExtensionCFuncListFun); - -FunctionName = 'RPI_delayMicro'; -PrintStringInfo(' Adding Function: '+FunctionName+'.',GeneralReport,'file','y'); -INIT_GenAnnFLFunctions(FunctionName,SCI2CLibCAnnFunDir,ClassName,GeneralReport,ExtensionCAnnFun); -INIT_GenAnnFLFunctions(FunctionName,SCI2CLibCFLFunDir,ClassName,GeneralReport,ExtensionCFuncListFun); - -FunctionName = 'RPI_SerialClose'; -PrintStringInfo(' Adding Function: '+FunctionName+'.',GeneralReport,'file','y'); -INIT_GenAnnFLFunctions(FunctionName,SCI2CLibCAnnFunDir,ClassName,GeneralReport,ExtensionCAnnFun); -INIT_GenAnnFLFunctions(FunctionName,SCI2CLibCFLFunDir,ClassName,GeneralReport,ExtensionCFuncListFun); - -FunctionName = 'RPI_SerialFlush'; -PrintStringInfo(' Adding Function: '+FunctionName+'.',GeneralReport,'file','y'); -INIT_GenAnnFLFunctions(FunctionName,SCI2CLibCAnnFunDir,ClassName,GeneralReport,ExtensionCAnnFun); -INIT_GenAnnFLFunctions(FunctionName,SCI2CLibCFLFunDir,ClassName,GeneralReport,ExtensionCFuncListFun); - -FunctionName = 'RPI_HardPWMSetRange'; -PrintStringInfo(' Adding Function: '+FunctionName+'.',GeneralReport,'file','y'); -INIT_GenAnnFLFunctions(FunctionName,SCI2CLibCAnnFunDir,ClassName,GeneralReport,ExtensionCAnnFun); -INIT_GenAnnFLFunctions(FunctionName,SCI2CLibCFLFunDir,ClassName,GeneralReport,ExtensionCFuncListFun); - -FunctionName = 'RPI_HardPWMSetClock'; -PrintStringInfo(' Adding Function: '+FunctionName+'.',GeneralReport,'file','y'); -INIT_GenAnnFLFunctions(FunctionName,SCI2CLibCAnnFunDir,ClassName,GeneralReport,ExtensionCAnnFun); -INIT_GenAnnFLFunctions(FunctionName,SCI2CLibCFLFunDir,ClassName,GeneralReport,ExtensionCFuncListFun); - -FunctionName = 'RPI_HardPWMSetMode'; -PrintStringInfo(' Adding Function: '+FunctionName+'.',GeneralReport,'file','y'); -INIT_GenAnnFLFunctions(FunctionName,SCI2CLibCAnnFunDir,ClassName,GeneralReport,ExtensionCAnnFun); -INIT_GenAnnFLFunctions(FunctionName,SCI2CLibCFLFunDir,ClassName,GeneralReport,ExtensionCFuncListFun); - -//------------------------------------ -//---- Class RPI_milli ---------- -//------------------------------------ -ClassName = 'RPI_milli'; - -// --- Class Annotation. --- -PrintStringInfo(' Adding Class: '+ClassName+'.',GeneralReport,'file','y'); -ClassFileName = fullfile(SCI2CLibCAnnClsDir,ClassName+ExtensionCAnnCls); -PrintStringInfo('NIN= 0',ClassFileName,'file','y'); -PrintStringInfo('NOUT= 1 ',ClassFileName,'file','y'); -PrintStringInfo('OUT(1).TP= ''u32''',ClassFileName,'file','y'); -PrintStringInfo('OUT(1).SZ(1)= ''1''',ClassFileName,'file','y'); -PrintStringInfo('OUT(1).SZ(2)= ''1''',ClassFileName,'file','y'); - -// --- Function List Class. --- -ClassFileName = fullfile(SCI2CLibCFLClsDir,ClassName+ExtensionCFuncListCls); - -PrintStringInfo(''+ArgSeparator+'',ClassFileName,'file','y'); - -// --- Annotation Function And Function List Function. --- -FunctionName = 'RPI_millis'; -PrintStringInfo(' Adding Function: '+FunctionName+'.',GeneralReport,'file','y'); -INIT_GenAnnFLFunctions(FunctionName,SCI2CLibCAnnFunDir,ClassName,GeneralReport,ExtensionCAnnFun); -INIT_GenAnnFLFunctions(FunctionName,SCI2CLibCFLFunDir,ClassName,GeneralReport,ExtensionCFuncListFun); - -FunctionName = 'RPI_micros'; -PrintStringInfo(' Adding Function: '+FunctionName+'.',GeneralReport,'file','y'); -INIT_GenAnnFLFunctions(FunctionName,SCI2CLibCAnnFunDir,ClassName,GeneralReport,ExtensionCAnnFun); -INIT_GenAnnFLFunctions(FunctionName,SCI2CLibCFLFunDir,ClassName,GeneralReport,ExtensionCFuncListFun); - -//------------------------------------ -//---- Class RPI_SetupSerial ---------- -//------------------------------------ -ClassName = 'RPI_SetupSerial'; - -// --- Class Annotation. --- -PrintStringInfo(' Adding Class: '+ClassName+'.',GeneralReport,'file','y'); -ClassFileName = fullfile(SCI2CLibCAnnClsDir,ClassName+ExtensionCAnnCls); -PrintStringInfo('NIN= 2',ClassFileName,'file','y'); -PrintStringInfo('NOUT= 1 ',ClassFileName,'file','y'); -PrintStringInfo('OUT(1).TP= ''u16''',ClassFileName,'file','y'); -PrintStringInfo('OUT(1).SZ(1)= ''1''',ClassFileName,'file','y'); -PrintStringInfo('OUT(1).SZ(2)= ''1''',ClassFileName,'file','y'); - -// --- Function List Class. --- -ClassFileName = fullfile(SCI2CLibCFLClsDir,ClassName+ExtensionCFuncListCls); - -PrintStringInfo(''+ArgSeparator+'',ClassFileName,'file','y'); - -// --- Annotation Function And Function List Function. --- -FunctionName = 'RPI_SerialSetup'; -PrintStringInfo(' Adding Function: '+FunctionName+'.',GeneralReport,'file','y'); -INIT_GenAnnFLFunctions(FunctionName,SCI2CLibCAnnFunDir,ClassName,GeneralReport,ExtensionCAnnFun); -INIT_GenAnnFLFunctions(FunctionName,SCI2CLibCFLFunDir,ClassName,GeneralReport,ExtensionCFuncListFun); - -//------------------------------------ -//---- Class RPI_SetupClose ---------- -//------------------------------------ -//ClassName = 'RPI_SetupClose'; - -// --- Class Annotation. --- -//PrintStringInfo(' Adding Class: '+ClassName+'.',GeneralReport,'file','y'); -//ClassFileName = fullfile(SCI2CLibCAnnClsDir,ClassName+ExtensionCAnnCls); -//PrintStringInfo('NIN= 1',ClassFileName,'file','y'); -//PrintStringInfo('NOUT= 1 ',ClassFileName,'file','y'); -//PrintStringInfo('OUT(1).TP= ''u8''',ClassFileName,'file','y'); -//PrintStringInfo('OUT(1).SZ(1)= ''1''',ClassFileName,'file','y'); -//PrintStringInfo('OUT(1).SZ(2)= ''1''',ClassFileName,'file','y'); - -// --- Function List Class. --- -//ClassFileName = fullfile(SCI2CLibCFLClsDir,ClassName+ExtensionCFuncListCls); - -//PrintStringInfo(''+ArgSeparator+'',ClassFileName,'file','y'); - -// --- Annotation Function And Function List Function. --- -//FunctionName = 'RPI_SerialClose'; -//PrintStringInfo(' Adding Function: '+FunctionName+'.',GeneralReport,'file','y'); -//INIT_GenAnnFLFunctions(FunctionName,SCI2CLibCAnnFunDir,ClassName,GeneralReport,ExtensionCAnnFun); -//INIT_GenAnnFLFunctions(FunctionName,SCI2CLibCFLFunDir,ClassName,GeneralReport,ExtensionCFuncListFun); -//FunctionName = 'RPI_SerialFlush'; -//PrintStringInfo(' Adding Function: '+FunctionName+'.',GeneralReport,'file','y'); -//INIT_GenAnnFLFunctions(FunctionName,SCI2CLibCAnnFunDir,ClassName,GeneralReport,ExtensionCAnnFun); -//INIT_GenAnnFLFunctions(FunctionName,SCI2CLibCFLFunDir,ClassName,GeneralReport,ExtensionCFuncListFun); - -//------------------------------------ -//---- Class RPI_SerialSendData ---------- -//------------------------------------ -ClassName = 'RPI_SerialSendData'; - -// --- Class Annotation. --- -PrintStringInfo(' Adding Class: '+ClassName+'.',GeneralReport,'file','y'); -ClassFileName = fullfile(SCI2CLibCAnnClsDir,ClassName+ExtensionCAnnCls); -PrintStringInfo('NIN= 2',ClassFileName,'file','y'); -PrintStringInfo('NOUT= 0 ',ClassFileName,'file','y'); -PrintStringInfo('OUT(1).TP= ''u8''',ClassFileName,'file','y'); -PrintStringInfo('OUT(1).SZ(1)= ''1''',ClassFileName,'file','y'); -PrintStringInfo('OUT(1).SZ(2)= ''1''',ClassFileName,'file','y'); - -// --- Function List Class. --- -ClassFileName = fullfile(SCI2CLibCFLClsDir,ClassName+ExtensionCFuncListCls); - -PrintStringInfo('u80u80'+ArgSeparator+'u80',ClassFileName,'file','y'); -PrintStringInfo('u80i80'+ArgSeparator+'u80',ClassFileName,'file','y'); -PrintStringInfo('u80u160'+ArgSeparator+'u80',ClassFileName,'file','y'); -PrintStringInfo('u80i160'+ArgSeparator+'u80',ClassFileName,'file','y'); -PrintStringInfo('u80s0'+ArgSeparator+'u80',ClassFileName,'file','y'); -PrintStringInfo('u80d0'+ArgSeparator+'u80',ClassFileName,'file','y'); - -PrintStringInfo('u80u82'+ArgSeparator+'u80',ClassFileName,'file','y'); -PrintStringInfo('u80i82'+ArgSeparator+'u80',ClassFileName,'file','y'); -PrintStringInfo('u80u162'+ArgSeparator+'u80',ClassFileName,'file','y'); -PrintStringInfo('u80i162'+ArgSeparator+'u80',ClassFileName,'file','y'); -PrintStringInfo('u80s2'+ArgSeparator+'u80',ClassFileName,'file','y'); -PrintStringInfo('u80d2'+ArgSeparator+'u80',ClassFileName,'file','y'); -PrintStringInfo('u80g2'+ArgSeparator+'u80',ClassFileName,'file','y'); - -// --- Annotation Function And Function List Function. --- -FunctionName = 'RPI_SerialSendData'; -PrintStringInfo(' Adding Function: '+FunctionName+'.',GeneralReport,'file','y'); -INIT_GenAnnFLFunctions(FunctionName,SCI2CLibCAnnFunDir,ClassName,GeneralReport,ExtensionCAnnFun); -INIT_GenAnnFLFunctions(FunctionName,SCI2CLibCFLFunDir,ClassName,GeneralReport,ExtensionCFuncListFun); - -//------------------------------------ -//---- Class RPI_SerialDataAvail ---------- -//------------------------------------ -ClassName = 'RPI_SerialDataAvail'; - -// --- Class Annotation. --- -PrintStringInfo(' Adding Class: '+ClassName+'.',GeneralReport,'file','y'); -ClassFileName = fullfile(SCI2CLibCAnnClsDir,ClassName+ExtensionCAnnCls); -PrintStringInfo('NIN= 1',ClassFileName,'file','y'); -PrintStringInfo('NOUT= 1 ',ClassFileName,'file','y'); -PrintStringInfo('OUT(1).TP= ''i16''',ClassFileName,'file','y'); -PrintStringInfo('OUT(1).SZ(1)= ''1''',ClassFileName,'file','y'); -PrintStringInfo('OUT(1).SZ(2)= ''1''',ClassFileName,'file','y'); - -// --- Function List Class. --- -ClassFileName = fullfile(SCI2CLibCFLClsDir,ClassName+ExtensionCFuncListCls); - -PrintStringInfo(''+ArgSeparator+'',ClassFileName,'file','y'); - -// --- Annotation Function And Function List Function. --- -FunctionName = 'RPI_SerialDataAvail'; -PrintStringInfo(' Adding Function: '+FunctionName+'.',GeneralReport,'file','y'); -INIT_GenAnnFLFunctions(FunctionName,SCI2CLibCAnnFunDir,ClassName,GeneralReport,ExtensionCAnnFun); -INIT_GenAnnFLFunctions(FunctionName,SCI2CLibCFLFunDir,ClassName,GeneralReport,ExtensionCFuncListFun); -FunctionName = 'RPI_SerialGetChar'; -PrintStringInfo(' Adding Function: '+FunctionName+'.',GeneralReport,'file','y'); -INIT_GenAnnFLFunctions(FunctionName,SCI2CLibCAnnFunDir,ClassName,GeneralReport,ExtensionCAnnFun); -INIT_GenAnnFLFunctions(FunctionName,SCI2CLibCFLFunDir,ClassName,GeneralReport,ExtensionCFuncListFun); - - -//------------------------------------ -//---- Class RPI_ThreadCreate ---------- -//------------------------------------ -ClassName = 'RPI_ThreadCreate'; - -// --- Class Annotation. --- -PrintStringInfo(' Adding Class: '+ClassName+'.',GeneralReport,'file','y'); -ClassFileName = fullfile(SCI2CLibCAnnClsDir,ClassName+ExtensionCAnnCls); -PrintStringInfo('NIN= 1',ClassFileName,'file','y'); -PrintStringInfo('NOUT= 1 ',ClassFileName,'file','y'); -PrintStringInfo('OUT(1).TP= ''u16''',ClassFileName,'file','y'); -PrintStringInfo('OUT(1).SZ(1)= ''1''',ClassFileName,'file','y'); -PrintStringInfo('OUT(1).SZ(2)= ''1''',ClassFileName,'file','y'); - -// --- Function List Class. --- -ClassFileName = fullfile(SCI2CLibCFLClsDir,ClassName+ExtensionCFuncListCls); - -PrintStringInfo(''+ArgSeparator+'',ClassFileName,'file','y'); - -// --- Annotation Function And Function List Function. --- -FunctionName = 'RPI_ThreadCreate'; -PrintStringInfo(' Adding Function: '+FunctionName+'.',GeneralReport,'file','y'); -INIT_GenAnnFLFunctions(FunctionName,SCI2CLibCAnnFunDir,ClassName,GeneralReport,ExtensionCAnnFun); -INIT_GenAnnFLFunctions(FunctionName,SCI2CLibCFLFunDir,ClassName,GeneralReport,ExtensionCFuncListFun); - -//------------------------------------ -//---- Class RPI_PinISR -------------- -//------------------------------------ -ClassName = 'RPI_PinISR'; - -// --- Class Annotation. --- -PrintStringInfo(' Adding Class: '+ClassName+'.',GeneralReport,'file','y'); -ClassFileName = fullfile(SCI2CLibCAnnClsDir,ClassName+ExtensionCAnnCls); -PrintStringInfo('NIN= 3',ClassFileName,'file','y'); -PrintStringInfo('NOUT= 1 ',ClassFileName,'file','y'); -PrintStringInfo('OUT(1).TP= ''i16''',ClassFileName,'file','y'); -PrintStringInfo('OUT(1).SZ(1)= ''1''',ClassFileName,'file','y'); -PrintStringInfo('OUT(1).SZ(2)= ''1''',ClassFileName,'file','y'); - -// --- Function List Class. --- -ClassFileName = fullfile(SCI2CLibCFLClsDir,ClassName+ExtensionCFuncListCls); - -PrintStringInfo(''+ArgSeparator+'',ClassFileName,'file','y'); - -// --- Annotation Function And Function List Function. --- -FunctionName = 'RPI_PinISR'; -PrintStringInfo(' Adding Function: '+FunctionName+'.',GeneralReport,'file','y'); -INIT_GenAnnFLFunctions(FunctionName,SCI2CLibCAnnFunDir,ClassName,GeneralReport,ExtensionCAnnFun); -INIT_GenAnnFLFunctions(FunctionName,SCI2CLibCFLFunDir,ClassName,GeneralReport,ExtensionCFuncListFun); diff --git a/2.3-1/src/c/hardware/rasberrypi/NotYetDone/NotToDo/RPI_adress.c b/2.3-1/src/c/hardware/rasberrypi/NotYetDone/NotToDo/RPI_adress.c deleted file mode 100644 index 3e94b925..00000000 --- a/2.3-1/src/c/hardware/rasberrypi/NotYetDone/NotToDo/RPI_adress.c +++ /dev/null @@ -1,13 +0,0 @@ -/* Copyright (C) 2016 - IIT Bombay - FOSSEE - - This file must be used under the terms of the CeCILL. - This source file is licensed as described in the file COPYING, which - you should have received as part of this distribution. The terms - are also available at - http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt - Author: Jorawar Singh - Organization: FOSSEE, IIT Bombay - Email: toolbox@scilab.in -*/ - -#include "types.h" \ No newline at end of file diff --git a/2.3-1/src/c/hardware/rasberrypi/NotYetDone/NotToDo/RPI_analogRead.c b/2.3-1/src/c/hardware/rasberrypi/NotYetDone/NotToDo/RPI_analogRead.c deleted file mode 100644 index 3e94b925..00000000 --- a/2.3-1/src/c/hardware/rasberrypi/NotYetDone/NotToDo/RPI_analogRead.c +++ /dev/null @@ -1,13 +0,0 @@ -/* Copyright (C) 2016 - IIT Bombay - FOSSEE - - This file must be used under the terms of the CeCILL. - This source file is licensed as described in the file COPYING, which - you should have received as part of this distribution. The terms - are also available at - http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt - Author: Jorawar Singh - Organization: FOSSEE, IIT Bombay - Email: toolbox@scilab.in -*/ - -#include "types.h" \ No newline at end of file diff --git a/2.3-1/src/c/hardware/rasberrypi/NotYetDone/NotToDo/RPI_analogWrite.c b/2.3-1/src/c/hardware/rasberrypi/NotYetDone/NotToDo/RPI_analogWrite.c deleted file mode 100644 index 3e94b925..00000000 --- a/2.3-1/src/c/hardware/rasberrypi/NotYetDone/NotToDo/RPI_analogWrite.c +++ /dev/null @@ -1,13 +0,0 @@ -/* Copyright (C) 2016 - IIT Bombay - FOSSEE - - This file must be used under the terms of the CeCILL. - This source file is licensed as described in the file COPYING, which - you should have received as part of this distribution. The terms - are also available at - http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt - Author: Jorawar Singh - Organization: FOSSEE, IIT Bombay - Email: toolbox@scilab.in -*/ - -#include "types.h" \ No newline at end of file diff --git a/2.3-1/src/c/hardware/rasberrypi/NotYetDone/NotToDo/RPI_commande.c b/2.3-1/src/c/hardware/rasberrypi/NotYetDone/NotToDo/RPI_commande.c deleted file mode 100644 index 3e94b925..00000000 --- a/2.3-1/src/c/hardware/rasberrypi/NotYetDone/NotToDo/RPI_commande.c +++ /dev/null @@ -1,13 +0,0 @@ -/* Copyright (C) 2016 - IIT Bombay - FOSSEE - - This file must be used under the terms of the CeCILL. - This source file is licensed as described in the file COPYING, which - you should have received as part of this distribution. The terms - are also available at - http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt - Author: Jorawar Singh - Organization: FOSSEE, IIT Bombay - Email: toolbox@scilab.in -*/ - -#include "types.h" \ No newline at end of file diff --git a/2.3-1/src/c/hardware/rasberrypi/NotYetDone/NotToDo/RPI_i2cdetect.c b/2.3-1/src/c/hardware/rasberrypi/NotYetDone/NotToDo/RPI_i2cdetect.c deleted file mode 100644 index 3e94b925..00000000 --- a/2.3-1/src/c/hardware/rasberrypi/NotYetDone/NotToDo/RPI_i2cdetect.c +++ /dev/null @@ -1,13 +0,0 @@ -/* Copyright (C) 2016 - IIT Bombay - FOSSEE - - This file must be used under the terms of the CeCILL. - This source file is licensed as described in the file COPYING, which - you should have received as part of this distribution. The terms - are also available at - http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt - Author: Jorawar Singh - Organization: FOSSEE, IIT Bombay - Email: toolbox@scilab.in -*/ - -#include "types.h" \ No newline at end of file diff --git a/2.3-1/src/c/hardware/rasberrypi/NotYetDone/NotToDo/RPI_send.c b/2.3-1/src/c/hardware/rasberrypi/NotYetDone/NotToDo/RPI_send.c deleted file mode 100644 index 3e94b925..00000000 --- a/2.3-1/src/c/hardware/rasberrypi/NotYetDone/NotToDo/RPI_send.c +++ /dev/null @@ -1,13 +0,0 @@ -/* Copyright (C) 2016 - IIT Bombay - FOSSEE - - This file must be used under the terms of the CeCILL. - This source file is licensed as described in the file COPYING, which - you should have received as part of this distribution. The terms - are also available at - http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt - Author: Jorawar Singh - Organization: FOSSEE, IIT Bombay - Email: toolbox@scilab.in -*/ - -#include "types.h" \ No newline at end of file diff --git a/2.3-1/src/c/hardware/rasberrypi/NotYetDone/NotToDo/backup/ISR/i16RPIPinISRs.c b/2.3-1/src/c/hardware/rasberrypi/NotYetDone/NotToDo/backup/ISR/i16RPIPinISRs.c deleted file mode 100644 index 6e398a17..00000000 --- a/2.3-1/src/c/hardware/rasberrypi/NotYetDone/NotToDo/backup/ISR/i16RPIPinISRs.c +++ /dev/null @@ -1,25 +0,0 @@ -/* Copyright (C) 2016 - IIT Bombay - FOSSEE - - This file must be used under the terms of the CeCILL. - This source file is licensed as described in the file COPYING, which - you should have received as part of this distribution. The terms - are also available at - http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt - Author: Siddhesh Wani - Organization: FOSSEE, IIT Bombay - Email: toolbox@scilab.in -*/ - -/* Function to declare interrupt on pins and corresponding ISRs */ - -#include "types.h" -#include "RPIPeripheralPinISR.h" -#include "RPIPeripheralDigital.h" - -int16 i16RPIPinISRs(uint8 pin, uint8 edgetype, void (*ISRFunction)(void)) -{ - int status; - status = wiringPiISR((int)phy_pin[pin-1], (int) edgetype, ISRFunction); - return status; -} - diff --git a/2.3-1/src/c/hardware/rasberrypi/NotYetDone/NotToDo/backup/gpio/RPI_DigitalRead.c b/2.3-1/src/c/hardware/rasberrypi/NotYetDone/NotToDo/backup/gpio/RPI_DigitalRead.c deleted file mode 100644 index 4ab496ea..00000000 --- a/2.3-1/src/c/hardware/rasberrypi/NotYetDone/NotToDo/backup/gpio/RPI_DigitalRead.c +++ /dev/null @@ -1,24 +0,0 @@ -/* Copyright (C) 2016 - IIT Bombay - FOSSEE - - This file must be used under the terms of the CeCILL. - This source file is licensed as described in the file COPYING, which - you should have received as part of this distribution. The terms - are also available at - http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt - Author: Siddhesh Wani, Jorawar Singh - Organization: FOSSEE, IIT Bombay - Email: toolbox@scilab.in -*/ - -/* Function to read the state of the gpio pin */ - -#include "types.h" -#include "RPIPeripheralDigital.h" - -/*pin is reduced by one as array index starts from 0 and pin no starts from 1*/ -uint8 u8RPIDigitalIns(uint8 pin) -{ - uint8 state = 0; - state = digitalRead(phy_pin[pin-1]); - return (state); -} diff --git a/2.3-1/src/c/hardware/rasberrypi/NotYetDone/NotToDo/backup/gpio/RPI_DigitalWrite.c b/2.3-1/src/c/hardware/rasberrypi/NotYetDone/NotToDo/backup/gpio/RPI_DigitalWrite.c deleted file mode 100644 index 259bb3b6..00000000 --- a/2.3-1/src/c/hardware/rasberrypi/NotYetDone/NotToDo/backup/gpio/RPI_DigitalWrite.c +++ /dev/null @@ -1,26 +0,0 @@ -/* Copyright (C) 2016 - IIT Bombay - FOSSEE - - This file must be used under the terms of the CeCILL. - This source file is licensed as described in the file COPYING, which - you should have received as part of this distribution. The terms - are also available at - http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt - Author: Siddhesh Wani, Jorawar Singh - Organization: FOSSEE, IIT Bombay - Email: toolbox@scilab.in -*/ - -/* Function to change the output state of the gpio pin */ - - -#include "types.h" -#include "RPIPeripheralDigital.h" - -/*pin is reduced by one as array index starts from 0 and pin no starts from 1*/ -void u8RPIDigitalOuts(uint8 pin, uint8 state) -{ - if (state == 0) /*low output*/ - digitalWrite(phy_pin[pin-1], LOW); - if (state == 1) /*high output*/ - digitalWrite(phy_pin[pin-1], HIGH); -} diff --git a/2.3-1/src/c/hardware/rasberrypi/NotYetDone/NotToDo/backup/gpio/RPI_pinMode.c b/2.3-1/src/c/hardware/rasberrypi/NotYetDone/NotToDo/backup/gpio/RPI_pinMode.c deleted file mode 100644 index 8646e8f1..00000000 --- a/2.3-1/src/c/hardware/rasberrypi/NotYetDone/NotToDo/backup/gpio/RPI_pinMode.c +++ /dev/null @@ -1,40 +0,0 @@ -/* Copyright (C) 2016 - IIT Bombay - FOSSEE - - This file must be used under the terms of the CeCILL. - This source file is licensed as described in the file COPYING, which - you should have received as part of this distribution. The terms - are also available at - http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt - Author: Siddhesh Wani, Jorawar Singh - Organization: FOSSEE, IIT Bombay - Email: toolbox@scilab.in -*/ - -/* Function to setup digital pins - direction = 2 -> PWM_output (BCM pin 18 only) - direction = 1 -> output - direction = 0 -> input -*/ - -#include "types.h" -#include "RPIPeripheralDigital.h" - - -/*This array maps pin numbers on RPi board, with pin numbers corrsponding -to WiringPi library*/ -int phy_pin[] = {17, 17, 8, 17, 9, 17, 7, 15, 17, 16, /*Pin 1 to 10*/ - 0, 1, 2, 17, 3, 4, 17, 5, 12, 17, /*Pin 11 to 20*/ - 13, 6, 14, 10, 17, 11, 30, 31, 21, 17, /*Pin 21 to 30*/ - 22, 26, 23, 17, 24, 27, 25, 28, 17, 29 }; /*Pin 31 to 40*/ - -/*pin is reduced by one as arrayiindex starts from 0 and pin no starts from 1*/ -void u8RPIDigitalSetups(uint8 pin, uint8 direction) -{ - if(direction == 1) /*Pin to be used as output*/ - pinMode(phy_pin[pin-1], OUTPUT); - else if(direction == 2) - pinMode(phy_pin[pin-1], PWM_OUTPUT); - else - pinMode(phy_pin[pin-1], INPUT); - -} diff --git a/2.3-1/src/c/hardware/rasberrypi/NotYetDone/NotToDo/backup/pwm/RPI_pwmClock.c b/2.3-1/src/c/hardware/rasberrypi/NotYetDone/NotToDo/backup/pwm/RPI_pwmClock.c deleted file mode 100644 index 0ad575b7..00000000 --- a/2.3-1/src/c/hardware/rasberrypi/NotYetDone/NotToDo/backup/pwm/RPI_pwmClock.c +++ /dev/null @@ -1,27 +0,0 @@ -/* Copyright (C) 2016 - IIT Bombay - FOSSEE - - This file must be used under the terms of the CeCILL. - This source file is licensed as described in the file COPYING, which - you should have received as part of this distribution. The terms - are also available at - http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt - Author: Siddhesh Wani, Jorawar Singh - Organization: FOSSEE, IIT Bombay - Email: toolbox@scilab.in -*/ - -/*Function to set clock for pwm channel. Default clock is 19.2 MHz. 'clk_divisor' - along with range decides frequency for PWM - PWM frequency = 19.2 MHz / clk_divisor/ range - Range for clk_divisor = 1-2048 - */ - -#include "types.h" -#include "RPIPeripheralPWM.h" - -void u8RPIHardPWMSetClocks(uint16 clk_divisor) -{ - pwmSetClock(clk_divisor); - - -} diff --git a/2.3-1/src/c/hardware/rasberrypi/NotYetDone/NotToDo/backup/pwm/RPI_pwmMode.c b/2.3-1/src/c/hardware/rasberrypi/NotYetDone/NotToDo/backup/pwm/RPI_pwmMode.c deleted file mode 100644 index 7679a1ab..00000000 --- a/2.3-1/src/c/hardware/rasberrypi/NotYetDone/NotToDo/backup/pwm/RPI_pwmMode.c +++ /dev/null @@ -1,28 +0,0 @@ -/* Copyright (C) 2016 - IIT Bombay - FOSSEE - - This file must be used under the terms of the CeCILL. - This source file is licensed as described in the file COPYING, which - you should have received as part of this distribution. The terms - are also available at - http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt - Author: Siddhesh Wani, Jorawar Singh - Organization: FOSSEE, IIT Bombay - Email: toolbox@scilab.in -*/ - -/*Function to set mode for PWM channel. Two modes are available - 0 --> balanced mode - 1 --> mark/space mode - */ - -#include "types.h" -#include "RPIPeripheralPWM.h" - -void u8RPIHardPWMSetModes(uint8 mode) -{ - if (mode == 1) /*mark/space mode*/ - pwmSetMode(PWM_MODE_MS); - else - pwmSetMode(PWM_MODE_BAL); - -} diff --git a/2.3-1/src/c/hardware/rasberrypi/NotYetDone/NotToDo/backup/pwm/RPI_pwmRange.c b/2.3-1/src/c/hardware/rasberrypi/NotYetDone/NotToDo/backup/pwm/RPI_pwmRange.c deleted file mode 100644 index 07936b38..00000000 --- a/2.3-1/src/c/hardware/rasberrypi/NotYetDone/NotToDo/backup/pwm/RPI_pwmRange.c +++ /dev/null @@ -1,25 +0,0 @@ -/* Copyright (C) 2016 - IIT Bombay - FOSSEE - - This file must be used under the terms of the CeCILL. - This source file is licensed as described in the file COPYING, which - you should have received as part of this distribution. The terms - are also available at - http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt - Author: Siddhesh Wani, Jorawar Singh - Organization: FOSSEE, IIT Bombay - Email: toolbox@scilab.in -*/ - -/*Function to assigne pwm duty to specified pin. PWM duty is decided by 'value' - and 'range' specified using corresponding function. - PWM duty = value/range - */ - -#include "types.h" -#include "RPIPeripheralPWM.h" - -void u8RPIHardPWMSetRanges(uint16 value) -{ - pwmSetRange(value); - -} diff --git a/2.3-1/src/c/hardware/rasberrypi/NotYetDone/NotToDo/backup/pwm/RPI_pwmWrite.c b/2.3-1/src/c/hardware/rasberrypi/NotYetDone/NotToDo/backup/pwm/RPI_pwmWrite.c deleted file mode 100644 index a16a1d86..00000000 --- a/2.3-1/src/c/hardware/rasberrypi/NotYetDone/NotToDo/backup/pwm/RPI_pwmWrite.c +++ /dev/null @@ -1,26 +0,0 @@ -/* Copyright (C) 2016 - IIT Bombay - FOSSEE - - This file must be used under the terms of the CeCILL. - This source file is licensed as described in the file COPYING, which - you should have received as part of this distribution. The terms - are also available at - http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt - Author: Siddhesh Wani, Jorawar Singh - Organization: FOSSEE, IIT Bombay - Email: toolbox@scilab.in -*/ - -/*Function to set range for pwm channel. PWM duty is decided by 'range' - and 'value' specified using corresponding function. - PWM duty = value/range - */ - -#include "types.h" -#include "RPIPeripheralPWM.h" -#include "RPIPeripheralDigital.h" - -void u8RPIHardPWMWrites(uint8 pin, uint16 value) -{ - pwmWrite((int)phy_pin[pin-1], value); - -} diff --git a/2.3-1/src/c/hardware/rasberrypi/NotYetDone/NotToDo/backup/serial/dRPISerialSendDataa.c b/2.3-1/src/c/hardware/rasberrypi/NotYetDone/NotToDo/backup/serial/dRPISerialSendDataa.c deleted file mode 100644 index f9902550..00000000 --- a/2.3-1/src/c/hardware/rasberrypi/NotYetDone/NotToDo/backup/serial/dRPISerialSendDataa.c +++ /dev/null @@ -1,27 +0,0 @@ -/* Copyright (C) 2016 - IIT Bombay - FOSSEE - - This file must be used under the terms of the CeCILL. - This source file is licensed as described in the file COPYING, which - you should have received as part of this distribution. The terms - are also available at - http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt - Author: Siddhesh Wani - Organization: FOSSEE, IIT Bombay - Email: toolbox@scilab.in -*/ - -/* Function to send double data array/matrix on specified serial port. */ - -#include "types.h" -#include "RPIPeripheralSerial.h" - -void dRPISerialSendDataa(int fd, double* data, int size) -{ - int count = 0; - - for (count = 0; count < size; count++) - { - dRPISerialSendDatas(fd, data[count]); - } - -} diff --git a/2.3-1/src/c/hardware/rasberrypi/NotYetDone/NotToDo/backup/serial/dRPISerialSendDatas.c b/2.3-1/src/c/hardware/rasberrypi/NotYetDone/NotToDo/backup/serial/dRPISerialSendDatas.c deleted file mode 100644 index 39112fc2..00000000 --- a/2.3-1/src/c/hardware/rasberrypi/NotYetDone/NotToDo/backup/serial/dRPISerialSendDatas.c +++ /dev/null @@ -1,35 +0,0 @@ -/* Copyright (C) 2016 - IIT Bombay - FOSSEE - - This file must be used under the terms of the CeCILL. - This source file is licensed as described in the file COPYING, which - you should have received as part of this distribution. The terms - are also available at - http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt - Author: Siddhesh Wani - Organization: FOSSEE, IIT Bombay - Email: toolbox@scilab.in -*/ - -/* Function to send double data on specified serial port. */ - -#include "types.h" -#include "RPIPeripheralSerial.h" - -void dRPISerialSendDatas(int fd, double data) -{ - uint8 count; - - union double_bytes{ - double double_data; - unsigned char bytes[sizeof(double)]; - } in_data; - - in_data.double_data = data; - - for(count=0; count>8)); - -} diff --git a/2.3-1/src/c/hardware/rasberrypi/NotYetDone/NotToDo/backup/serial/i8RPISerialSendDataa.c b/2.3-1/src/c/hardware/rasberrypi/NotYetDone/NotToDo/backup/serial/i8RPISerialSendDataa.c deleted file mode 100644 index c4dd199c..00000000 --- a/2.3-1/src/c/hardware/rasberrypi/NotYetDone/NotToDo/backup/serial/i8RPISerialSendDataa.c +++ /dev/null @@ -1,26 +0,0 @@ -/* Copyright (C) 2016 - IIT Bombay - FOSSEE - - This file must be used under the terms of the CeCILL. - This source file is licensed as described in the file COPYING, which - you should have received as part of this distribution. The terms - are also available at - http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt - Author: Siddhesh Wani - Organization: FOSSEE, IIT Bombay - Email: toolbox@scilab.in -*/ - -/* Function to send signed 8-bit byte array/matrix on specified serial port. */ - -#include "types.h" -#include "RPIPeripheralSerial.h" - -void i8RPISerialSendDataa(int fd, int8* data, int size) -{ - int count = 0; - - for (count = 0; count < size; ++count) - { - i8RPISerialSendDatas(fd, data[count]); - } -} diff --git a/2.3-1/src/c/hardware/rasberrypi/NotYetDone/NotToDo/backup/serial/i8RPISerialSendDatas.c b/2.3-1/src/c/hardware/rasberrypi/NotYetDone/NotToDo/backup/serial/i8RPISerialSendDatas.c deleted file mode 100644 index e637871f..00000000 --- a/2.3-1/src/c/hardware/rasberrypi/NotYetDone/NotToDo/backup/serial/i8RPISerialSendDatas.c +++ /dev/null @@ -1,22 +0,0 @@ -/* Copyright (C) 2016 - IIT Bombay - FOSSEE - - This file must be used under the terms of the CeCILL. - This source file is licensed as described in the file COPYING, which - you should have received as part of this distribution. The terms - are also available at - http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt - Author: Siddhesh Wani - Organization: FOSSEE, IIT Bombay - Email: toolbox@scilab.in -*/ - -/* Function to send signed 8-bit byte on specified serial port. */ - -#include "types.h" -#include "RPIPeripheralSerial.h" - -void i8RPISerialSendDatas(int fd, int8 data) -{ - serialPutchar(fd, (uint8) data); - -} diff --git a/2.3-1/src/c/hardware/rasberrypi/NotYetDone/NotToDo/backup/serial/sRPISerialSendDataa.c b/2.3-1/src/c/hardware/rasberrypi/NotYetDone/NotToDo/backup/serial/sRPISerialSendDataa.c deleted file mode 100644 index 14c0bc70..00000000 --- a/2.3-1/src/c/hardware/rasberrypi/NotYetDone/NotToDo/backup/serial/sRPISerialSendDataa.c +++ /dev/null @@ -1,27 +0,0 @@ -/* Copyright (C) 2016 - IIT Bombay - FOSSEE - - This file must be used under the terms of the CeCILL. - This source file is licensed as described in the file COPYING, which - you should have received as part of this distribution. The terms - are also available at - http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt - Author: Siddhesh Wani - Organization: FOSSEE, IIT Bombay - Email: toolbox@scilab.in -*/ - -/* Function to send float data array/matrix on specified serial port. */ - -#include "types.h" -#include "RPIPeripheralSerial.h" - -void sRPISerialSendDataa(int fd, float* data, int size) -{ - int count = 0; - - for (count = 0; count < size; ++count) - { - sRPISerialSendDatas(fd, data[count]); - } - -} diff --git a/2.3-1/src/c/hardware/rasberrypi/NotYetDone/NotToDo/backup/serial/sRPISerialSendDatas.c b/2.3-1/src/c/hardware/rasberrypi/NotYetDone/NotToDo/backup/serial/sRPISerialSendDatas.c deleted file mode 100644 index ff78dd1f..00000000 --- a/2.3-1/src/c/hardware/rasberrypi/NotYetDone/NotToDo/backup/serial/sRPISerialSendDatas.c +++ /dev/null @@ -1,34 +0,0 @@ -/* Copyright (C) 2016 - IIT Bombay - FOSSEE - - This file must be used under the terms of the CeCILL. - This source file is licensed as described in the file COPYING, which - you should have received as part of this distribution. The terms - are also available at - http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt - Author: Siddhesh Wani - Organization: FOSSEE, IIT Bombay - Email: toolbox@scilab.in -*/ - -/* Function to send float data on specified serial port. */ - -#include "types.h" -#include "RPIPeripheralSerial.h" - -void sRPISerialSendDatas(int fd, float data) -{ - uint8 count; - - union float_bytes{ - float float_data; - unsigned char bytes[sizeof(float)]; - } in_data; - in_data.float_data = data; - - for(count=0; count>8)); -} diff --git a/2.3-1/src/c/hardware/rasberrypi/NotYetDone/NotToDo/backup/serial/u16RPISerialSetups.c b/2.3-1/src/c/hardware/rasberrypi/NotYetDone/NotToDo/backup/serial/u16RPISerialSetups.c deleted file mode 100644 index cde4cba2..00000000 --- a/2.3-1/src/c/hardware/rasberrypi/NotYetDone/NotToDo/backup/serial/u16RPISerialSetups.c +++ /dev/null @@ -1,25 +0,0 @@ -/* Copyright (C) 2016 - IIT Bombay - FOSSEE - - This file must be used under the terms of the CeCILL. - This source file is licensed as described in the file COPYING, which - you should have received as part of this distribution. The terms - are also available at - http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt - Author: Siddhesh Wani - Organization: FOSSEE, IIT Bombay - Email: toolbox@scilab.in -*/ - -/* Function to setup port with desired baud rate. */ - -#include "types.h" -#include "RPIPeripheralSerial.h" - -int u16RPISerialSetups(char* port, int baudrate) -{ - int fd; - - fd = serialOpen (port, baudrate); - - return fd; -} diff --git a/2.3-1/src/c/hardware/rasberrypi/NotYetDone/NotToDo/backup/serial/u8RPISerialCloses.c b/2.3-1/src/c/hardware/rasberrypi/NotYetDone/NotToDo/backup/serial/u8RPISerialCloses.c deleted file mode 100644 index 5162d15e..00000000 --- a/2.3-1/src/c/hardware/rasberrypi/NotYetDone/NotToDo/backup/serial/u8RPISerialCloses.c +++ /dev/null @@ -1,21 +0,0 @@ -/* Copyright (C) 2016 - IIT Bombay - FOSSEE - - This file must be used under the terms of the CeCILL. - This source file is licensed as described in the file COPYING, which - you should have received as part of this distribution. The terms - are also available at - http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt - Author: Siddhesh Wani - Organization: FOSSEE, IIT Bombay - Email: toolbox@scilab.in -*/ - -/* Function to close serial port opened. */ - -#include "types.h" -#include "RPIPeripheralSerial.h" - -void u8RPISerialCloses(int fd) -{ - serialClose (fd); -} diff --git a/2.3-1/src/c/hardware/rasberrypi/NotYetDone/NotToDo/backup/serial/u8RPISerialFlushs.c b/2.3-1/src/c/hardware/rasberrypi/NotYetDone/NotToDo/backup/serial/u8RPISerialFlushs.c deleted file mode 100644 index c80a92c5..00000000 --- a/2.3-1/src/c/hardware/rasberrypi/NotYetDone/NotToDo/backup/serial/u8RPISerialFlushs.c +++ /dev/null @@ -1,21 +0,0 @@ -/* Copyright (C) 2016 - IIT Bombay - FOSSEE - - This file must be used under the terms of the CeCILL. - This source file is licensed as described in the file COPYING, which - you should have received as part of this distribution. The terms - are also available at - http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt - Author: Siddhesh Wani - Organization: FOSSEE, IIT Bombay - Email: toolbox@scilab.in -*/ - -/* Function to discards data serial buffer (received as well as waiting to be sent */ - -#include "types.h" -#include "RPIPeripheralSerial.h" - -void u8RPISerialFlushs(int fd) -{ - serialFlush(fd); -} diff --git a/2.3-1/src/c/hardware/rasberrypi/NotYetDone/NotToDo/backup/serial/u8RPISerialSendChars.c b/2.3-1/src/c/hardware/rasberrypi/NotYetDone/NotToDo/backup/serial/u8RPISerialSendChars.c deleted file mode 100644 index e3813514..00000000 --- a/2.3-1/src/c/hardware/rasberrypi/NotYetDone/NotToDo/backup/serial/u8RPISerialSendChars.c +++ /dev/null @@ -1,21 +0,0 @@ -/* Copyright (C) 2016 - IIT Bombay - FOSSEE - - This file must be used under the terms of the CeCILL. - This source file is licensed as described in the file COPYING, which - you should have received as part of this distribution. The terms - are also available at - http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt - Author: Siddhesh Wani - Organization: FOSSEE, IIT Bombay - Email: toolbox@scilab.in -*/ - -/* Function to send 8-bit char on specified serial port. */ - -#include "types.h" -#include "RPIPeripheralSerial.h" - -void u8RPISerialSendChars(int fd, uint8 data) -{ - serialPutchar(fd, data); -} diff --git a/2.3-1/src/c/hardware/rasberrypi/NotYetDone/NotToDo/backup/serial/u8RPISerialSendDataa.c b/2.3-1/src/c/hardware/rasberrypi/NotYetDone/NotToDo/backup/serial/u8RPISerialSendDataa.c deleted file mode 100644 index 9d097141..00000000 --- a/2.3-1/src/c/hardware/rasberrypi/NotYetDone/NotToDo/backup/serial/u8RPISerialSendDataa.c +++ /dev/null @@ -1,27 +0,0 @@ -/* Copyright (C) 2016 - IIT Bombay - FOSSEE - - This file must be used under the terms of the CeCILL. - This source file is licensed as described in the file COPYING, which - you should have received as part of this distribution. The terms - are also available at - http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt - Author: Siddhesh Wani - Organization: FOSSEE, IIT Bombay - Email: toolbox@scilab.in -*/ - -/* Function to send unsigned 8-bit byte array/matrix on specified serial port. */ - -#include "types.h" -#include "RPIPeripheralSerial.h" - -void u8RPISerialSendDataa(int fd, uint8* data, int size) -{ - int count = 0; - - for (count = 0; count < size; ++count) - { - u8RPISerialSendDatas(fd, data[count]); - } - -} diff --git a/2.3-1/src/c/hardware/rasberrypi/NotYetDone/NotToDo/backup/serial/u8RPISerialSendDatas.c b/2.3-1/src/c/hardware/rasberrypi/NotYetDone/NotToDo/backup/serial/u8RPISerialSendDatas.c deleted file mode 100644 index 9edb439f..00000000 --- a/2.3-1/src/c/hardware/rasberrypi/NotYetDone/NotToDo/backup/serial/u8RPISerialSendDatas.c +++ /dev/null @@ -1,22 +0,0 @@ -/* Copyright (C) 2016 - IIT Bombay - FOSSEE - - This file must be used under the terms of the CeCILL. - This source file is licensed as described in the file COPYING, which - you should have received as part of this distribution. The terms - are also available at - http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt - Author: Siddhesh Wani - Organization: FOSSEE, IIT Bombay - Email: toolbox@scilab.in -*/ - -/* Function to send unsigned 8-bit byte on specified serial port. */ - -#include "types.h" -#include "RPIPeripheralSerial.h" - -void u8RPISerialSendDatas(int fd, uint8 data) -{ - serialPutchar(fd, data); - -} diff --git a/2.3-1/src/c/hardware/rasberrypi/NotYetDone/NotToDo/backup/threading/u16RPIThreadCreates.c b/2.3-1/src/c/hardware/rasberrypi/NotYetDone/NotToDo/backup/threading/u16RPIThreadCreates.c deleted file mode 100644 index c05c959c..00000000 --- a/2.3-1/src/c/hardware/rasberrypi/NotYetDone/NotToDo/backup/threading/u16RPIThreadCreates.c +++ /dev/null @@ -1,24 +0,0 @@ -/* Copyright (C) 2016 - IIT Bombay - FOSSEE - - This file must be used under the terms of the CeCILL. - This source file is licensed as described in the file COPYING, which - you should have received as part of this distribution. The terms - are also available at - http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt - Author: Siddhesh Wani - Organization: FOSSEE, IIT Bombay - Email: toolbox@scilab.in -*/ - -/* Function to create thread for given function */ - -#include "types.h" -#include "RPIPeripheralThreading.h" - -uint16 RPIThreadCreate(void *(*threadFunction)(void*)) -{ - int status; - status = piThreadCreate (threadFunction); - return status; -} - diff --git a/2.3-1/src/c/hardware/rasberrypi/NotYetDone/NotToDo/backup/timing/RPI_delay.c b/2.3-1/src/c/hardware/rasberrypi/NotYetDone/NotToDo/backup/timing/RPI_delay.c deleted file mode 100644 index 8374c2b2..00000000 --- a/2.3-1/src/c/hardware/rasberrypi/NotYetDone/NotToDo/backup/timing/RPI_delay.c +++ /dev/null @@ -1,25 +0,0 @@ -/* Copyright (C) 2016 - IIT Bombay - FOSSEE - - This file must be used under the terms of the CeCILL. - This source file is licensed as described in the file COPYING, which - you should have received as part of this distribution. The terms - are also available at - http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt - Author: Siddhesh Wani, Jorawar Singh - Organization: FOSSEE, IIT Bombay - Email: toolbox@scilab.in -*/ - -/* Function to insert some delay in code execution. */ - - - -#include "types.h" -#include "RPIPeripheralTiming.h" - -void u16RPI_delay(uint16 time) -{ - delay(time); - -} - diff --git a/2.3-1/src/c/hardware/rasberrypi/NotYetDone/NotToDo/backup/timing/RPI_delayMicro.c b/2.3-1/src/c/hardware/rasberrypi/NotYetDone/NotToDo/backup/timing/RPI_delayMicro.c deleted file mode 100644 index df2a7a79..00000000 --- a/2.3-1/src/c/hardware/rasberrypi/NotYetDone/NotToDo/backup/timing/RPI_delayMicro.c +++ /dev/null @@ -1,22 +0,0 @@ -/* Copyright (C) 2016 - IIT Bombay - FOSSEE - - This file must be used under the terms of the CeCILL. - This source file is licensed as described in the file COPYING, which - you should have received as part of this distribution. The terms - are also available at - http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt - Author: Siddhesh Wani, Jorawar Singh - Organization: FOSSEE, IIT Bombay - Email: toolbox@scilab.in -*/ - -/* Function to insert some delay in code execution. */ - -#include "types.h" -#include "RPIPeripheralTiming.h" - -void u16RPI_delayMicro(uint16 time) -{ - delayMicroseconds(time); -} - diff --git a/2.3-1/src/c/hardware/rasberrypi/NotYetDone/NotToDo/backup/timing/RPI_micros.c b/2.3-1/src/c/hardware/rasberrypi/NotYetDone/NotToDo/backup/timing/RPI_micros.c deleted file mode 100644 index 8d06742d..00000000 --- a/2.3-1/src/c/hardware/rasberrypi/NotYetDone/NotToDo/backup/timing/RPI_micros.c +++ /dev/null @@ -1,21 +0,0 @@ -/* Copyright (C) 2016 - IIT Bombay - FOSSEE - - This file must be used under the terms of the CeCILL. - This source file is licensed as described in the file COPYING, which - you should have received as part of this distribution. The terms - are also available at - http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt - Author: Siddhesh Wani, Jorawar Singh - Organization: FOSSEE, IIT Bombay - Email: toolbox@scilab.in -*/ - -/* Function to get time in microsecond since first setup function called */ - -#include "types.h" -#include "RPIPeripheralTiming.h" - -uint32 u32RPI_micros() -{ - return(micros()); -} diff --git a/2.3-1/src/c/hardware/rasberrypi/NotYetDone/NotToDo/backup/timing/RPI_millis.c b/2.3-1/src/c/hardware/rasberrypi/NotYetDone/NotToDo/backup/timing/RPI_millis.c deleted file mode 100644 index 92b6e1b8..00000000 --- a/2.3-1/src/c/hardware/rasberrypi/NotYetDone/NotToDo/backup/timing/RPI_millis.c +++ /dev/null @@ -1,21 +0,0 @@ -/* Copyright (C) 2016 - IIT Bombay - FOSSEE - - This file must be used under the terms of the CeCILL. - This source file is licensed as described in the file COPYING, which - you should have received as part of this distribution. The terms - are also available at - http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt - Author: Siddhesh Wani, Jorawar Singh - Organization: FOSSEE, IIT Bombay - Email: toolbox@scilab.in -*/ - -/* Function to get time in millisecond since first setup function called */ - -#include "types.h" -#include "RPIPeripheralTiming.h" - -uint32 u32RPI_millis() -{ - return(millis()); -} diff --git a/2.3-1/src/c/hardware/rasberrypi/NotYetDone/NotToDo/raspi.c b/2.3-1/src/c/hardware/rasberrypi/NotYetDone/NotToDo/raspi.c deleted file mode 100644 index 3e94b925..00000000 --- a/2.3-1/src/c/hardware/rasberrypi/NotYetDone/NotToDo/raspi.c +++ /dev/null @@ -1,13 +0,0 @@ -/* Copyright (C) 2016 - IIT Bombay - FOSSEE - - This file must be used under the terms of the CeCILL. - This source file is licensed as described in the file COPYING, which - you should have received as part of this distribution. The terms - are also available at - http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt - Author: Jorawar Singh - Organization: FOSSEE, IIT Bombay - Email: toolbox@scilab.in -*/ - -#include "types.h" \ No newline at end of file diff --git a/2.3-1/src/c/hardware/rasberrypi/NotYetDone/NotToDo/raspi_close.c b/2.3-1/src/c/hardware/rasberrypi/NotYetDone/NotToDo/raspi_close.c deleted file mode 100644 index 3e94b925..00000000 --- a/2.3-1/src/c/hardware/rasberrypi/NotYetDone/NotToDo/raspi_close.c +++ /dev/null @@ -1,13 +0,0 @@ -/* Copyright (C) 2016 - IIT Bombay - FOSSEE - - This file must be used under the terms of the CeCILL. - This source file is licensed as described in the file COPYING, which - you should have received as part of this distribution. The terms - are also available at - http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt - Author: Jorawar Singh - Organization: FOSSEE, IIT Bombay - Email: toolbox@scilab.in -*/ - -#include "types.h" \ No newline at end of file diff --git a/2.3-1/src/c/hardware/rasberrypi/NotYetDone/SPI/RPI_SPIDataRW.c b/2.3-1/src/c/hardware/rasberrypi/NotYetDone/SPI/RPI_SPIDataRW.c deleted file mode 100644 index 3e94b925..00000000 --- a/2.3-1/src/c/hardware/rasberrypi/NotYetDone/SPI/RPI_SPIDataRW.c +++ /dev/null @@ -1,13 +0,0 @@ -/* Copyright (C) 2016 - IIT Bombay - FOSSEE - - This file must be used under the terms of the CeCILL. - This source file is licensed as described in the file COPYING, which - you should have received as part of this distribution. The terms - are also available at - http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt - Author: Jorawar Singh - Organization: FOSSEE, IIT Bombay - Email: toolbox@scilab.in -*/ - -#include "types.h" \ No newline at end of file diff --git a/2.3-1/src/c/hardware/rasberrypi/NotYetDone/SPI/RPI_SPISetup.c b/2.3-1/src/c/hardware/rasberrypi/NotYetDone/SPI/RPI_SPISetup.c deleted file mode 100644 index 3e94b925..00000000 --- a/2.3-1/src/c/hardware/rasberrypi/NotYetDone/SPI/RPI_SPISetup.c +++ /dev/null @@ -1,13 +0,0 @@ -/* Copyright (C) 2016 - IIT Bombay - FOSSEE - - This file must be used under the terms of the CeCILL. - This source file is licensed as described in the file COPYING, which - you should have received as part of this distribution. The terms - are also available at - http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt - Author: Jorawar Singh - Organization: FOSSEE, IIT Bombay - Email: toolbox@scilab.in -*/ - -#include "types.h" \ No newline at end of file diff --git a/2.3-1/src/c/hardware/rasberrypi/NotYetDone/lcd128x64/RPI_lcd128x64Orientation.c b/2.3-1/src/c/hardware/rasberrypi/NotYetDone/lcd128x64/RPI_lcd128x64Orientation.c deleted file mode 100644 index 3e94b925..00000000 --- a/2.3-1/src/c/hardware/rasberrypi/NotYetDone/lcd128x64/RPI_lcd128x64Orientation.c +++ /dev/null @@ -1,13 +0,0 @@ -/* Copyright (C) 2016 - IIT Bombay - FOSSEE - - This file must be used under the terms of the CeCILL. - This source file is licensed as described in the file COPYING, which - you should have received as part of this distribution. The terms - are also available at - http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt - Author: Jorawar Singh - Organization: FOSSEE, IIT Bombay - Email: toolbox@scilab.in -*/ - -#include "types.h" \ No newline at end of file diff --git a/2.3-1/src/c/hardware/rasberrypi/NotYetDone/lcd128x64/RPI_lcd128x64circle.c b/2.3-1/src/c/hardware/rasberrypi/NotYetDone/lcd128x64/RPI_lcd128x64circle.c deleted file mode 100644 index 3e94b925..00000000 --- a/2.3-1/src/c/hardware/rasberrypi/NotYetDone/lcd128x64/RPI_lcd128x64circle.c +++ /dev/null @@ -1,13 +0,0 @@ -/* Copyright (C) 2016 - IIT Bombay - FOSSEE - - This file must be used under the terms of the CeCILL. - This source file is licensed as described in the file COPYING, which - you should have received as part of this distribution. The terms - are also available at - http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt - Author: Jorawar Singh - Organization: FOSSEE, IIT Bombay - Email: toolbox@scilab.in -*/ - -#include "types.h" \ No newline at end of file diff --git a/2.3-1/src/c/hardware/rasberrypi/NotYetDone/lcd128x64/RPI_lcd128x64clear.c b/2.3-1/src/c/hardware/rasberrypi/NotYetDone/lcd128x64/RPI_lcd128x64clear.c deleted file mode 100644 index 3e94b925..00000000 --- a/2.3-1/src/c/hardware/rasberrypi/NotYetDone/lcd128x64/RPI_lcd128x64clear.c +++ /dev/null @@ -1,13 +0,0 @@ -/* Copyright (C) 2016 - IIT Bombay - FOSSEE - - This file must be used under the terms of the CeCILL. - This source file is licensed as described in the file COPYING, which - you should have received as part of this distribution. The terms - are also available at - http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt - Author: Jorawar Singh - Organization: FOSSEE, IIT Bombay - Email: toolbox@scilab.in -*/ - -#include "types.h" \ No newline at end of file diff --git a/2.3-1/src/c/hardware/rasberrypi/NotYetDone/lcd128x64/RPI_lcd128x64ellipse.c b/2.3-1/src/c/hardware/rasberrypi/NotYetDone/lcd128x64/RPI_lcd128x64ellipse.c deleted file mode 100644 index 3e94b925..00000000 --- a/2.3-1/src/c/hardware/rasberrypi/NotYetDone/lcd128x64/RPI_lcd128x64ellipse.c +++ /dev/null @@ -1,13 +0,0 @@ -/* Copyright (C) 2016 - IIT Bombay - FOSSEE - - This file must be used under the terms of the CeCILL. - This source file is licensed as described in the file COPYING, which - you should have received as part of this distribution. The terms - are also available at - http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt - Author: Jorawar Singh - Organization: FOSSEE, IIT Bombay - Email: toolbox@scilab.in -*/ - -#include "types.h" \ No newline at end of file diff --git a/2.3-1/src/c/hardware/rasberrypi/NotYetDone/lcd128x64/RPI_lcd128x64line.c b/2.3-1/src/c/hardware/rasberrypi/NotYetDone/lcd128x64/RPI_lcd128x64line.c deleted file mode 100644 index 3e94b925..00000000 --- a/2.3-1/src/c/hardware/rasberrypi/NotYetDone/lcd128x64/RPI_lcd128x64line.c +++ /dev/null @@ -1,13 +0,0 @@ -/* Copyright (C) 2016 - IIT Bombay - FOSSEE - - This file must be used under the terms of the CeCILL. - This source file is licensed as described in the file COPYING, which - you should have received as part of this distribution. The terms - are also available at - http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt - Author: Jorawar Singh - Organization: FOSSEE, IIT Bombay - Email: toolbox@scilab.in -*/ - -#include "types.h" \ No newline at end of file diff --git a/2.3-1/src/c/hardware/rasberrypi/NotYetDone/lcd128x64/RPI_lcd128x64lineTo.c b/2.3-1/src/c/hardware/rasberrypi/NotYetDone/lcd128x64/RPI_lcd128x64lineTo.c deleted file mode 100644 index 3e94b925..00000000 --- a/2.3-1/src/c/hardware/rasberrypi/NotYetDone/lcd128x64/RPI_lcd128x64lineTo.c +++ /dev/null @@ -1,13 +0,0 @@ -/* Copyright (C) 2016 - IIT Bombay - FOSSEE - - This file must be used under the terms of the CeCILL. - This source file is licensed as described in the file COPYING, which - you should have received as part of this distribution. The terms - are also available at - http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt - Author: Jorawar Singh - Organization: FOSSEE, IIT Bombay - Email: toolbox@scilab.in -*/ - -#include "types.h" \ No newline at end of file diff --git a/2.3-1/src/c/hardware/rasberrypi/NotYetDone/lcd128x64/RPI_lcd128x64point.c b/2.3-1/src/c/hardware/rasberrypi/NotYetDone/lcd128x64/RPI_lcd128x64point.c deleted file mode 100644 index 3e94b925..00000000 --- a/2.3-1/src/c/hardware/rasberrypi/NotYetDone/lcd128x64/RPI_lcd128x64point.c +++ /dev/null @@ -1,13 +0,0 @@ -/* Copyright (C) 2016 - IIT Bombay - FOSSEE - - This file must be used under the terms of the CeCILL. - This source file is licensed as described in the file COPYING, which - you should have received as part of this distribution. The terms - are also available at - http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt - Author: Jorawar Singh - Organization: FOSSEE, IIT Bombay - Email: toolbox@scilab.in -*/ - -#include "types.h" \ No newline at end of file diff --git a/2.3-1/src/c/hardware/rasberrypi/NotYetDone/lcd128x64/RPI_lcd128x64putchar.c b/2.3-1/src/c/hardware/rasberrypi/NotYetDone/lcd128x64/RPI_lcd128x64putchar.c deleted file mode 100644 index 3e94b925..00000000 --- a/2.3-1/src/c/hardware/rasberrypi/NotYetDone/lcd128x64/RPI_lcd128x64putchar.c +++ /dev/null @@ -1,13 +0,0 @@ -/* Copyright (C) 2016 - IIT Bombay - FOSSEE - - This file must be used under the terms of the CeCILL. - This source file is licensed as described in the file COPYING, which - you should have received as part of this distribution. The terms - are also available at - http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt - Author: Jorawar Singh - Organization: FOSSEE, IIT Bombay - Email: toolbox@scilab.in -*/ - -#include "types.h" \ No newline at end of file diff --git a/2.3-1/src/c/hardware/rasberrypi/NotYetDone/lcd128x64/RPI_lcd128x64puts.c b/2.3-1/src/c/hardware/rasberrypi/NotYetDone/lcd128x64/RPI_lcd128x64puts.c deleted file mode 100644 index 3e94b925..00000000 --- a/2.3-1/src/c/hardware/rasberrypi/NotYetDone/lcd128x64/RPI_lcd128x64puts.c +++ /dev/null @@ -1,13 +0,0 @@ -/* Copyright (C) 2016 - IIT Bombay - FOSSEE - - This file must be used under the terms of the CeCILL. - This source file is licensed as described in the file COPYING, which - you should have received as part of this distribution. The terms - are also available at - http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt - Author: Jorawar Singh - Organization: FOSSEE, IIT Bombay - Email: toolbox@scilab.in -*/ - -#include "types.h" \ No newline at end of file diff --git a/2.3-1/src/c/hardware/rasberrypi/NotYetDone/lcd128x64/RPI_lcd128x64rectangle.c b/2.3-1/src/c/hardware/rasberrypi/NotYetDone/lcd128x64/RPI_lcd128x64rectangle.c deleted file mode 100644 index 3e94b925..00000000 --- a/2.3-1/src/c/hardware/rasberrypi/NotYetDone/lcd128x64/RPI_lcd128x64rectangle.c +++ /dev/null @@ -1,13 +0,0 @@ -/* Copyright (C) 2016 - IIT Bombay - FOSSEE - - This file must be used under the terms of the CeCILL. - This source file is licensed as described in the file COPYING, which - you should have received as part of this distribution. The terms - are also available at - http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt - Author: Jorawar Singh - Organization: FOSSEE, IIT Bombay - Email: toolbox@scilab.in -*/ - -#include "types.h" \ No newline at end of file diff --git a/2.3-1/src/c/hardware/rasberrypi/NotYetDone/lcd128x64/RPI_lcd128x64setOrigin.c b/2.3-1/src/c/hardware/rasberrypi/NotYetDone/lcd128x64/RPI_lcd128x64setOrigin.c deleted file mode 100644 index 3e94b925..00000000 --- a/2.3-1/src/c/hardware/rasberrypi/NotYetDone/lcd128x64/RPI_lcd128x64setOrigin.c +++ /dev/null @@ -1,13 +0,0 @@ -/* Copyright (C) 2016 - IIT Bombay - FOSSEE - - This file must be used under the terms of the CeCILL. - This source file is licensed as described in the file COPYING, which - you should have received as part of this distribution. The terms - are also available at - http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt - Author: Jorawar Singh - Organization: FOSSEE, IIT Bombay - Email: toolbox@scilab.in -*/ - -#include "types.h" \ No newline at end of file diff --git a/2.3-1/src/c/hardware/rasberrypi/NotYetDone/lcd128x64/RPI_lcd128x64setup.c b/2.3-1/src/c/hardware/rasberrypi/NotYetDone/lcd128x64/RPI_lcd128x64setup.c deleted file mode 100644 index 3e94b925..00000000 --- a/2.3-1/src/c/hardware/rasberrypi/NotYetDone/lcd128x64/RPI_lcd128x64setup.c +++ /dev/null @@ -1,13 +0,0 @@ -/* Copyright (C) 2016 - IIT Bombay - FOSSEE - - This file must be used under the terms of the CeCILL. - This source file is licensed as described in the file COPYING, which - you should have received as part of this distribution. The terms - are also available at - http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt - Author: Jorawar Singh - Organization: FOSSEE, IIT Bombay - Email: toolbox@scilab.in -*/ - -#include "types.h" \ No newline at end of file diff --git a/2.3-1/src/c/hardware/rasberrypi/NotYetDone/multiThreading/u8RPI_locks.c b/2.3-1/src/c/hardware/rasberrypi/NotYetDone/multiThreading/u8RPI_locks.c deleted file mode 100644 index 3e94b925..00000000 --- a/2.3-1/src/c/hardware/rasberrypi/NotYetDone/multiThreading/u8RPI_locks.c +++ /dev/null @@ -1,13 +0,0 @@ -/* Copyright (C) 2016 - IIT Bombay - FOSSEE - - This file must be used under the terms of the CeCILL. - This source file is licensed as described in the file COPYING, which - you should have received as part of this distribution. The terms - are also available at - http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt - Author: Jorawar Singh - Organization: FOSSEE, IIT Bombay - Email: toolbox@scilab.in -*/ - -#include "types.h" \ No newline at end of file diff --git a/2.3-1/src/c/hardware/rasberrypi/NotYetDone/multiThreading/u8RPI_prioritys.c b/2.3-1/src/c/hardware/rasberrypi/NotYetDone/multiThreading/u8RPI_prioritys.c deleted file mode 100644 index 3e94b925..00000000 --- a/2.3-1/src/c/hardware/rasberrypi/NotYetDone/multiThreading/u8RPI_prioritys.c +++ /dev/null @@ -1,13 +0,0 @@ -/* Copyright (C) 2016 - IIT Bombay - FOSSEE - - This file must be used under the terms of the CeCILL. - This source file is licensed as described in the file COPYING, which - you should have received as part of this distribution. The terms - are also available at - http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt - Author: Jorawar Singh - Organization: FOSSEE, IIT Bombay - Email: toolbox@scilab.in -*/ - -#include "types.h" \ No newline at end of file diff --git a/2.3-1/src/c/hardware/rasberrypi/NotYetDone/multiThreading/u8RPI_unlocks.c b/2.3-1/src/c/hardware/rasberrypi/NotYetDone/multiThreading/u8RPI_unlocks.c deleted file mode 100644 index 3e94b925..00000000 --- a/2.3-1/src/c/hardware/rasberrypi/NotYetDone/multiThreading/u8RPI_unlocks.c +++ /dev/null @@ -1,13 +0,0 @@ -/* Copyright (C) 2016 - IIT Bombay - FOSSEE - - This file must be used under the terms of the CeCILL. - This source file is licensed as described in the file COPYING, which - you should have received as part of this distribution. The terms - are also available at - http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt - Author: Jorawar Singh - Organization: FOSSEE, IIT Bombay - Email: toolbox@scilab.in -*/ - -#include "types.h" \ No newline at end of file -- cgit