Search found 6654 matches

by RogerClark
Tue Sep 19, 2017 10:06 am
Forum: General discussion
Topic: NuttX on a BluePill
Replies: 27
Views: 407

Re: NuttX on a BluePill

Pito wrote:
Tue Sep 19, 2017 9:33 am
...
A nice stuff for upcoming long winter evenings (at least here in northern hemisphere).
Rapa Nui is in the southern hemisphere ;-)
by RogerClark
Tue Sep 19, 2017 2:45 am
Forum: STM32F103 Boards
Topic: Another F103C8 board (but not good value)
Replies: 17
Views: 957

Re: Another F103C8 board (but not good value)

I tried the latest firmware on a BluePill and it is now appearing as a CH340 is I ground pin PA7 (MOSI) I'll try the other pin combinations later, but as there are no docs about how the I2C or SPI modes are supposed to work, e.g. can you send commands or just data, e.g. Enable SPI CS etc, then I thi...
by RogerClark
Tue Sep 19, 2017 2:07 am
Forum: STM32F103 Boards
Topic: Another F103C8 board (but not good value)
Replies: 17
Views: 957

Re: Another F103C8 board (but not good value)

Yah worse case, i will just flash it into a bmp. Just that i paid premiun for the firmware and it doesnt work, i could have gotten 4 blue pills. Anyway for the usb to i2c/spi/uart, there is already an opensource firmware littlewire that works on attiny digispark that cost $1.0 Thats always the gamb...
by RogerClark
Tue Sep 19, 2017 12:36 am
Forum: STM32F103 Boards
Topic: Another F103C8 board (but not good value)
Replies: 17
Views: 957

Re: Another F103C8 board (but not good value)

I think you may be better off writing your own code to do whatever this board is supposed to do. The only difference would be that you'd need to use a different USB driver as we don't have code that emulates the same USB to Serial adaptor. But apart from that, I would have thought that writing code ...
by RogerClark
Mon Sep 18, 2017 10:38 pm
Forum: General discussion
Topic: NuttX on a BluePill
Replies: 27
Views: 407

Re: NuttX on a BluePill

@acassis

Are you porting to the full RPi or the Zero ? (or is it the same ?)
by RogerClark
Mon Sep 18, 2017 10:19 pm
Forum: General discussion
Topic: Overactive interrupt triggering using internal pullups
Replies: 42
Views: 1163

Re: Overactive interrupt triggering using internal pullups

True...

BTW. good call about potential issues with NSS.

Code was added to make it usable as GPIO even when using SPI, and I dont recall anyone having problems with using it as an output.

But there may be problems as an input or with using it as an interrupt pin
by RogerClark
Mon Sep 18, 2017 10:17 pm
Forum: General discussion
Topic: NuttX on a BluePill
Replies: 27
Views: 407

Re: NuttX on a BluePill

Hey guys, I'm the author of the blog post and creator of the video tutorials. Nice to know you are enjoying it!!! In fact the BluePill board (called stm32f103-minimum on NuttX) is not the best board to test all NuttX features. It could be compared to Arduino Uno: a nice introducing board, but if yo...
by RogerClark
Mon Sep 18, 2017 10:09 pm
Forum: General discussion
Topic: Overactive interrupt triggering using internal pullups
Replies: 42
Views: 1163

Re: Overactive interrupt triggering using internal pullups

in response to a couple of posts... Steve is correct.. If you dont put a resistor in series with the switch, the surge current to charge the capacitor will cause problems. I experienced this when using a rotary encoder. @pito.. +1 Supply rail on the BluePill seems quite noisy when I look at it with ...
by RogerClark
Mon Sep 18, 2017 9:57 pm
Forum: STM32F103 Boards
Topic: Another F103C8 board (but not good value)
Replies: 17
Views: 957

Re: Another F103C8 board (but not good value)

Ok... I will double check the BluePill I was testing with, does not have a hardware fault ( as they are prone to bad connections on the USB connector) Then I will try your latest code dump Thanks... BTW. I had a quick look on TaoBao to see if I could find the board listed, as sometimes they post mor...
by RogerClark
Mon Sep 18, 2017 9:42 pm
Forum: PR's bugs and enhancements
Topic: PR to add optimisation menu (to all boards individually)
Replies: 20
Views: 399

Re: PR to add optimisation menu (to all boards individually)

Victor

can you give more details of the "optimize" attribute..

I investigated something similar when trying to get the original OV7670 camera code to run with our default optimization settings, i.e switch to -O2 for some code, but the pragma for this is not supported by the ARM version of GCC