Mike Meyer
09f6ccbb8d
Fix file open to actually turn on inbound parity checking.
...
The INPCK bit is an i_flag bit, not a c_flag bit as originally done
here. I have no idea what setting INPCK in c_flag does on Linux, but
on FreeBSD it caused the test of the c_values after they were set to
fail. This fixes that, and presumably the serial interface will now
actually check the parity of incoming data.
2015-09-24 20:44:03 -05:00
victorpv
8b663b67bb
Merge pull request #9 from rogerclarkmelbourne/master
...
Resync
2015-09-14 22:08:26 -05:00
Bubulindo
7317d26c14
Added Example for HardTimer as Encoder
...
Added example with description on how to use as well as an encoder
simulator.
2015-09-13 17:37:11 +01:00
Bubulindo
73f2301cad
Timer as Encoder
...
Added support to use HardwareTimer as an encoder input
2015-09-11 15:24:37 +01:00
Roger Clark
2e9b4f3955
Merge pull request #110 from Serasidis/patch-2
...
Serasidis_VS1003B_STM - Updated the example for using it with the new one SPI library.
2015-09-09 21:13:52 +10:00
Roger Clark
17dbe808d8
Merge pull request #111 from Serasidis/patch-3
...
Updates to Serasidis_VS1003B_STM library - Updated the example for using it with the new one SPI library.
2015-09-09 21:13:17 +10:00
Vassilis Serasidis
89a5a661f3
Updated the example for using it with the new one SPI library.
2015-09-09 12:33:42 +03:00
Vassilis Serasidis
0b9e84d8fa
Updated the example for using it with the new one SPI library.
2015-09-09 12:32:00 +03:00
Roger Clark
4f1e8901e9
Merge pull request #109 from martinayotte/master
...
STM32F3 - add GPIOF/GPIOG pins to allow F429 using them
2015-09-09 09:54:53 +10:00
Martin Ayotte
7d7ad4f557
fix BOARD_NR_PWM_PINS according to addition of GPIOF/GPIOG pins on F429
2015-09-08 11:56:42 -04:00
Martin Ayotte
5bd01b44bc
add GPIOF/GPIOG pins to allow F429 using them
2015-09-08 11:39:01 -04:00
Roger Clark
a7f45917e0
Merge pull request #107 from martinayotte/master
...
STM32F4 - change IPAddress::toCharArray() into IPAddress::toString()
2015-09-07 08:12:39 +10:00
Roger Clark
88d2457f30
STM32F1 core: Implemented changes already made to the GD32F1 core to use F_CPU instead of hard coded values for 72000000 and (F_CPU -1) instead of 71999999 and to replace other hard coded values related to the clock freqency. Also updated the code so that the USB clock was disabled in setup_clock_prescalers to allow it to be changed in that function during initialisation, in case altermative prescaler values for USB are required, e.g. for operation at 48Mhz
2015-09-06 07:51:40 +10:00
Roger Clark
b96247af1e
GD32F1 Core. Added enhancements from @victor_pv to disable USB prescaler and re-enable so that the USB prescaler can be changed by the core during startup
2015-09-06 06:18:56 +10:00
Martin Ayotte
4909e1f465
change IPAddress::toCharArray() into IPAddress::toString()
2015-09-04 09:54:41 -04:00
Roger Clark
d79f346747
GD32 changed calculation for delay() loop to use F_CPU
2015-09-04 10:30:41 +10:00
victorpv
266ab9f0cb
Merge pull request #8 from rogerclarkmelbourne/master
...
Synching to Roger's
2015-09-02 22:04:39 -05:00
Roger Clark
7bea296b11
Finally got GD32 core fully working including with the stm32duino-bootloader
2015-09-02 21:06:54 +10:00
Roger Clark
6b6ab7dab5
Implemented PIN MAP in flash for all other variants
2015-09-01 19:58:39 +10:00
Roger Clark
53ffab068b
minor changes to GD32 core
2015-08-31 21:55:28 +10:00
Roger Clark
a26ad1f576
Merge branch 'master' of https://github.com/rogerclarkmelbourne/Arduino_STM32
2015-08-31 21:17:51 +10:00
Roger Clark
1a0169b13c
Added experimental core for GD32F103 running at overclocked 120Mhz. Note. There is no USB Serial support at the moment in this core
2015-08-31 21:15:23 +10:00
Vassilis Serasidis
1c089da510
Merge remote-tracking branch 'rogerclarkmelbourne/master'
2015-08-30 19:45:41 +03:00
Roger Clark
ead588e279
Merge pull request #106 from Serasidis/patch-1
...
Add Midi example supplied by @Serasidis (VS1053B MIDI example is added)
2015-08-30 10:23:00 +10:00
Vassilis Serasidis
fea15b00d6
VS1053B MIDI example is added
2015-08-29 23:08:22 +03:00
victorpv
7564830669
Edits to move pinmap to flash
...
Initial comit, not tested, but copied from previous working folder.
2015-08-25 00:02:57 -05:00
victorpv
37cdca09f4
Merge pull request #7 from rogerclarkmelbourne/master
...
Resync to Roger's
2015-08-24 22:14:52 -05:00
Vassilis Serasidis
863cf25f5b
Merge remote-tracking branch 'rogerclarkmelbourne/master'
2015-08-23 11:45:36 +03:00
Vassilis Serasidis
9adc87984a
Merge remote-tracking branch 'rogerclarkmelbourne/master'
2015-08-23 11:38:23 +03:00
Roger Clark
d8996970ed
Update timer.h
...
Changed TIMER_SMCR_TS and TIMER_SMCR_SMS as recommended by @Victor_PV
2015-08-23 14:50:33 +10:00
Roger Clark
3f492814b6
Merge pull request #99 from martinayotte/master
...
Fix bug about DhcpClass instantiation to save 40K by avoiding link with GCC 'new' memory allocation code
2015-08-21 11:47:24 +10:00
Martin Ayotte
c70df495a4
fix bug about DhcpClass instantiation to save 40K by avoiding link with GCC 'new' memory allocation code
2015-08-20 21:39:54 -04:00
Roger Clark
f3c46b0842
Fixed OSX upload reset issue by appending -R to the dfu upload command in the macosx maple_upload script
2015-08-17 08:45:37 +10:00
Roger Clark
5bc3de4331
Fixed DFU upload reset issue by appending -R to the linux maple_upload script
2015-08-17 08:44:32 +10:00
Roger Clark
3b6259277f
Merge branch 'master' of https://github.com/rogerclarkmelbourne/Arduino_STM32
2015-08-13 20:02:23 +10:00
Roger Clark
f1086b6b20
Fixed issue with gerneric F103RB and F103R8 caused by typos in boards.txt
2015-08-13 20:02:03 +10:00
Roger Clark
32649c83f4
Merge pull request #98 from martinayotte/master
...
Changes to F4 USBSerial and HardwareSerial to make them derived from Stream instead of Print
2015-08-12 09:20:17 +10:00
Martin Ayotte
82f15f091a
convert USBSerial and HardwareSerial to derived from Stream instead of Print
2015-08-11 18:50:38 -04:00
Roger Clark
c05570dbcc
Merge branch 'master' of https://github.com/rogerclarkmelbourne/Arduino_STM32
2015-08-11 22:14:30 +10:00
Roger Clark
207986431d
Added STM32F103R8 / RB variant folder supplied by @ahull. Also made minor change to the stm32f103r folder bootloader link file name, so that the same file name could be used in the existing stm32f103r folder and the new folder (but they have different contents)
2015-08-10 20:27:09 +10:00
rogerclarkmelbourne
461b86207e
Added Serial.begin(115200) to both examples so that they work on non-bootloader boards
2015-08-06 17:42:04 +10:00
rogerclarkmelbourne
fa94d9f143
Merge branch 'master' of https://github.com/fergul/Arduino_STM32 into fergul-master
2015-08-06 17:32:13 +10:00
Roger Clark
b38986fd85
Merge pull request #97 from jeremyvnc/patch-1
...
Added an include of stdlib.h in F4 wirish,h to fix compile issue is EXFUN
2015-08-06 10:32:36 +10:00
jeremyvnc
416bda020b
Added an include of stdlib.h
...
Needs include of stdlib.h for a compile to take place on the F4 variant.
2015-08-05 15:34:49 -04:00
Roger Clark
ab37760af7
Oops. Failed to save the revised definition for SOFT_STANARD Wire speed which should have been part of the previous commit
2015-08-03 09:48:50 +10:00
Roger Clark
885d3f2c5c
Merge branch 'master' of https://github.com/rogerclarkmelbourne/Arduino_STM32
2015-08-03 09:46:33 +10:00
Roger Clark
d3bd109013
Changed default speed on Wire library to 100kpbs (same as AVR Arduinos), thanks to @fredbox on the forum for the delay values to achieve 100kbps
2015-08-03 09:45:57 +10:00
Fergus
572b311c3a
Fixed formatting to match existing style + Hardwire comments
2015-08-01 19:09:43 +01:00
Fergus
61b212d42b
Added i2c_scanner examples to Wire library for testing HWire and Wire
2015-08-01 19:04:18 +01:00
Fergus
3b8b7a79f4
Bugfix for HardWire/I2C + configured/compiled dfu-util to work on Linux again
...
- Fixed 0 byte payload bug, stopping HardWire from sending only addresses to scan for devices
- Fixed I2C bug accessing wrong status register for error flags
- Improved Hardwire endTransmission() return flags to correspond with the actual I2C failure status
- Removed dos endings from dfu-util autogen script breaking compilation
2015-08-01 18:58:14 +01:00