Skip to content

villacampa/picsimlab_examples

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 

Repository files navigation

PICSimLab Examples

Examples List

PICSimLab Github

PICSimLab Download

Online version of PICSimLab

How to contribute sending one example

The .pzw file format

The .pzw file is a directory named Picsimlab_workspace with some files compressed with zip.

The structure of the unzipped file is this:

  • Picsimlab_workspace/
    • mdump_{bname}_{processor}.hex
    • parts_{bname}.pcf
    • picsimlab.ini
    • Readme.html

The mdump_{bname}_{processor}.hex file is the .hex file to be loaded into the simulator. Where {bname} defines the board and {processor} defines the processor to be used;

The parts_{bname}.pcf file contains the Spare parts window configuration. (Optional);

The picsimlab.ini file contains the configuration of simulator to run the file .hex;

And the Readme.html file contains information about the file. (Optional).

Example directory structure:

The structure of example directory is this:

  • {bname}/{processor}/{example}
    • mdump_{bname}_{processor}.hex (Mandatory)
    • parts_{bname}.pcf (Optional)
    • {example}.png (Mandatory)
    • picsimlab.ini (Mandatory)
    • Readme.html (Mandatory)
    • src/ (Optional)

How to make one example

The simplest way is using PICSimLab.

  1. Load your code and make all your settings.
  2. With everything working, in the File menu, use the Save Workspace option to generate a .pzw file.
  3. Rename the .pzw file to .zip and unzipped it.
  4. Add in the unzipped directory:
    • The Readme.html file containing the example information.
    • The {example}.png file with an example figure.
    • (Optional) One src/ directory containing the source code, to be referenced by the Readme.html file

How to send the example

The most suitable is using github:

  1. Make a fork of repository.
  2. Put your new example in directory examples/unpacked/{bname}/{processor}/{example}
  3. Create a Pull request.

Another way would be to send to me the compressed folder of the example by email. (less recommended)

PICSimLab

PICSimLab

About

PICSimLab Examples

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published