Search found 170 matches

by gray
Sun Feb 09, 2025 11:25 pm
Forum: Astrobe for Raspberry Pi RP2040 and RP2350
Topic: Program Counter
Replies: 3
Views: 81764

Re: Program Counter

Well, I think you are underplaying your role and work here! I mean, if I look at the (version) history… :)

Is the original source code NW's ARM compiler available, as it is for Project Oberon?
by gray
Thu Feb 06, 2025 11:24 am
Forum: Astrobe for Raspberry Pi RP2040 and RP2350
Topic: Program Counter
Replies: 3
Views: 81764

Program Counter

J. Yiu states for both the M0+ (RP2040) and M33 (RP2350) that the program counter (PC) is the address of the current instruction plus 4 [1][2]. The Astrobe docs say that the RP2040's PC is four bytes ahead of the current instruction, while the RP2350 is eight bytes ahead. The Arm v8-M manual says th...
by gray
Thu Feb 06, 2025 10:39 am
Forum: Oberon Language
Topic: Conditional Compilation
Replies: 6
Views: 674635

Re: Conditional Compilation

Thanks for the clarification. And this strictly works with BOOLEAN CONSTs only, correct? With this facility, we could now structure modules thusly. MODULE Variant; CONST RP2040* = TRUE; RP2350* = FALSE; END Variant. MODULE M; IMPORT Variant; PROCEDURE Init*; BEGIN IF Variant.RP2040 THEN (* ... *) EL...
by gray
Wed Feb 05, 2025 11:50 pm
Forum: Oberon Language
Topic: Conditional Compilation
Replies: 6
Views: 674635

Re: Conditional Compilation

Thank you for your explanations and example code. Nested IFs are only ever eliminated if the IF statement that contains them is eliminated. Hence, to be sure I understand this correctly, using your example code: CONST T0 = TRUE; F1 = FALSE; PROCEDURE P4(); BEGIN IF T0 THEN IF F1 THEN Included() (* ?...
by gray
Wed Feb 05, 2025 12:06 pm
Forum: Oberon Language
Topic: Conditional Compilation
Replies: 6
Views: 674635

Re: Conditional Compilation

What would be the compilation and linking result of the following code, using your example (or similar, possibly nested, IF structures): IF Trace.enabled THEN Trace.Message("Init started") ELSIF OtherTrace.enabled THEN (* ... *) ELSE (* ... *) END; where 'OtherTrace' is some other tracing module, an...
by gray
Wed Jan 29, 2025 11:23 am
Forum: Raspberry Pi RP2040 and RP2350
Topic: Oberon RTK Updates
Replies: 19
Views: 7686136

Re: Oberon RTK Updates

by gray
Mon Dec 30, 2024 1:50 am
Forum: Raspberry Pi RP2040 and RP2350
Topic: Oberon RTK Updates
Replies: 19
Views: 7686136

Re: Oberon RTK Updates

Latest changes and updates: https://oberon-rtk.org/updates/2024/cn-2024-12-29/ Extension of run-time error handling and stack traces, including example/test programs: https://oberon-rtk.org/docs/examples/v2/stacktrace/. Including some surprises with the RP2350. Website: https://oberon-rtk.org/ GitHu...
by gray
Mon Dec 16, 2024 10:11 am
Forum: Raspberry Pi RP2040 and RP2350
Topic: Oberon RTK Updates
Replies: 19
Views: 7686136

Re: Oberon RTK Updates

Latest changes and updates: https://oberon-rtk.org/updates/2024/cn-2024-12-15/ There's a description of a simple "universal IDE" that I have cobbled together for my own use, but may release if there's sufficient interest. It integrates Astrobe's command line tools for different MCUs into a single wo...
by gray
Tue Dec 03, 2024 10:30 am
Forum: Raspberry Pi RP2040 and RP2350
Topic: Oberon RTK Updates
Replies: 19
Views: 7686136

Re: Oberon RTK Updates

Latest changes and updates: https://oberon-rtk.org/updates/2024/cn-2024-12-02/

Main addition is a rewritten, from the ground up, UF2 transmogrifier and uploader: https://oberon-rtk.org/docs/tools/makeuf2/

Website: https://oberon-rtk.org/
GitHub repository: https://github.com/ygrayne/oberon-rtk
by gray
Tue Nov 26, 2024 7:48 am
Forum: Raspberry Pi RP2040 and RP2350
Topic: Oberon RTK Updates
Replies: 19
Views: 7686136

Re: Oberon RTK Updates

Latest changes and updates: https://oberon-rtk.org/changes/2024/cn-2024-11-25/

Main additions are modules for the Watchdog and Alarms, including example programs.

Website: https://oberon-rtk.org/
GitHub repository: https://github.com/ygrayne/oberon-rtk