Commit Graph

1188 Commits

Author SHA1 Message Date
Ian Harvey 5546e20d0c microduino: assign correct port values to GPIO pins 2014-12-23 15:13:11 +00:00
Ian Harvey c5c58e253d Add microduino variant as copy of maple_mini 2014-12-23 10:21:28 +00:00
rogerclarkmelbourne e5c795f0f7 removed the #if false in the Maple variant usb_cdcam.c which I wrongly thought needed to be removed from build as it was clashing with other code, but this was a mistake, and this file is needed for the Maple build 2014-12-23 18:10:03 +11:00
Roger Clark c2d5ac0a1f Added missing operator bool to USBSerial. Note. Its odd that I'd not spotted this was missing as I added it to HardwareSerial ages ago 2014-12-21 18:08:16 +11:00
Roger Clark 98c772079e Added new menu items by Alexey (@HiddenPilot) 2014-12-19 08:31:49 +11:00
Roger Clark a327d7bd38 Removed redundant / junk files 2014-12-05 21:17:45 +11:00
Roger Clark 53f84108d6 Added empty / placeholder files, required my some libraries, specificially Adafruit_ST7735. This is a work in progress and doesn't allow this library to work, as SPI needs to be updated and also the library needs code changed to its header file 2014-12-05 20:58:27 +11:00
Roger Clark 0004e11a25 Fixed issue for Maple-mini to RAM - thanks to bug report and fix from @HiddenPilot on the Arduino forum 2014-12-05 20:10:08 +11:00
Roger Clark 31349f5aec Fixed issue caused by renaming SerialUSB to Serial for non Maple boards - i.e double definition of Serial 2014-12-05 09:29:11 +11:00
Roger Clark 98a44d8744 forgot to save all files before I commited the last change 2014-12-04 21:43:54 +11:00
Roger Clark cd3a72a54d Changed Serial.read() to non blocking and retuns -1 if no char available (Like the 1.0.x API) 2014-12-04 21:31:05 +11:00
Roger Clark 4fdce817a4 Finished Serial.peek() and Serial.flush(). Also changed SerialUSB tgo Serial for Maple and Maple Mini builds for increased compatibility with the Arduino 1.0.x API 2014-12-04 21:11:38 +11:00
Roger Clark e0179c57fa Partially complete work to bring SerialUSB to Arduino 1.0 API. Still need to write code for SerialUSB.flash and SerialUSB.peek 2014-12-04 08:08:49 +11:00
Roger Clark 79668ed667 Put fix for D: drive (etc) use into maple_upload.bat, that had previously only been added to serial_upload.bat 2014-12-04 07:07:23 +11:00
Roger Clark 794a79a151 Added defined for __STM32F1XX__ to board.txt in preparation for changes to OneWire library. Also added analogWrite function to replicate what the Arduino API does, and fix the issue with needing to call pinMode with type PWM. Fade example now works, as long as a PWM compatible pin is used e.g. PA0 2014-12-03 21:32:00 +11:00
Roger Clark a83c251cea Merge branch 'master' of https://github.com/rogerclarkmelbourne/Arduino_STM32 2014-12-03 08:28:03 +11:00
Roger Clark 21732162c1 Modified serial_upload.bat so that it would work for windows system using D: etc for the Arduino folder 2014-12-03 08:27:52 +11:00
Roger Clark 52b61f3185 Update README.md 2014-12-02 13:43:00 +11:00
Roger Clark 43be9d0710 Added support for serial functions in 1.0 and 1.5, specificaally Serial.peek and also Serial.find. Updated HardwareSerial class so it inhetits from Stream instead of Print, to confirm with Arduino 1.0 structure 2014-11-25 21:11:04 +11:00
Roger Clark 8ea511cd48 Put fix from leaflabs into Wire.cpp to replace my fix, and added stub function for setClockDivider into SPI.cpp and .h so that it compiles under 1.5.7 2014-11-23 18:57:59 +11:00
Roger Clark a2493c2c48 removed redundant code to set and reset Slave Select pin 2014-11-23 10:20:13 +11:00
Roger Clark 1bf7106e2c Moved SPI SS from PC13 to PA4 2014-11-22 21:54:58 +11:00
Roger Clark 326959b659 Put software select on PC13 testing 2014-11-22 18:03:54 +11:00
Roger Clark 4c74673313 removed temporary files 2014-11-22 06:48:53 +11:00
Roger Clark 8c6d25b4c0 Absolutely masses of changes, and general restructure in order to get the SPI library to at least compile ;-) 2014-11-22 06:46:57 +11:00
Roger Clark 18d6a286a4 Various fixes. Changed stm32.h to remove compile warnings. Changed Wire files to make Wire compile with I2CDev by addition of BUFFER_LENGTH definition, and fixed issue that prevented I2CScanner from working, - by changes in WireBase.cpp, Wire.cpp. Also fixed issue with SCL and SDA pin assignments being the reverse of hardware I2C - to enable future upgrades to Hardware I2C on the same pins, i.e PB6 and PB6 I2C channel 1 2014-11-11 20:10:00 +11:00
Roger Clark bcb767bba9 added modified version of python serial uploader (which now has a -g option for GO, and tested it but rem ed out in serial_upload.bat 2014-11-04 08:32:36 +11:00
Roger Clark f104d47f61 Added RTClock to libraries, from bubulindo/MapleRTC on github. Currently it doesn't compile because the installation process involves replacing the core system rcc.c and rcc.h with the files from the New RCC folder. However when I attempted this, it still didnt compile, and stopped even the bare minimum compiling. I have contacted the author via a github issue to see if he can advise 2014-11-03 09:37:05 +11:00
Roger Clark 364c0c07f0 Changed upload speed to 203400 which seems to work for my USB to Serial adaptor, remove -b 203400 from tools/upload_serial.bat if this causes a problem, also there seemed to be an issue of EEPROM lib not compiling any more, so I commented out 2 includes which it could not find but seemed not to be needed any more. 2014-11-03 08:53:01 +11:00
Roger Clark 02647ee20c Added support for String object. Updated print class to support String. Added examples folder from Maple IDE (None of the examples have been tested) 2014-11-02 20:24:34 +11:00
Roger Clark dbabd6fd52 Changes to generic STM32 board definitions for Serial. The first UATT is now Serial, second is Serial1 (this maps Serial -> UART1, Serial1->UART2 etc). Also fixed missing sprintf, - needed more includes in wirish.h. Also investigated implementing printf for Serial.printf (currently a work in progress) 2014-11-01 09:27:18 +11:00
Roger Clark 5a79e664af Renamed maple to STM32F1XX so that ARDUINO_ARCH definition correctly reflects the device architecture 2014-10-31 20:27:28 +11:00
Roger Clark 5a2a1d1f31 Remove duplicate include of math.h from wirish.h and added redefinition of Serial to Serial1 in boards.txt for Generic STM32 board 2014-10-31 20:22:48 +11:00
Roger Clark 7db1b1f080 Put temporary hack for page settings into EEPROM.h, so that it would compile 2014-10-30 21:22:40 +11:00
Roger Clark e0f6b3a705 Added EEPROM library. Found here http://akb77.com/g/files/media/EEPROM.0.12.rar on this page http://akb77.com/g/stm32/maple-eeprom-emulation-library . I'm not entirely sure if it works. 2014-10-30 21:09:14 +11:00
Roger Clark 3115ad00f9 Added includes to wirish.h to resolve issue with memcpy and other stdlib functions not being prototyped 2014-10-30 09:32:50 +11:00
Roger Clark 2c2bf241be Added existing files 2014-10-30 00:36:47 +11:00
Roger Clark 1fb882a06c Initial commit 2014-10-30 11:09:14 +11:00