beagleboard / am335x_pru_package

331 stars 181 forks source link

Pasm #22

Closed olsonse closed 10 years ago

olsonse commented 10 years ago

Some changes to pasm:

  1. Redefine #include (where we are using <> brackets) to follow suite for #include <...> macro in c processors. In other words, when using the <> brackets form, only files that are found in the include_dirs search paths will be included.
  2. Create a command line option (-Idir) that adds to the newly defined include_dirs notion. With this new capability, it is much easier to reuse code as well as create macro libraries that are of general use.
  3. Add ability to process/skip /* */ style comments. Note only is this done for convenience, but it also makes it easier to share code between C and PASM files.
  4. Add support for line continuation ala '\' Not only does this allow for much longer definitions of macros, regardless of how small the actually become after processing, bit this also furthers the ability to share header files between C and PASM code.