Home
Prox / RFID
Verichips
Ladder Logic
[interfacing] †
Tube Joints
Key Code From Photo
SolveSpace (3d CAD)
SketchFlat (2d CAD)
Photographs
Miscellany
Resume / Consulting
Contact Me

LDmicro Forum - LDmicroCompiler by BoumPower

(you are viewing a thread; or go back to list of threads)

LDmicroCompiler by BoumPower (by Juan)
Hi BoumPower,

What exactly does your compiler compile? is it C or C++ or .LD source code? How would I go about using your compiler?
Wed May 26 2010, 04:54:26
(no subject) (by BoumPower)
It's a command line tool that compile .LD source code

Without parameters, it display a help text about command line parameters usage.

The output is either "ANSI C code" or "Virtual machine code", but this last option is not enough implemented for use (I will do further).

The "ANSI C" output begins to be ready for use, but I haven't tested yet.

I hope that somebody add a menu item in LDmicro.exe editor that run directely my command line compiler with correct parameters. This will simplify the user...

Best regards
Wed May 26 2010, 06:32:47
(no subject) (by BoumPower)
I added a new output format (command line option /f:calm)

the generated file is compatible with CALM assembler (SmileNG)

A example of output from blink.ld is attached
Fri May 28 2010, 12:45:03, download attachment vmTest.asm
(no subject) (by Juan)
Can your compiler produce .HEX files to program a pic using MPLAB?
Sat May 29 2010, 12:41:15
(no subject) (by BoumPower)
The output of the CALM assembler is .hex file....

At end of the project, I will have a tool chain that do the folleowing :
- LDmicro of Jonathan : create the ladder in graphic interface
- LDmicroCompiler : compile to CALM assembly source
- CALM assembler (actually SmileNG) : assemble to .hex file

the final .hex file can be uploaded to pic mcu device with MPLAB, PICkit2....
Sat May 29 2010, 13:06:36
Post a reply to this comment:
Your Name:
Your Email:
Subject:
(no HTML tags; use plain text, and hit Enter for a line break)
Attached file (if you want, 5 MB max):