Search found 34 matches

by ales.coppelli
Tue Oct 26, 2021 6:48 am
Forum: Programs, Libraries and Tools
Topic: STM Nucleo-H745 dual core board: how to use only one processor for MicroPython
Replies: 0
Views: 851

STM Nucleo-H745 dual core board: how to use only one processor for MicroPython

Hi to all. I have a STM32 NUCLEO-H745zi ( dual core processor ) board and I would like to use one of the two processors ( M4 or M7) for MicroPython. Has someone already done it ? Any indication on how to do it? ( Dummy/silly question: Is it possible to modify -at the moment I would not know how to d...
by ales.coppelli
Sun Oct 24, 2021 10:20 am
Forum: General Discussion and Questions
Topic: STM Nucleo-H745 dual core board: how to use only one processor for MicroPython
Replies: 0
Views: 774

STM Nucleo-H745 dual core board: how to use only one processor for MicroPython

I have a STM32 NUCLEO-H745zi ( dual core processor ) board and I would like to use one of the two processors ( M4 or M7) for MicroPython. Has someone already done it ? Any indication on how to do it? ( Dummy/silly question: Is it possible to modify - and now I don't know how to do it - the stm/board...
by ales.coppelli
Mon Feb 15, 2021 4:54 pm
Forum: Development of MicroPython
Topic: Startup: Reset_Handler and simila ( STM32F411-DISCO Arm Cortex-M4)
Replies: 2
Views: 1833

Startup: Reset_Handler and simila ( STM32F411-DISCO Arm Cortex-M4)

Hi to all. I'm trying to undestand the early stages after a power on in a STM32F411-DISCO ( Arm Cortex-M4 ). Immediatly after a reset ( or power on ) the program counter is setting at 0x00000004 and called "Reset_Handler" This function is in 'micropython/ports/stm32/resethandler.s' ... ... At the en...
by ales.coppelli
Mon Feb 08, 2021 4:07 pm
Forum: Development of MicroPython
Topic: How to use mathematical functions
Replies: 7
Views: 4044

Re: How to use mathematical functions

This library can only be compiled for some stm32 cards.
I am wrong?

P.S.= Your library is amazing!!!
by ales.coppelli
Wed Feb 03, 2021 6:59 am
Forum: Development of MicroPython
Topic: How to use mathematical functions
Replies: 7
Views: 4044

Re: How to use mathematical functions

Thank you very much: always precise and decisive.
by ales.coppelli
Mon Feb 01, 2021 12:21 pm
Forum: Development of MicroPython
Topic: How to use mathematical functions
Replies: 7
Views: 4044

Re: How to use mathematical functions

Sorry for my incomplete post.. Here the logs: CC ../../../project/lsm303dlhc/lsm303dlhc.c CC ../../lib/oofatfs/ff.c CC ../../lib/oofatfs/ffunicode.c CC build-STM32F411DISC/pins_STM32F411DISC.c LINK build-STM32F411DISC/firmware.elf arm-none-eabi-ld: cannot find -lm Makefile:618: recipe for target 'bu...
by ales.coppelli
Mon Feb 01, 2021 11:17 am
Forum: Development of MicroPython
Topic: How to use mathematical functions
Replies: 7
Views: 4044

How to use mathematical functions

Hi to all. I'm developing a simple lsm303dhlc accelerometer driver like user module so I'm writing the C version that which will be added and exposed to the Python interpreter. ( I have a STM32F411 Discovery board and the lsm303dhlc accelerometer is hard linked to the PB6(scl) and PB9(sda) board pin...
by ales.coppelli
Thu Dec 24, 2020 9:39 am
Forum: Programs, Libraries and Tools
Topic: Link to class methods in composition technique
Replies: 3
Views: 1929

Re: Link to class methods in composition technique

Thank you very much Stijn. Sorry for my goofy post.
I'll try immidiatly your suggestions.
by ales.coppelli
Wed Dec 23, 2020 11:08 am
Forum: Programs, Libraries and Tools
Topic: Link to class methods in composition technique
Replies: 3
Views: 1929

Link to class methods in composition technique

I have a STM32F411 board and when I try to use the I2C bus master is all ok: ------- from machine import I2C i2c = I2C(1) i2c.scan() -->Ok [25,30][i.e. address of accelerometer, address of magnetometer] i2c.writeto_mem(25,32,b'\x77') i2c.writeto_mem(25,35,b'\x08') i2c.readfrom_mem(25,40,1) i2c.readf...