|
hsk-libs-scripts
270
High Speed Karlsruhe XC878 build scripts
|
Finds call tree manipulations for µVision from C files. More...
Functions | |
| void | filter19 () |
| Pass all arguments to cstrip.awk and pass the output to TMPFILE. More... | |
| void | filter49 () |
| Reduce nesting depth. More... | |
| void | filter56 () |
| Just for debugging level > 1, print the current input line. More... | |
| void | filter63 () |
| Increase nesting depth. More... | |
| void | filter70 () |
| Get filename, useful for debugging. More... | |
| void | filter80 () |
| The hsk_isr_rootN() function is present, so an ISR call tree can be built. More... | |
| void | filter89 () |
| Gather interrupts. More... | |
| void | filter104 () |
| Catch shared ISRs. More... | |
| void | filter117 () |
| Catch timer0/timer1 ISRs. More... | |
| void | filter130 () |
| Catch external interrupts. More... | |
| void | filter152 () |
| Remove TMPFILE and print assembled data. More... | |
Finds call tree manipulations for µVision from C files.
This script directly makes use of the coding conventions of the hsk_libs and uses internal knowledge, which makes it useless for any other purpose.
| void filter19 | ( | ) |
Pass all arguments to cstrip.awk and pass the output to TMPFILE.
Creates the following globals:
BEGIN
| void filter49 | ( | ) |
Reduce nesting depth.
/\}/
| void filter56 | ( | ) |
Just for debugging level > 1, print the current input line.
DEBUG > 1
| void filter63 | ( | ) |
Increase nesting depth.
/\
| void filter70 | ( | ) |
Get filename, useful for debugging.
/^#[0-9]+".*"/
| void filter80 | ( | ) |
The hsk_isr_rootN() function is present, so an ISR call tree can be built.
/^void hsk_isr_root[0-9]+\(.*\)(__)?using [0-9]+$/
| void filter89 | ( | ) |
Gather interrupts.
/^void .*\(void\)(__)?interrupt [0-9]+ (__)?using [0-9]+$/
| void filter104 | ( | ) |
Catch shared ISRs.
/^hsk_isr[0-9]+\.[a-zA-Z0-9_]+=&[a-zA-Z0-9_]+;/
| void filter117 | ( | ) |
Catch timer0/timer1 ISRs.
/^hsk_timer[0-9]+_setup\(.*,\&[a-zA-Z0-9_]+\);/
| void filter130 | ( | ) |
Catch external interrupts.
/^hsk_ex_channel_enable\([a-zA-Z0-9]+,.*,&[a-zA-Z0-9_]+\);/
| void filter152 | ( | ) |
Remove TMPFILE and print assembled data.
END
1.8.12