More info below ... > I found a minor thing that puzzles me: > > |I=mcudef > |I=using device.py for atmega32 > |F=/home/ew/Forth/atmega/46_trunk-2/lib/bitnames.frt > |C| 1|\ V 1.3 02.11.2007 > |W| 2| > |C| 3|\ Code: Matthias Trute > |C| 4|\ Text: M.Kalus > |W| 5| > |C| 6|\ A named port pin puts a bitmask on stack, wherin the set > bit indicates which > |C| 7|\ bit of the port register corresponds to the pin. > |C| 8|\ And then puts the address of its port on stack too. > |W| 9| > |C| 10|\ Use it this way: > |C| 11|\ PORTD 7 portpin: PD.7 ( define portD pin #7) > |E| 12|\ PD.7 high ( turn portD pin #7 on, i.e. set it high-level) > |E=Illegal nested comment > make: *** [marker] Error 1
This can be worked around by adding a space before the closing ')'. ... |C| 10|\ Use it this way: |C| 11|\ PORTD 7 portpin: PD.7 ( define portD pin #7 ) |C| 12|\ PD.7 high ( turn portD pin #7 on, i.e. set it high-level ) ... > Illegal nested comment? Not quite. "\ " starts a comment, which > extends to the end of line, no questions asked. This is probably > simple to fix, but I have not yet looked into the code. Erich ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Amforth-devel mailing list for http://amforth.sf.net/ Amforth-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/amforth-devel