Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Is there a way in OSSIE to generate custom Devices (for custom hardware), otherwise known as System Components as I currently understand them to be?

0
Posted

Is there a way in OSSIE to generate custom Devices (for custom hardware), otherwise known as System Components as I currently understand them to be?

0

The OSSIE tools do not generate code for devices at this time. If the number of devices that need to be generated is low then it would be quicker to create the devices by hand by modifying the GPP example, as it is essentially already skeleton code. The skeleton code that needs to be generated by the script is very minimal, 5-10 lines each file, including XML, CPP, H and makefiles. To incorporate a new device into the framework, the device implementation needs to be created and updated for the specific device. The best way to do this would by modifying the GPP device. Rename all of the GPP.* files to DEVICENAME.*, and change all references within the files to the same. Any interfaces that need to be custom (configure, allocateCapacity, etc.) will need to be written by hand in DEVICENAME.cpp. Until the OSSIE tools support this procedure, here are the steps to do it by hand: Now that the device (created from a copy of the GPP device) exists, the device needs to be referenced by the devic

Related Questions

Thanksgiving questions

*Sadly, we had to bring back ads too. Hopefully more targeted.