Search found 236 matches

by sheepdoll
Sat Feb 04, 2017 7:58 pm
Forum: Cores
Topic: Cubemx -> Makefile utility
Replies: 11
Views: 2838

Re: Cubemx -> Makefile utility

I just pushed my makefile script to github https://github.com/sheepdoll/XSTMScrips.git The script is written in the PostScript language and optimized for running through the Ghostscript interpreter. https://en.wikipedia.org/wiki/Ghostscript for more info https://www.ghostscript.com/ for the communit...
by sheepdoll
Fri Feb 03, 2017 8:32 pm
Forum: Builds and Announcements
Topic: Official announcement on ST.com
Replies: 9
Views: 2581

Re: Official announcement on ST.com

Still no direct support for the STM32F4. As I and others noted in the architecture thread, Using Cube and HAL seems to work better with a debugging IDE such as eclipse. One can still use the Arduino libraries, with more selectivity as to what gets built and compiled. I do think, for the arduino IDE,...
by sheepdoll
Mon Jan 30, 2017 10:49 pm
Forum: General discussion
Topic: STM32DUINO - Architecture questions
Replies: 39
Views: 1675

Re: STM32DUINO - Architecture questions

just to add that regarding 3 4 and 5, a search in the forums and the Wiki and you will find posts of some people is using Eclipse, you may want to try it. I believe there are posts on using Visual Micro too. I have sort of moved more over to Eclipse myself, I wrote a script that can take the output...
by sheepdoll
Mon Jan 23, 2017 7:04 pm
Forum: STM Nucleo boards
Topic: Nucleo F401 Arduino
Replies: 2
Views: 1002

Re: Nucleo F401 Arduino

The Nucleo F401 was the board that inspired me to write the "Expemimental" HAL MX proof of concept code. I have not done much with that code lately as I have been working with other projects. I did write a script (in the postscript language) that can create makefiles from the Cube .ioc files. These ...
by sheepdoll
Fri Jan 20, 2017 7:33 pm
Forum: Off topic
Topic: Do you recognize that Infrared Protocol ?
Replies: 10
Views: 1165

Re: Do you recognize that Infrared Protocol ?

Most IR protocols are based on a variation of Manchester Encoding. Look at your zero crosses to see if there is some sort of bit clock pattern. I usually keep my old IR remotes. Many years ago (more than a decade.) I had to make a MIDI player using an undocumented remote, So I used the Universal rem...
by sheepdoll
Tue Nov 15, 2016 5:23 pm
Forum: General discussion
Topic: Does anyone have any code to play a tune on a GPIO pin
Replies: 12
Views: 1380

Re: Does anyone have any code to play a tune on a GPIO pin

With AVR I have used this code http://elm-chan.org/works/mxb/report.html It uses the PWM peripheral of the AVR . I have not looked to see if there is a comparable function on the STM32. It is interrupt driven. Unfortunately it is written in ASM for a more functional version that plays from a SD card...
by sheepdoll
Wed Oct 12, 2016 3:56 am
Forum: STM32F4 Boards
Topic: Do Examples work with the STM32F4 Discovery?
Replies: 1
Views: 652

Re: Do Examples work with the STM32F4 Discovery?

I think more members who have F4 discovery have the one without the LCD. I think this has audio options. You have to look at what chip is mounted and compare it to what is is boards.txt (or the menu.) The older F4 libraries are strictly tied to the chip as they use direct register access, which is n...
by sheepdoll
Thu Oct 06, 2016 4:47 pm
Forum: IDE's
Topic: stm32duino core with System Workbench for bluepill
Replies: 66
Views: 5961

Re: Eclipse importable bluepill project

edogaldo; This is the relevant section of the makefile that is working for me on the Nucleo (I do not have a blue pill.) I am using BSD under OSX. # compile gcc flags ASFLAGS = -MMD -mcpu=cortex-m3 -DF_CPU=72000000L -DARDUINO=10604 -DARDUINO_STM_NUCLEO_F103RE -DARDUINO_ARCH_HALMX -DSTM32F103xE -DSTM...
by sheepdoll
Thu Oct 06, 2016 3:43 pm
Forum: IDE's
Topic: stm32duino core with System Workbench for bluepill
Replies: 66
Views: 5961

Re: Eclipse importable bluepill project

Thanks Rick, I'll try to setup it. Interesting thing: I tried to compile the bluepill project with the default SW compiler (gcc 5.2.1) and I get error: " conflicting declaration of C function 'char* utoa(long unsigned int, char*, int)' " on file "itoa.h" where utoa is defined as: extern char* utoa(...
by sheepdoll
Tue Oct 04, 2016 4:23 pm
Forum: STM Core
Topic: Evaluation boards arrived from STM
Replies: 25
Views: 1683

Re: Evaluation boards arrived from STM

Wi6Labs wrote: Indeed the I2C clock configuration for L4 doesn't work like F1. You must calculated for each speed a specific parameter which depends on the system clock.
You can find more information inside the file "twi.h".
So the STM32Cube MX tool is not used to configure the clock?