Search found 14 matches

by fnord
Sat Apr 18, 2020 12:59 pm
Forum: Development of MicroPython
Topic: Porting MicroPython to SwissMicros DM42 / DMCP
Replies: 20
Views: 1552

Re: Porting MicroPython to SwissMicros DM42 / DMCP

Okay, I'll try to make this work for a bit longer, but come to think of it, a bare-metal port might be a viable plan b, or maybe even the better choice in the first place. I haven't completely made up my mind about that yet though. Both approaches have their pros and cons: Using the DMCP OS makes it...
by fnord
Thu Apr 16, 2020 8:39 pm
Forum: Development of MicroPython
Topic: Porting MicroPython to SwissMicros DM42 / DMCP
Replies: 20
Views: 1552

Re: Porting MicroPython to SwissMicros DM42 / DMCP

Okay, first I needed to adapt the Makefile so that libmicropython gets built with the arm toolchain, instead of amd64. -lmicropython: $(MAKE) -f Makefile.upylib MPTOP=$(MPTOP) CC=$(CC) CXX=$(CXX) AS="$(AS)" OBJCOPY=$(OBJCOPY) AR=$(AR) SIZE=$(SIZE) That worked; now it is using arm-none-eabi-gcc. Howe...
by fnord
Tue Apr 14, 2020 9:08 pm
Forum: Development of MicroPython
Topic: Porting MicroPython to SwissMicros DM42 / DMCP
Replies: 20
Views: 1552

Re: Porting MicroPython to SwissMicros DM42 / DMCP

Ah thank you, I somehow missed the embedding example - I'll have a look at that!
by fnord
Sun Apr 12, 2020 10:23 pm
Forum: Development of MicroPython
Topic: Porting MicroPython to SwissMicros DM42 / DMCP
Replies: 20
Views: 1552

Porting MicroPython to SwissMicros DM42 / DMCP

Hi, I would like to port MicroPython to the DMCP platform, and I need a little help getting started. A bit of background: The SwissMicros DM42 Calculator is an improved version of HPs classic HP42s scientific RPN pocket calculator. It's not made (but apparently toleraded) by HP. It uses a basic oper...