VedantParanjape/simpPRU

pru-gcc vs. gcc-pru

MarkAYoder opened this issue · 13 comments

The main README.md referecnes pru-gcc, but it should be gcc-pru.

Requirements need to include cmake

docs/language-reference/language.md has several places where ````pythonand ``` `is used. To format correctly it must be at the start of a line to format correctly . i.e.:

Help says BBB

simppru --help
Usage: simppru [OPTION...] FILE
Compiler for simpPRU, compiles simpPRU code down to PRU-C

      --device=<device_name> Select for which BeagleBoard to compile
                             (PocketBeagle, BBB, BBB Wireless, BB AI)

But the command is bbb

simppru --device=bbb led_blink.sim

The main README.md referecnes pru-gcc, but it should be gcc-pru.

solved in a1c84eb

Requirements need to include cmake

solved in a1c84eb

Help says BBB

simppru --help
Usage: simppru [OPTION...] FILE
Compiler for simpPRU, compiles simpPRU code down to PRU-C

      --device=<device_name> Select for which BeagleBoard to compile
                             (PocketBeagle, BBB, BBB Wireless, BB AI)

But the command is bbb

simppru --device=bbb led_blink.sim

solved in a1c84eb

docs/language-reference/language.md has several places where ````pythonand ``` `is used. To format correctly it must be at the start of a line to format correctly . i.e.:

Hey, could you elaborate a bit, I am unable to understand the problem here.

Thanks.

Take a look at the formatted /language.md. Scroll down a ways and you'll see ```python in the text after Integer
image

The raw file shows the ```python is indented.
image

If you remove the spaces before the ```python, it will format correctly.

Hey,
Actually it is not meant to be read in .md format. These files are for the mkdocs generator. Which does not use vanilla Markdown. Unfortunately, github can't process it the way mkdocs will.

For docs generated using these markdown files, please take a look at: https://simppru.readthedocs.io/en/latest/
For the functions language reference: https://simppru.readthedocs.io/en/latest/language-reference/language/#functions

If you remove the spaces before the ```python, it will format correctly.

If I remove spaces, it will break mkdocs generated output.

Thanks and Regards,
Vedant Paranjape

@VedantParanjape if you run simppru and gcc-pru isn't installed, the error meswsage is pru-gcc: not found. It should be gcc-pru not found.

@MarkAYoder Thanks for the report, I have pushed the fix.

There's a reference to pru-gcc on the main page of https://simppru.readthedocs.io/en/latest/

Fixed in #23