Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
khj098765 committed Apr 29, 2015
1 parent f9a1ed9 commit 9badf20
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 107 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -74,10 +74,10 @@
<UserProg2Dos16Mode>0</UserProg2Dos16Mode>
</BeforeMake>
<AfterMake>
<RunUserProg1>1</RunUserProg1>
<RunUserProg2>0</RunUserProg2>
<RunUserProg1>0</RunUserProg1>
<RunUserProg2>1</RunUserProg2>
<UserProg1Name>$K\ARM\ARMCC\BIN\fromelf.exe #L --vhx --8x1 --output main.hex</UserProg1Name>
<UserProg2Name></UserProg2Name>
<UserProg2Name>fromelf --bin -o "[email protected]" "#L"</UserProg2Name>
<UserProg1Dos16Mode>0</UserProg1Dos16Mode>
<UserProg2Dos16Mode>0</UserProg2Dos16Mode>
</AfterMake>
Expand Down Expand Up @@ -424,11 +424,6 @@
<FileType>1</FileType>
<FilePath>..\..\..\..\..\Libraries\W7500x_stdPeriph_Driver\src\W7500x_i2c.c</FilePath>
</File>
<File>
<FileName>W7500x_uart.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\..\..\Libraries\W7500x_stdPeriph_Driver\src\W7500x_uart.c</FilePath>
</File>
</Files>
</Group>
<Group>
Expand All @@ -454,11 +449,6 @@
<FileType>1</FileType>
<FilePath>..\W7500x_it.c</FilePath>
</File>
<File>
<FileName>retarget.c</FileName>
<FileType>1</FileType>
<FilePath>..\retarget.c</FilePath>
</File>
</Files>
</Group>
</Groups>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
#define I2C_Debug
/* Private macro -------------------------------------------------------------*/
/* Private variables ---------------------------------------------------------*/
UART_InitTypeDef UART_InitStructure;
I2C_ConfigStruct conf;

int8_t I2C_1byte_rw(I2C_TypeDef * I2Cx,uint8_t Prescale,uint16_t Timeout,uint8_t SlaveAddress,uint8_t data);
Expand All @@ -46,10 +45,6 @@ int main()
uint8_t data = 0xAA;
/*System clock configuration*/
SystemInit();
/* UART0 and UART1 configuration*/
UART_StructInit(&UART_InitStructure);
/* Configure UART0 */
UART_Init(UART1,&UART_InitStructure);
/* I2C Init */
/* I2C confiugred as follow:
* - I2C master mode
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -66,18 +66,18 @@
<nStopU2X>0</nStopU2X>
</BeforeCompile>
<BeforeMake>
<RunUserProg1>1</RunUserProg1>
<RunUserProg1>0</RunUserProg1>
<RunUserProg2>0</RunUserProg2>
<UserProg1Name>fromelf --bin -o "[email protected]" "#L"</UserProg1Name>
<UserProg1Name></UserProg1Name>
<UserProg2Name></UserProg2Name>
<UserProg1Dos16Mode>0</UserProg1Dos16Mode>
<UserProg2Dos16Mode>0</UserProg2Dos16Mode>
</BeforeMake>
<AfterMake>
<RunUserProg1>0</RunUserProg1>
<RunUserProg2>0</RunUserProg2>
<RunUserProg2>1</RunUserProg2>
<UserProg1Name>$K\ARM\ARMCC\BIN\fromelf.exe #L --vhx --8x1 --output main.hex</UserProg1Name>
<UserProg2Name></UserProg2Name>
<UserProg2Name>fromelf --bin -o "[email protected]" "#L"</UserProg2Name>
<UserProg1Dos16Mode>0</UserProg1Dos16Mode>
<UserProg2Dos16Mode>0</UserProg2Dos16Mode>
</AfterMake>
Expand Down

0 comments on commit 9badf20

Please sign in to comment.