Search found 444 matches

by cfbsoftware
Thu Jun 07, 2012 1:29 pm
Forum: Cortex-M0, M3, M4 and M7
Topic: Display Text on a Nokia 6610 / Epson 132x132 LCD display
Replies: 0
Views: 15385

Display Text on a Nokia 6610 / Epson 132x132 LCD display

Main module: TextDisplay.mod MODULE TextDisplay; (* ========================================================================= Example Cortex-M3 Oberon Program Description: 1. Write the complete character set for the font twice to a display. This demonstrates the automatic wrap at end of line and scr...
by cfbsoftware
Wed Jun 06, 2012 1:16 pm
Forum: Cortex-M0, M3, M4 and M7
Topic: IAP Demo - erasing / writing flash memory etc.
Replies: 0
Views: 18188

IAP Demo - erasing / writing flash memory etc.

Main Module - IAPDemo.mod: MODULE IAPDemo; (* ========================================================================= Example Cortex-M3 Oberon Program Description: Uses the LPC1000 on-chip IAP functions to perform the following: 1. Display the part identification number 2. Display the boot code ve...
by cfbsoftware
Sun Jun 03, 2012 12:07 am
Forum: Oberon Language
Topic: New standard procedure BITS
Replies: 0
Views: 12761

New standard procedure BITS

Release v4.2 of Astrobe for Cortex-M3 has a new Oberon language extension - the built-in procedure BITS: PROCEDURE BITS(i: INTEGER): SET; BITS is a feature of the language Component Pascal (i.e. Oberon-2+) which we use to develop the Astrobe Oberon compiler. BITS takes an INTEGER parameter and retur...
by cfbsoftware
Fri Apr 27, 2012 8:26 am
Forum: Oberon Language
Topic: Concatenating string constants
Replies: 4
Views: 33884

Re: Concatenating string constants

Does this influence the current 60 character limitation? No - that is a separate issue. The concatenated CONST string would be limited to 60 characters unless the limit was also increased. I opt for more consistent rules: e.g.: CONST Pi =3.14159268; twoPi = 2*Pi; This should not give compiler error...
by cfbsoftware
Wed Apr 25, 2012 12:38 am
Forum: Astrobe for ARM Cortex-M0, M3, M4 and M7
Topic: Olimex LPC-P1343 and LPC-1766STK now supported
Replies: 0
Views: 18046

Olimex LPC-P1343 and LPC-1766STK now supported

We have now successfully tested the LPC-P1343 and LPC-1766STK prototype boards from Olimex so we have added them to the list of supported development boards:

http://www.astrobe.com/boards.htm
by cfbsoftware
Thu Apr 05, 2012 11:24 pm
Forum: Cortex-M0, M3, M4 and M7
Topic: Blinker for LPC17xx
Replies: 0
Views: 14217

Blinker for LPC17xx

The following example works on the LPC1751 and LPC1756 boards from Coridium. MODULE Blinker; (* Example Cortex-M3 Oberon Program for NXP LPC17xx Led connected to P2.10 blinking approx. once per second *) IMPORT Main, MCU, SYSTEM, Timer; PROCEDURE Run(); CONST (* led connected to pin P2.10 *) ledBit ...
by cfbsoftware
Thu Feb 23, 2012 12:45 pm
Forum: Oberon Language
Topic: Concatenating string constants
Replies: 4
Views: 33884

Concatenating string constants

We are considering implementing an extension to Oberon in Astrobe to allow the use of + as a concatenation operator for string constants. This would be useful if you wanted to include double-quotes or non-printing characters in strings. e.g. CONST QuotedString = 022X + "String" + 022X; or if you pre...
by cfbsoftware
Fri Feb 03, 2012 7:13 am
Forum: Astrobe for ARM Cortex-M0, M3, M4 and M7
Topic: Oberon running on Cortex-M3
Replies: 4
Views: 33847

Re: Oberon running on Cortex-M3

We are still on track (despite the temporary diversion to implement the changes caused by the 2011 revision of Oberon) to our August 2011 announcement:

"Q2 2012 or possibly Q1 2012 if everything goes as planned"
by cfbsoftware
Wed Feb 01, 2012 11:29 am
Forum: Oberon Language
Topic: Exported pointer variables
Replies: 15
Views: 91613

Re: Exported pointer variables

(By the way, when it comes to export of variables I would also have liked to be able to export character arrays which makes sense since strings can be exported.) That does not follow. strings are constants character arrays are variables . In the case of executables created using Astrobe the differe...
by cfbsoftware
Wed Feb 01, 2012 11:16 am
Forum: Oberon Language
Topic: Exported pointer variables
Replies: 15
Views: 91613

Re: Exported pointer variables

... my standpoint is that the inability to modify an exported field though an exported pointer (as in my example) represents a minor compiler bug That is not correct. Unless I have misunderstood what you are saying I believe you have 'got the wrong end of the stick'. The system is designed to try t...