STM32F3 ports
Re: STM32F3 ports
Hello Romeo, once you finish it I will be pleased yo help you testing it.
Enviado desde mi WIM mediante Tapatalk
Enviado desde mi WIM mediante Tapatalk
Re: STM32F3 ports
Hi,
I have finished the draft for the af table. But I'm wondering if STM32F091 doesn't fit better as header! On the second line, in the STM32F3 there is no additional description (starting from page 45 in the datasheet) https://www.st.com/resource/en/datashee ... f303vc.pdf
Any suggestion?
Thank you,
Romeo
I have finished the draft for the af table. But I'm wondering if STM32F091 doesn't fit better as header! On the second line, in the STM32F3 there is no additional description (starting from page 45 in the datasheet) https://www.st.com/resource/en/datashee ... f303vc.pdf
Any suggestion?
Thank you,
Romeo
Re: STM32F3 ports
Hello!
@mapy I just finished the csv file for stm32f303.
Are there any other modifications to do?
Thank you,
Romeo
@mapy I just finished the csv file for stm32f303.
Are there any other modifications to do?
Thank you,
Romeo
Re: STM32F3 ports
Hi all,
I got stuck here:
I got stuck here:
Code: Select all
Reading makefiles...
Use make V=1 or set BUILD_VERBOSE in your environment to increase build verbosity.
Updating goal targets....
File 'all' does not exist.
File 'build-STM32F3DISC/firmware.dfu' does not exist.
File 'build-STM32F3DISC/firmware.elf' does not exist.
File 'build-STM32F3DISC/py/mpstate.o' does not exist.
File 'build-STM32F3DISC/genhdr/qstrdefs.generated.h' does not exist.
File 'build-STM32F3DISC/modstm_qstr.h' does not exist.
Must remake target 'build-STM32F3DISC/modstm_qstr.h'.
Re: STM32F3 ports
Hello Romeo, I am relatively new in micropython so I have not the required knowledges yo help you on creating the port, I am really sorry about that. Once finished I could test It in the many different boards we have in my company with STM32F3. Thank you very much.
Enviado desde mi WIM mediante Tapatalk
Enviado desde mi WIM mediante Tapatalk
Re: STM32F3 ports
Romeo - can you give me a pointer to your micropython repository and stm32lib repository? And the name of the board you were trying to build?
Re: STM32F3 ports
Hello!dhylands wrote:Romeo - can you give me a pointer to your micropython repository and stm32lib repository? And the name of the board you were trying to build?
The board I have is STM32F3 DISCOVERY.
The github repository is https://github.com/sfynxu/stm32f3discovery_upy
Thanks,
Romeo
Re: STM32F3 ports
It looks like the first problem is that the CMSIS_MCU in your mpconfigboard.mk file has a typo. It shows:I think that this is supposed to be: The Makefile looks for this file ../../lib/stm32lib/CMSIS/STM32F3xx/Include/$(CMSIS_MCU - in lower case).h which doesn't exist.
That gets past the modstm problem, and now it runs into an issue in pllvalues.py
Code: Select all
CMSIS_MCU = STM32F303xx
Code: Select all
CMSIS_MCU = STM32F303xC
That gets past the modstm problem, and now it runs into an issue in pllvalues.py
Re: STM32F3 ports
I got around the pll problem by changing the definition of HSE_VALUE in boards/STM32F3DISC/stm32f3xx_hal_conf.h from: to be
Code: Select all
#define HSE_VALUE (8000000U) /*!< Value of the External oscillator in Hz */^M
Code: Select all
#define HSE_VALUE ((uint32_t)8000000) /*!< Value of the External oscillator in Hz */