Search found 53 matches

by Tetraeder
Tue Feb 27, 2018 1:29 pm
Forum: Development of MicroPython
Topic: ARMv8/AArch64
Replies: 7
Views: 6130

Re: ARMv8/AArch64

Update: I had the problem with executing loops. The program stucked in /py/vmc.c in MP_BC_JUMP by the macro DECODE_SLABEL. The ISSUE-3201: https://github.com/micropython/micropython/issues/3201 , helps to find the right keyword: unaligned access AArch64/ARMv8 supports unaligned access out of box but...
by Tetraeder
Fri Jan 12, 2018 2:17 pm
Forum: Development of MicroPython
Topic: ARMv8/AArch64
Replies: 7
Views: 6130

Re: ARMv8/AArch64

further changes: set function failed "def test():",

solved with: in mpconfigport.h I changed the typedef's

typedef int64_t mp_int_t
typedef uint64_t mp_uint_t;
typedef long long mp_off_t;

and defined "#define MICROPY_OBJ_REPR (MICROPY_OBJ_REPR_D)"
by Tetraeder
Fri Jan 05, 2018 3:23 pm
Forum: Development of MicroPython
Topic: ARMv8/AArch64
Replies: 7
Views: 6130

Re: ARMv8/AArch64

And finally calling "readline_init0" in main.c also solved the issue a post before :D
by Tetraeder
Fri Jan 05, 2018 9:13 am
Forum: Development of MicroPython
Topic: ARMv8/AArch64
Replies: 7
Views: 6130

Re: ARMv8/AArch64

I solved my problem but I'm not sure why this occures a problem. And if it can lead to further problems! I keep trying.... The REPL get stucked in readline.c https://github.com/micropython/micropython/blob/master/lib/mp-readline/readline.c#L436 At the this string-compare strcmp(MP_STATE_PORT(readlin...
by Tetraeder
Wed Jan 03, 2018 4:54 pm
Forum: Development of MicroPython
Topic: ARMv8/AArch64
Replies: 7
Views: 6130

Re: ARMv8/AArch64

Hi jickster, * I used the uPy version 1.9.3. 1. MICROPY_ENABLE_GC -> off: same problem and the controller get stucked in "mp_init()". Even no REPL start. 2. Same problem. repl.png 3. Sorry, wrong statement. I wrote a simple "print("hello"): print("hello") but it works in Paste-Mode: paste_mode.png T...
by Tetraeder
Wed Dec 20, 2017 7:54 pm
Forum: Development of MicroPython
Topic: ARMv8/AArch64
Replies: 7
Views: 6130

ARMv8/AArch64

Hi, I tried to port the "minimal" to AArch64 but the repl does not work properly. I get the access to the REPL ">>>" but if I type a simple "print", the controller executes his whole ARMv8 register and get stucked But if I enter the Paste-Mode and paste some lines, it works fine. If the lines increa...
by Tetraeder
Thu Jul 20, 2017 10:06 am
Forum: Development of MicroPython
Topic: new arch
Replies: 0
Views: 1729

new arch

Hi, I've a general question about to get MicroPython running at non-arm architecture. I'm at the beginnig to port uPy to a Renesas RH850. All information I collected so far is that I need a NLR-file like py/nlrxtensa.c, code for garbage collector optimization, or I go with the standard ANSI C setjmp...
by Tetraeder
Thu Jul 20, 2017 9:08 am
Forum: Other Boards
Topic: Porting to msp432
Replies: 28
Views: 28311

Re: Porting to msp432

Has anyone continued this work?
by Tetraeder
Thu Jul 20, 2017 8:56 am
Forum: Development of MicroPython
Topic: How to port Micropython to TI CC13xx / CC26xx?
Replies: 1
Views: 2685

Re: How to port Micropython to TI CC13xx / CC26xx?

Perhaps this can help:
viewtopic.php?f=12&t=1823

Starting point:
* use minimal, edit/change linkerfile and Makefile.
* add HAL drivers from your board
* add in uart_core.c functions from TI's uart, usb or something else...to get repl access.
...
by Tetraeder
Thu Jul 20, 2017 8:07 am
Forum: Development of MicroPython
Topic: How to compile the Project in IAR studio for STM32F429
Replies: 5
Views: 5953

Re: How to compile the Project in IAR studio for STM32F429

I have the same problem with Greenhills compiler and the qstr gen. Because the preprocessor output not match exactly to this lines: https://github.com/micropython/micropython/blob/master/py/makeqstrdefs.py#L26. I tried a little but no working solution, yet. Maybe someone had the same problem and can...