Yes! It seems to be different from STM32F091 also...
Probably I'll have to find a book for getting around this kind of issues ...
Nothing I used to know seems to look like c language used in here!
Is there any porting guide for uPy? Google didn't help with this either.
Thank you!
Romeo
STM32F3 ports
Re: STM32F3 ports
The Reference Manuals for the chips in question will be your goto for information.
Re: STM32F3 ports
Hi!
Managed to pass by powerctrl.c compilation.
File timer.c is next.
Probably reference manual will contain a solution!
Current status is on github.
Regards,
Romeo
Managed to pass by powerctrl.c compilation.
File timer.c is next.
Probably reference manual will contain a solution!
Current status is on github.
Regards,
Romeo
Re: STM32F3 ports
Hi!
I was reading through documentation and I fail to solve this step:
Any idea?
Thanks,
Romeo
I was reading through documentation and I fail to solve this step:
Code: Select all
timer.c:764:15: error: array index in initializer exceeds array bounds
TIM_ENTRY(15, TIM15_IRQn),
^
timer.c:710:29: note: in definition of macro 'TIM_ENTRY'
#define TIM_ENTRY(id, irq) [id - 1] = (uint32_t)TIM##id | irq
^~
timer.c:764:15: note: (near initialization for 'tim_instance_table')
TIM_ENTRY(15, TIM15_IRQn),
^
timer.c:710:29: note: in definition of macro 'TIM_ENTRY'
#define TIM_ENTRY(id, irq) [id - 1] = (uint32_t)TIM##id | irq
^~
timer.c:773:15: error: array index in initializer exceeds array bounds
TIM_ENTRY(16, TIM1_UP_TIM16_IRQn),
^
timer.c:710:29: note: in definition of macro 'TIM_ENTRY'
#define TIM_ENTRY(id, irq) [id - 1] = (uint32_t)TIM##id | irq
^~
timer.c:773:15: note: (near initialization for 'tim_instance_table')
TIM_ENTRY(16, TIM1_UP_TIM16_IRQn),
^
timer.c:710:29: note: in definition of macro 'TIM_ENTRY'
#define TIM_ENTRY(id, irq) [id - 1] = (uint32_t)TIM##id | irq
^~
timer.c:780:15: error: array index in initializer exceeds array bounds
TIM_ENTRY(17, TIM1_TRG_COM_TIM17_IRQn),
^
timer.c:710:29: note: in definition of macro 'TIM_ENTRY'
#define TIM_ENTRY(id, irq) [id - 1] = (uint32_t)TIM##id | irq
^~
timer.c:780:15: note: (near initialization for 'tim_instance_table')
TIM_ENTRY(17, TIM1_TRG_COM_TIM17_IRQn),
^
timer.c:710:29: note: in definition of macro 'TIM_ENTRY'
#define TIM_ENTRY(id, irq) [id - 1] = (uint32_t)TIM##id | irq
^~
make: *** [build-STM32F3DISC/timer.o] Error 1
Thanks,
Romeo
Re: STM32F3 ports
Hi! Solved the timer, stuck on dma!
Any help is welcome !
Any help is welcome !
Re: STM32F3 ports
Hi!
Does anybody know if the SPI DMA mechanism on STM32F3 is similar to F0 or F4? I can't figure it out! Thanks!
Does anybody know if the SPI DMA mechanism on STM32F3 is similar to F0 or F4? I can't figure it out! Thanks!
Re: STM32F3 ports
Hi everyone!
I finally compiled successfully (without I2C and SPI now, since the mechanism is quite different from both F0 and F4).
If anyone has the ability to help out with this, I will try an update.
Best regards,
Romeo
I finally compiled successfully (without I2C and SPI now, since the mechanism is quite different from both F0 and F4).
If anyone has the ability to help out with this, I will try an update.
Best regards,
Romeo