Search found 97 matches

by Mangy_Dog
Thu Apr 04, 2024 11:25 am
Forum: IDE's
Topic: Generic_F030RCT missing?
Replies: 12
Views: 969

Re: Generic_F030RCT missing?

You can optimize several things as explained in the wiki. About code, I talk about the variant and the update you made else can't help on the clock issue. Some hardware info can help also. Like HSE? LSE?.... Well main clock issue will fixed on the next board revision, 8 or 16mhz... The current conf...
by Mangy_Dog
Thu Apr 04, 2024 8:46 am
Forum: IDE's
Topic: Generic_F030RCT missing?
Replies: 12
Views: 969

Re: Generic_F030RCT missing?

Its really just a really basic board testing program. #include "Arduino.h" #include "STM32LowPower.h" //The setup function is called once at startup of the sketch #define BATT_MON_AIN PA_4 #define BKUP_MON_AIN PA_5 #define ATTN_P PA_11 #define _12V_CH1_IMON PB_0 #define _12V_CH2_...
by Mangy_Dog
Wed Apr 03, 2024 1:49 pm
Forum: IDE's
Topic: Generic_F030RCT missing?
Replies: 12
Views: 969

Re: Generic_F030RCT missing?

Binary size difference appears to be Newlib Standard vs Newlib nano setting... Not entirely sure what newlib is... :D
Clock situation still appears to be happening.
by Mangy_Dog
Wed Apr 03, 2024 1:33 pm
Forum: IDE's
Topic: Generic_F030RCT missing?
Replies: 12
Views: 969

Re: Generic_F030RCT missing?

You can find here how to declate the generic: https://github.com/stm32duino/Arduino_Core_STM32/wiki/Add-a-new-variant-%28board%29 Feel free to submit a PR ;) 2 Problems. It doesn't appear that optimisations are being applied. I have a near empty program with just the sleep library attached. And 3 l...
by Mangy_Dog
Fri Mar 29, 2024 11:22 am
Forum: IDE's
Topic: Generic_F030RCT missing?
Replies: 12
Views: 969

Re: Generic_F030RCT missing?

Ahh might do... but later.
The current custom isnt the best config at the moment... getting around a bad crystal selection. So its slightly underclocked.
After the fix ill try to remember to pull then push the config up.
by Mangy_Dog
Wed Mar 27, 2024 9:13 am
Forum: IDE's
Topic: Generic_F030RCT missing?
Replies: 12
Views: 969

Re: Generic_F030RCT missing?

A PR?

Also thanks will go through the guide now.
by Mangy_Dog
Tue Mar 26, 2024 5:14 pm
Forum: IDE's
Topic: Generic_F030RCT missing?
Replies: 12
Views: 969

Generic_F030RCT missing?

So got a project using this chip. While the Arduino core stm32 lists this chip in its variants, its missing from the boards list when creating a new project or setting a project, at least in sloeber. I installed the core as per the guide here https://github.com/stm32duino/Arduino_Core_STM32/wiki/How...
by Mangy_Dog
Fri Dec 23, 2022 10:20 pm
Forum: General discussion
Topic: software reset?
Replies: 2
Views: 3414

Re: software reset?

nvic_sys_reset(); found it :D
by Mangy_Dog
Fri Dec 23, 2022 6:38 pm
Forum: General discussion
Topic: software reset?
Replies: 2
Views: 3414

software reset?

So with rogers core, ive tried using
NVIC_SystemReset();
but its not recognised, nor are a few other variations of the command ive found here.

Is there another way to do a software reset on rogers core?
by Mangy_Dog
Fri Dec 09, 2022 4:29 pm
Forum: General discussion
Topic: Updated question, How to set PA15 to GPIO Output, and PWM questions...
Replies: 31
Views: 29532

Re: Updated question, How to set PA15 to GPIO Output, and PWM questions...

Found the issue... One of my new modules were using hardware i2c... Rather than soft i2c. If i remember correctly theres a hardware bug isnt there?
Anyway moving onto softwire fixed it!

Go to advanced search