VedantParanjape / simpPRU

Intuitive language for PRU which compiles down to PRU C
https://simppru.readthedocs.io/en/latest/
MIT License
67 stars 11 forks source link

Support BBG #55

Open devops724 opened 1 year ago

devops724 commented 1 year ago

Hi BeagleBone Green is same as BBB in pru but when i want to compile blink example for BBG, when i don't define the device parameter i get this error 2 : error: syntax error, unexpected IDENTIFIER with device parameter it get compiled but not load into pru simppru blink.sim -o build/blink.sim -p 0 --device=bbb --verbose --load

devops724 commented 1 year ago

i can get it work by manually start pru from simppru-console , seems pru id is wrong as i build for p 0 but should start pru 1 to start pru 0 on each start it hang and i should close it by ctrl+c see this message on console simppru-console Error could not determine beagleboard model Not a beagleboard device

the other issue i have is i can't use USR1 for digital write and light up internal led

VedantParanjape commented 1 year ago

Hey, there was a PR to enable this, but I haven't go around to reviewing it yet.

tju-sun-lab commented 5 months ago

Hey, there was a PR to enable this, but I haven't go around to reviewing it yet.

Hi, can you update a new version to support BBG? I came across the same problem.