Search found 6724 matches

by RogerClark
Tue Sep 26, 2017 5:45 am
Forum: New users MUST post here first, and let us know a bit about you and your projects
Topic: trouble with timers and library structure
Replies: 25
Views: 138

Re: trouble with timers and library structure

It had crossed my mind that Frank could look at STM's own core. https://github.com/stm32duino/Arduino_Core_STM32 However, STM don't have a variant for his board, so he'd need to do the same thing. Also, AFIK STM don't have any examples of how to use the hardware timers, so he would need to learn how...
by RogerClark
Tue Sep 26, 2017 2:53 am
Forum: New users MUST post here first, and let us know a bit about you and your projects
Topic: trouble with timers and library structure
Replies: 25
Views: 138

Re: trouble with timers and library structure

Hi Frank I'd like to claim all the credit, but about 90% of the core comes from the original code that LeafLabs wrote for their Maple products in 2012. Leaflabs abandoned it around 2015 and I picked it up after @bobc did some work to make it compatible with Arduino 1.5 Since then, I've changed / enh...
by RogerClark
Mon Sep 25, 2017 11:56 pm
Forum: New users MUST post here first, and let us know a bit about you and your projects
Topic: trouble with timers and library structure
Replies: 25
Views: 138

Re: trouble with timers and library structure

Frank You don't need to edit platform.txt for these sorts of changes. You would only need to edit platform.txt if you have a different sort of upload method e.g. some other type of hardware programmer etc. Or you want to do something with the compiler options etc etc The sort of changes you need can...
by RogerClark
Mon Sep 25, 2017 10:31 pm
Forum: New users MUST post here first, and let us know a bit about you and your projects
Topic: trouble with timers and library structure
Replies: 25
Views: 138

Re: trouble with timers and library structure

You will need to make a new "variant" if you want to make extensive changes

There is a variant folder for each main type F103 MCU.

But initially I would recommend you just edit one of the existing variants, as it will save messing around with adding a new section in boards.txt to use a new "variant"
by RogerClark
Mon Sep 25, 2017 10:23 pm
Forum: Builds and Announcements
Topic: New registratiion rules to reduce bot registration
Replies: 8
Views: 158

Re: New registratiion rules to reduce bot registration

Thanks andy.

perhaps some lookup databases are better than others.

I normally find what looks in the USA and here in Australia seem to be pretty accurate, but perhaps the same does not apply in the Uk - which is good for your privacy
by RogerClark
Mon Sep 25, 2017 11:11 am
Forum: New users MUST post here first, and let us know a bit about you and your projects
Topic: trouble with timers and library structure
Replies: 25
Views: 138

Re: trouble with timers and library structure

There should be no need to edit files.

All STM32 cores should co-exist OK without renaming etc

I have my "LibMaple" based core and Daniel's STM32GENERIC in my hardware folder and they both work fine.
by RogerClark
Mon Sep 25, 2017 10:20 am
Forum: Projects
Topic: OV7670, Generic STM32F103RC and ILI9341 display
Replies: 316
Views: 11810

Re: OV7670, Generic STM32F103RC and ILI9341 display

Just for a bit of fun, I left the camera running, point out of the window, it took 512 images which I've used ffmpeg to convert to a short video https://drive.google.com/open?id=0B4AdvMiTQuacTDlWWFBoczh5MEU BTW. The colours look strange, but the sun was setting behind the camera, so the colour was m...
by RogerClark
Mon Sep 25, 2017 10:18 am
Forum: New users MUST post here first, and let us know a bit about you and your projects
Topic: trouble with timers and library structure
Replies: 25
Views: 138

Re: trouble with timers and library structure

Frank I think you are installing correctly. Did you restart the IDE after copying the files into the hardware folder Also. You need to have the ARM compiler installed, so if you have uninstalled STM's core, you'll need to install the Arduino Due or Zero as either will install the ARM compiler that m...
by RogerClark
Mon Sep 25, 2017 8:11 am
Forum: New users MUST post here first, and let us know a bit about you and your projects
Topic: trouble with timers and library structure
Replies: 25
Views: 138

Re: trouble with timers and library structure

I think this is the environment: Arduino: 1.6.9 (Windows XP), Board: "Discovery, STM32F100RB-DISCVL, STLink, None, None" Arduino 1.6.9. should work ok. Upload via ST-Link (V2?). Just wondering, the Arduino_STM32 core does not have any variant named "Discovery, STM32F100RB-DISCVL". Which target did ...
by RogerClark
Mon Sep 25, 2017 8:09 am
Forum: Projects
Topic: OV7670, Generic STM32F103RC and ILI9341 display
Replies: 316
Views: 11810

Re: OV7670, Generic STM32F103RC and ILI9341 display

I had a bug in the code I posted // // Created by indrek on 4.12.2016. // // Adapted for ILI9341 by stevestrong on 29.07.2017 // #include <LiveOV7670_stm32_OK.h> #include <Adafruit_ILI9341_STM.h> #include <SdFat.h> const uint8_t SD_CS = PC15; SdFat sd; // TFT connection: // PB1 - TFT reset // PA2 - ...