Search found 105 matches

by danieleff
Fri Mar 17, 2017 6:05 am
Forum: Problems with libraries
Topic: winbond SPIFlash.h define for delayMicroseconds(us)
Replies: 12
Views: 216

Re: winbond SPIFlash.h define for delayMicroseconds(us)

Looks like the Arduino and ESP8266 teams have changed the define they use. The reason we use __STM32F1__ is because its auto-generated by the Arduino IDE, because of the core is in a folder called STM32F1. i could add ARDUINO_ARCH_STM32F1 as well I suppose, if this is the new standardised way of de...
by danieleff
Mon Mar 13, 2017 8:14 am
Forum: Generic STM32F103
Topic: Port COM issue with blue pills
Replies: 9
Views: 294

Re: Port COM issue with blue pills

Wouldn’t it be enough to pad the bootloader bin with zeros to 8K, then append the serial-blink bin to it at the end?

Code: Select all

dd if=/dev/zero bs=1 count=BYTE_COUNT_TO_8K >> bootloader.bin
cat serialblink.bin >> bootloader.bin
by danieleff
Tue Feb 14, 2017 11:49 am
Forum: General discussion
Topic: Scratchx and firmata
Replies: 17
Views: 238

Re: Scratchx and firmata

Can you it try in google chrome with the chrome plugin? https://scratch.mit.edu/info/ext_download/
by danieleff
Tue Feb 14, 2017 5:45 am
Forum: General discussion
Topic: Scratchx and firmata
Replies: 17
Views: 238

Re: Scratchx and firmata

Can you check if you can connect to the board with the firmata test program?
http://firmata.org/wiki/Main_Page#Firmata_Test_Program
by danieleff
Sat Feb 04, 2017 6:51 am
Forum: Builds and Announcements
Topic: Official announcement on ST.com
Replies: 7
Views: 945

Re: Official announcement on ST.com

Where it really gets messy (like loam fresh full of worms.) Is when one has more than one development board that crosses a number of Architectures. The net result is a lot of duplicated support code. Not to mention a tangled tree of file folders and include paths. The short of this is that the libr...
by danieleff
Thu Jan 19, 2017 8:02 am
Forum: General discussion
Topic: STM32F103C8T6 - serial.print from setup()
Replies: 4
Views: 271

Re: STM32F103C8T6 - serial.print from setup()

1) this is not working: error: 'class USBSerial' has no member named 'isConnected' The official core does not have this method. As a workaround, try a small delay(10) for example. Also, make sure you print after the serial is setup (either after Serial.begin or USBDevice.beginSerialHID (guessing by...
by danieleff
Tue Jan 17, 2017 4:57 pm
Forum: General discussion
Topic: Maple mini - USB HID
Replies: 5
Views: 326

Re: Maple mini - USB HID

mgrunt wrote:But how can I send key arrows (left, right...)? Keyboard.write(KEY_LEFT) not working... Thank you.


Hello

I fixed it now, if you download again, it should work.
Alternatively you can use the low level `Keyboard.pressScanCode(KEY_LEFT);Keyboard.releaseScanCode(KEY_LEFT);` without redownloading.
by danieleff
Mon Jan 16, 2017 5:07 pm
Forum: Generic STM32F103
Topic: Setup of STM32F103CBT6 (Maple Mini) board
Replies: 50
Views: 1590

Re: Setup of STM32F104CBT6 board

Unless you really need the extra kilobytes of flash memory, you do not need to change the bootloader. (Same with 48MHz, saves (small) power... if running from battery.)
by danieleff
Mon Jan 16, 2017 4:04 pm
Forum: Generic STM32F103
Topic: Setup of STM32F103CBT6 (Maple Mini) board
Replies: 50
Views: 1590

Re: Setup of STM32F104CBT6 board

That board is the Maple Mini http://wiki.stm32duino.com/index.php?title=Maple_Mini , so perhaps by selecting that in the boards menu will fix your problem.
by danieleff
Mon Jan 16, 2017 5:26 am
Forum: STLink
Topic: Some pins not usable when using ST-Link ?
Replies: 36
Views: 1913

Re: Some pins not usable when using ST-Link ?

Idea: enable SWD always, and disable it from pinMode if somebody wants one of its pins.

Go to advanced search