Hi ,
This is a week 1 status update for the project : Fix Bugs in BoneScript & Improve BBUI.
Issues Fixed(till now):
I was working on fixing the issues reported at : https://github.com/beagleboard/bonescript/issues (moved from jadonk/bonescript/issues) and was able to fix these issues,
Issue #17 Interchanging digital and analog functions : First two parts of the issue was solved by the author itself , i have added a patch to perform analogWrite() on DOUT Pins here:
https://github.com/jadonk/bonescript/pull/162
Issue #34 Pin Mux Error on P8_40 : This was an issue regarding mistakes in the pin mux definition of P8_40 , i have corrected it after referring am3358 manual, here :
https://github.com/jadonk/bonescript/pull/164
Issue #24 Use module.exports instead of exports : replaced all the instances of ‘exports’ in the library with ‘module.exports’ and verified all the exported objects(also from individual files) before and after the change : https://github.com/jadonk/bonescript/pull/166
Issue #16 Handle case where debugfs not already mounted : submitted a patch to handle this case and has fixed the issue successfully here : https://github.com/jadonk/bonescript/pull/169
Issue#13 Add C Function Support : External C module support was achieved in BoneScript using Node.js add-on ‘ffi’ and some working MRAA examples(also fixed MRAA SPI Issue) were demonstrated.
Implementation : https://github.com/jadonk/bonescript/pull/170 , examples and documentation : https://github.com/vaishnav98/bonescript_ffiexamples .
Current Work :
I am presently working on PWM Issues ( Smooth PWM Implementation and [disable/enable pwm : if required]) , {Issues #30 , #26, #37}, i have tried out the patches but was not able to verify the output
as i didn’t have access to an Oscilloscope, will complete fixing the PWM issues this week itself as i have made arrangements for testing.
Issues faced this week : could not get access to an oscilloscope for testing,can solve it this week.
Next week Plan :
In the coming week i am planning to :
1)finish fixing PWM related Issues
2)Try to provide support for HCSR04 Ultrasound Sensor, generalize the solution for loading/executing PRU firmware from BoneScript
3) work on providing steps for Installing BoneScript on Snappy Ubuntu core (if required : as BeagleBone is not in the list of supported boards now (https://developer.ubuntu.com/core/get-started)
Regards
Vaishnav