You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nuttx.apache.org by Alan Carvalho de Assis <ac...@gmail.com> on 2020/02/05 18:15:19 UTC
[PATCH] Add MemoryMap and PinMap support to STM32F030RC
Hi Everyone,
Please find attached a patch to improve support to STM32F030.
BR,
Alan
Re: [PATCH] Add MemoryMap and PinMap support to STM32F030RC
Posted by Alan Carvalho de Assis <ac...@gmail.com>.
Thank you!
On 2/5/20, Abdelatif Guettouche <ab...@gmail.com> wrote:
> Committed!
>
> On Wed, Feb 5, 2020 at 6:15 PM Alan Carvalho de Assis <ac...@gmail.com>
> wrote:
>>
>> Hi Everyone,
>>
>> Please find attached a patch to improve support to STM32F030.
>>
>> BR,
>>
>> Alan
>
Re: [PATCH] Add MemoryMap and PinMap support to STM32F030RC
Posted by Abdelatif Guettouche <ab...@gmail.com>.
Committed!
On Wed, Feb 5, 2020 at 6:15 PM Alan Carvalho de Assis <ac...@gmail.com> wrote:
>
> Hi Everyone,
>
> Please find attached a patch to improve support to STM32F030.
>
> BR,
>
> Alan
Re: [PATCH] Add MemoryMap and PinMap support to STM32F030RC
Posted by Alan Carvalho de Assis <ac...@gmail.com>.
Hi Florian,
Nice to hear from you.
Yes it is already included in the master branch.
In order to support to STM32F030CC you just need this modification:
$ git diff arch/arm/include/stm32f0l0g0/chip.h
diff --git a/arch/arm/include/stm32f0l0g0/chip.h
b/arch/arm/include/stm32f0l0g0/chip.h
index 6c9b9799d0..5682c9adc8 100644
--- a/arch/arm/include/stm32f0l0g0/chip.h
+++ b/arch/arm/include/stm32f0l0g0/chip.h
@@ -50,7 +50,7 @@
/* Get customizations for each supported chip */
-#if defined(CONFIG_ARCH_CHIP_STM32F030RC)
+#if defined(CONFIG_ARCH_CHIP_STM32F030RC || CONFIG_ARCH_CHIP_STM32F030CC)
# define STM32_FLASH_SIZE (256*1024) /* 256Kb */
# define STM32_SRAM_SIZE (32*1024) /* 32Kb */
BR,
Alan
On 2/6/20, Florian Wehmeyer <fl...@gmx.net> wrote:
>
> Hi Alan,
>
> thanks a lot!
>
> I also already had included the CONFIG_ARCH_CHIP_STM32F030CC and tested
> (but not built a patch, as I'm still not an advanced nuttx user nor
> contributor) , and can confirm the modifications in your patch.
>
> Additionally, I was able to include and successfully test the TIM3
> general purpose timer including interrupts. (Nuttx 8.2)
>
> You patch will be included into the master branch ? If yes, later on I
> could provide another patch including the timer modules for the STM32F030..
>
>
>
>
> On 05/02/2020 15:15, Alan Carvalho de Assis wrote:
>> Hi Everyone,
>>
>> Please find attached a patch to improve support to STM32F030.
>>
>> BR,
>>
>> Alan
>
> --
> Florian Wehmeyer
> TFW Tech Solutions
>
>
Re: [PATCH] Add MemoryMap and PinMap support to STM32F030RC
Posted by Florian Wehmeyer <fl...@gmx.net>.
Hi Alan,
thanks a lot!
I also already had included the CONFIG_ARCH_CHIP_STM32F030CC and tested
(but not built a patch, as I'm still not an advanced nuttx user nor
contributor) , and can confirm the modifications in your patch.
Additionally, I was able to include and successfully test the TIM3
general purpose timer including interrupts. (Nuttx 8.2)
You patch will be included into the master branch ? If yes, later on I
could provide another patch including the timer modules for the STM32F030..
On 05/02/2020 15:15, Alan Carvalho de Assis wrote:
> Hi Everyone,
>
> Please find attached a patch to improve support to STM32F030.
>
> BR,
>
> Alan
--
Florian Wehmeyer
TFW Tech Solutions