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 <flo...@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
>
>

Reply via email to