Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ESP8266 #12

Open
hongkongkiwi opened this issue Jun 12, 2018 · 1 comment
Open

ESP8266 #12

hongkongkiwi opened this issue Jun 12, 2018 · 1 comment

Comments

@hongkongkiwi
Copy link

Is there plans for adding support for the ESP8266 wifi chips?

It's very popular and I think it would be a great candidate for emgo!

@ziutek
Copy link
Owner

ziutek commented Jun 13, 2018

I have a lot of knowledge about ARM Cortex-M architecture. I briefly studied MIPS (PIC) and Xtensa (ESP8266, ESP32), however, my knowledge about the latter two is negligible compared to Cortex-M.

I like Cortex-M architecture. It's very elegant comparing to both mentioned, especially its way of handling interrupts and events.

There are to much to do in the world of ARM MCUs for one person like me and I probably won't be able to deal with other architectures. Help is need...

dongkc pushed a commit to dongkc/emgo that referenced this issue May 23, 2022
func main() { panic("foo"); } with previous (union based) definition of interface and type casting:

20000040:   b580          push    {r7, lr}
20000042:   2300          movs    r3, #0
20000044:   b08c          sub     sp, #48 ; 0x30
20000046:   e9cd 3308     strd    r3, r3, [sp, #32]
2000004a:   2603          movs    r6, ziutek#3
2000004c:   4f0c          ldr     r7, [pc, #48]   ; (20000080 <main$main+0x40>)
2000004e:   9706          str     r7, [sp, ziutek#24]
20000050:   9607          str     r6, [sp, #28]
20000052:   ac06          add     r4, sp, ziutek#24
20000054:   e894 000f     ldmia.w r4, {r0, r1, r2, r3}
20000058:   ad02          add     r5, sp, ziutek#8
2000005a:   e885 000f     stmia.w r5, {r0, r1, r2, r3}
2000005e:   9603          str     r6, [sp, ziutek#12]
20000060:   e895 000f     ldmia.w r5, {r0, r1, r2, r3}
20000064:   e884 000f     stmia.w r4, {r0, r1, r2, r3}
20000068:   ab0c          add     r3, sp, #48     ; 0x30
2000006a:   4a06          ldr     r2, [pc, ziutek#24]   ; (20000084 <main$main+0x44>)
2000006c:   f843 2d08     str.w   r2, [r3, #-8]!
20000070:   e893 0003     ldmia.w r3, {r0, r1}
20000074:   e88d 0003     stmia.w sp, {r0, r1}
20000078:   e894 000f     ldmia.w r4, {r0, r1, r2, r3}
2000007c:   f000 f896     bl      200001ac <panic>
20000080:   20001c20      .word   0x20001c20
20000084:   20001bb4      .word   0x20001bb4

func main() { panic("foo"); } with new interface and type casting:

20000040:   b500          push    {lr}
20000042:   2300          movs    r3, #0
20000044:   b08d          sub     sp, #52 ; 0x34
20000046:   e9cd 3304     strd    r3, r3, [sp, ziutek#16]
2000004a:   4b0a          ldr     r3, [pc, #40]   ; (20000074 <main$main+0x34>)
2000004c:   9302          str     r3, [sp, ziutek#8]
2000004e:   2303          movs    r3, ziutek#3
20000050:   9303          str     r3, [sp, ziutek#12]
20000052:   ab02          add     r3, sp, ziutek#8
20000054:   cb0f          ldmia   r3, {r0, r1, r2, r3}
20000056:   ac06          add     r4, sp, ziutek#24
20000058:   e884 000f     stmia.w r4, {r0, r1, r2, r3}
2000005c:   ab0c          add     r3, sp, #48     ; 0x30
2000005e:   4a06          ldr     r2, [pc, ziutek#24]   ; (20000078 <main$main+0x38>)
20000060:   f843 2d08     str.w   r2, [r3, #-8]!
20000064:   e893 0003     ldmia.w r3, {r0, r1}
20000068:   e88d 0003     stmia.w sp, {r0, r1}
2000006c:   e894 000f     ldmia.w r4, {r0, r1, r2, r3}
20000070:   f000 f896     bl      200001a0 <panic>
20000074:   20001bc0      .word   0x20001bc0
20000078:   20001b54      .word   0x20001b54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants