Search found 6 matches
- Tue Jun 08, 2021 8:43 am
- Forum: General Discussion and Questions
- Topic: gc_collect() HardFault Handler STM32H7
- Replies: 0
- Views: 929
gc_collect() HardFault Handler STM32H7
Hello everyone, To summary, my project run on a STM32H743. MicroPython is implemented as static library on a C application. In this application, I use FreeRTOS. When, I use gc.collect(), my apllication go inHardault_Handler() due to a bug int the function gc_collect_root() in the function gc_helper_...
- Mon Apr 19, 2021 2:39 pm
- Forum: General Discussion and Questions
- Topic: Share variable between C and Micropython
- Replies: 1
- Views: 875
Share variable between C and Micropython
Hello everyone, I succeed to compile micropython as static library on a stm32h7. Now, I try to share variable between my C application and micropython interpreter like this : - Create variable in micropyhton - Do calculation on variable - Get this variable on my C application Which function can I ca...
- Mon Apr 12, 2021 6:46 am
- Forum: General Discussion and Questions
- Topic: Compile STM32 port as static library
- Replies: 0
- Views: 1169
Compile STM32 port as static library
Hello,
I need help, could you help to compile stm32 port as static library, because I want to use micropython in C application on stm32H743ZI.
Thanks for any help!
I need help, could you help to compile stm32 port as static library, because I want to use micropython in C application on stm32H743ZI.
Thanks for any help!
- Tue Apr 06, 2021 1:46 pm
- Forum: General Discussion and Questions
- Topic: undefined reference to 'nlr_jump_fail'
- Replies: 0
- Views: 879
undefined reference to 'nlr_jump_fail'
Hi everyone, I try to use MicroPython on a C application, so I compile MicroPython core into a static library :https://github.com/jimmo/micropython/tree/libmicropython-port/ports/libmicropython Before, I had some issues, now, I have only one issue and maybe, you could help me c:\st\stm32cubeide_1.6....
- Wed Mar 31, 2021 1:50 pm
- Forum: General Discussion and Questions
- Topic: Static Library for stm32h7
- Replies: 1
- Views: 946
Re: Static Library for stm32h7
I notice that I have a problem compiling the static library with CROSS_COMPILE and CFLAGS_EXTRA make CROSS_COMPILE=arm-none-eabi- CFLAGS_EXTRA="-mthumb -mtune=cortex-m7 -mcpu=cortex-m7" V=1 python3 ../../py/makeversionhdr.py build/genhdr/mpversion.h CC ../../py/builtinimport.c arm-none-eabi-gcc -I. ...
- Wed Mar 31, 2021 7:35 am
- Forum: General Discussion and Questions
- Topic: Static Library for stm32h7
- Replies: 1
- Views: 946
Static Library for stm32h7
Hello everyone, I need help for my project, could you help me ? I try to use micropython on a C application on a STM32H743ZI, so I need a static library of micropython. I have read this post : https://forum.micropython.org/viewtopic.php?f=2&t=9043&p=51405&hilit=stm32+static+library#p51405 And I comp...