Search found 7 matches

by toogooda
Wed Oct 07, 2020 9:15 pm
Forum: General discussion
Topic: Problem creating new Variant STM32L151C
Replies: 4
Views: 466

Re: Problem creating new Variant STM32L151C

fpiSTM wrote:
Thu Oct 01, 2020 4:38 am
Probably the clock config.
@fpiSTM are you able to give me more detail? I can't seem to solve this, I used the SystemClock_Config(void) that worked in STM32CubeIDE can you give me anything else I can check?

Thanks
by toogooda
Thu Oct 01, 2020 8:29 pm
Forum: General discussion
Topic: Problem creating new Variant STM32L151C
Replies: 4
Views: 466

Re: Problem creating new Variant STM32L151C

Probably the clock config. "void SystemClock_Config(void)" function was copied from STM32CubeIDE auto generated form a working blink example that was tested. other than that function in variant.cpp are you referring to any other config? here it is here void SystemClock_Config(void) { RCC_OscInitTyp...
by toogooda
Wed Sep 30, 2020 9:03 pm
Forum: General discussion
Topic: Problem creating new Variant STM32L151C
Replies: 4
Views: 466

Problem creating new Variant STM32L151C

Hi I created two new Variants using the github wiki instructions here https://github.com/stm32duino/wiki/wiki/Add-a-new-variant-(board) one works perfectly the other compilies but does not work with blink example. I can rule out hardware as blink using stm32cudeprogramer works fine. Here is the boar...
by toogooda
Wed Sep 30, 2020 8:51 pm
Forum: General discussion
Topic: Problems with new custom variant
Replies: 3
Views: 390

Re: Problems with new custom variant

fpiSTM wrote:
Fri Sep 18, 2020 8:29 am
Hi,

you have to use this one

Code: Select all

STM32L151xB 
:
https://github.com/stm32duino/Arduino_C ... ild.h#L293

This file provides all possible value.
Actually I needed the

Code: Select all

STM32L151xBA 
one thanks
by toogooda
Fri Sep 18, 2020 4:44 am
Forum: General discussion
Topic: Problems with new custom variant
Replies: 3
Views: 390

Re: Problems with new custom variant

It is set in board.txt
.build.product_line=STM32L151xBA
I had set it to the actual chip STM32L151x8A but you have to select a valid group.
by toogooda
Fri Sep 18, 2020 3:30 am
Forum: General discussion
Topic: Problems with new custom variant
Replies: 3
Views: 390

Problems with new custom variant

I am trying to create a Generic L151C8xxA Variant and followed the instructions for the Wiki https://github.com/stm32duino/wiki/wiki/Add-a-new-variant-(board) Instructions While testing blink example I found the following issue: 1) stm32l1xx.h:167:3: error: #error "Please select first the target STM...
by toogooda
Wed Jul 22, 2020 10:47 pm
Forum: Custom design boards
Topic: Chips without support
Replies: 9
Views: 2083

Re: Chips without support

I would like to add support for the STM32L152 range. There are some STM boards ~ 3 that have them so a generic one which just changes Flash/Ram and led pin should not be complicated right?
I will have a go :)

Go to advanced search