I couldn't get the automated install of Win32::API to work so I downloaded it from:, unzip and install instuctions are included in README. You can also use a commercial debugger such as Affrus (Mac OS X), Komodo from Activestate (Windows and Mac OS X), or EPIC (most platforms). You can then open a DOS prompt and cd into the directory to run "perl Makefile.PL", "perl " to test (don't worry about errors :-), then finally "perl " to install it. Next, download Win32::SerialPort from and unzip it to a local directory. Win32::SerialPort isn't directly available with Active Perl 5.6, but it requires Win32::API which is, so start ppm from command prompt ( C:\Perl\bin\ppm or use the Menu Shortcut) and type "search Win32::API", and then "install 1" (needed because it might find two modules starting with Win32::API). The rest of this section should not be needed if one follows RunningProgOnWin.įor using the GenBoard/Firmware/BootLoader you also need to install the Win32::SerialPort module. You can choose to follow RunningProgOnWin page, the very first step is getting perl anyway.ĭownload the 8.6MB Perl 5.6.1 MSI package, and the 2MB Microsoft MSI installer package if required. If you see the following output, your installation is ok. Open a command window, and type in 'perl -v'. Double click on the downloaded file name: ActivePerl-5.8.8.820-MSWin339.msi, and follow the installation tool to install ActivePerl to your hard drive at C:\perl. Using ActivePerl at work Use ActivePerl Business or Enterprise Editions for production servers, and get access to technical support. Weve bundled some of the best packages, tools, and documentation to easily adopt this language in your projects. To install Perl on inferior operating systems (Windows to the uniformed -), activeperl is a good choice. Download the ActivePerl 5.8.8 build 820, Windows MSI. ActivePerl ® is ActiveStates commercially supported, quality-assured Perl distribution. Many systems have Perl installed by default. The time of compiling is also written into the flash (compile_time.h) with the help of a perl script. The edited (config or tables) datafile can be converted by Perl to menucommands that can be sent via serialport, see GenBoard/InitialConfig. (if the value if the given enrichment is 04 hexadecimal). MS-AVR can dump it's configuration to the serial port with menu mcd, the above line becomes Perl is used to make varstr.h and magicstr.h to convert the elements of config_t into strings that get loaded into the flash, so that the // comment string can be displayed on the lcd in the appropriate menu ( GenBoard/MenuSystem), particularly mtt c. Uint8_t awev // After-start Warmup Percent enrichment add-on value For example global.h contains a struct config_t with lines like: The perl is needed to make code maintenance easier. The MS-AVR application is written primarily in C, small part in assembly. Perl is used during some build, maintenance, backup, testing tasks, and sometimes for serial logging (normally not used, only some special applications, like dyno operators or scientific projects)
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |