User Manual EV6550DHAT (CML Microcircuits) - 9

ManufacturerCML Microcircuits
DescriptionRaspberry Pi HAT for CMX655D
Pages / Page12 / 9 — Shell files “.sh”. GLADE files “.Glade” and “.css”. Images “.gif”. Sound …
File Format / SizePDF / 1.1 Mb
Document LanguageEnglish

Shell files “.sh”. GLADE files “.Glade” and “.css”. Images “.gif”. Sound sample files “.wav”. API Instruction File

Shell files “.sh” GLADE files “.Glade” and “.css” Images “.gif” Sound sample files “.wav” API Instruction File

Text Version of Document

link to page 10 Raspberry Pi HAT for CMX655D EV6550DHAT
Shell files “.sh”
BuildGui Shell script that builds the GUI. This shell script directs the GNU Compiler Collection (GCC) to the source files, Libgpiod API and the GTK+ header files and libraries. RunGui Shell script that runs the GUI as root. A convenient solution to allow the GUI to run as root from the desktop not via a terminal.
GLADE files “.Glade” and “.css”
HATGui .GLADE project file used by HATGUI.c and HATGUI.h files. This simplifies creation and modification of the GUI interface. HATGui .css GUI file for defining any GUI formatting or styles applied to the GUI interface.
Images “.gif”
BlockD_2 CMX655D Block Diagram used by the GUI Chip2 Chip illustration used by the GUI GenlogoSmall CML logo used by the GUI
Sound sample files “.wav”
Canned_xxx Four pre-recorded 16 bit voice samples at 8k, 16k, 32k and 48ksps
API Instruction File
EV6550DHAT_API.doc A reference guide for the EV655DHAT API. This document lists and describes commands that are implemented in the 655spt.c source file, some of which are used to enable EV6550DHAT GUI functionality.
8 GUI ‘C’ Source Files and Modification
As the source files for the GUI are provided, it is possible to recompile the executable within a suitable text environment. In this example Geany is used (which is supplied as part of the Raspbian OS).
Note
: CML does not accept responsibility for any changes made to the source code should the EV6550DHAT fail to operate as expected or be damaged as a result of any improper modifications. Before proceeding it is important that access permissions are set to “all users” for all scripts files “.sh” and the executable HatGui if the user is not already the “super user”. See online Raspbian documentation for hierarchical structure and access. From within Geany, the supplied build files can be opened and the BuildGui.sh script selected. The basic build commands can be selected from the menu. Figure 8 shows a simple “MakeMe” setup. Here “BuildGui.sh” is used to link and compile the C source files and the executable run via “RunGui.sh” from within the Geany application.  2019 CML Microsystems Plc 9 UM6550DHAT/1 Document Outline User Manual Front Page 1 Introduction 2 CMX655D Ultra-low Power Voice Codec 3 Raspberry Pi Compatibility 4 Power Supplies 5 Handling Precautions 6 Quick Start 6.1 Mounting The EV6550DHAT To The Raspberry Pi 6.2 Software Installation 6.3 GUI Description and Board Operation 7 Supplied Source Code 8 GUI ‘C’ Source Files and Modification 9 Troubleshooting 10 Additional Hardware Information 10.1 Hardware Test Points End of Document
EMS supplier