Electronic Components Datasheet Search |
|
AN3349 Datasheet(PDF) 8 Page - STMicroelectronics |
|
AN3349 Datasheet(HTML) 8 Page - STMicroelectronics |
8 / 13 page Converter options AN3349 8/13 Doc ID 018511 Rev 2 3 Converter options 3.1 No warnings When the -noWarn option is used warnings aren't reported. This option is useful when converting many file and only the conversion errors are important. For more details about warnings, see the Chapter 5: Limitations. 3.2 Preprocessing When the -pp option is used the file is preprocessed before being converted. The preprocessing is executed using the ccetpu compiler. In the preprocessing stage all the macros are analyzed and replaced with their values. Only after preprocessing the file, its conversion starts. This option is useful with c files that use macros in their inline assembly sections. The converter will not recognize the macros without preprocessing the file first and therefore the option is necessary in such cases. Note: Using this option will cause white space and new line modifications in the file. Spaces and new lines might be added or removed during the preprocessing stage, and macros will be replaced with their values, but the actual content of the file will not be modified. When using this option, the input file is passed through the ccetpu C compiler. Therefore, it has to follow eTPU c language rules, for example the file must end with a ".c" extension. Example of the -pp option: etpu_asm_converter.exe -pp -c c_input.c out.txt 3.3 Debug information When the -debugE option is used debug information is printed in case of errors. This information may be useful in order to find Byte Craft syntax errors. Note that this option was created for development purposes and therefore in many cases the provided information will probably not be clear or helpful. This option is mostly useful in chan instruction. For example: etpu_asm_converter.exe -m -debugE chan set flag2. error in line 3: syntax error, unexpected FREE_TEXT, expecting FLAG0 or FLAG1. Table 3. Preprocessing options c_input.c def.h out.txt #include "def.h" #asm MY_ALU c = REG_B+ VALUE. MY_CHAN pdcm= sm_dt. #endasm #define MY_ALU alu #define REG_B b #define VALUE 3 #define MY_CHAN chan #include "def.h" asm{ addi c,b,3 chmode.sm_dt } |
Similar Part No. - AN3349 |
|
Similar Description - AN3349 |
|
|
Link URL |
Privacy Policy |
ALLDATASHEET.NET |
Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
Family Site : ic2ic.com |
icmetro.com |