Roger Clark
|
6d18be66ad
|
Move Timer ISR handlers from timer_f1.c to timer.c to resolve linker issue in which some ISR's were not being linked even though they were being used
|
2015-07-05 22:38:47 +10:00 |
Roger Clark
|
1d7a0bc21b
|
Fix issue with default SPI pin definitions in wirish.h being incorrect (as they were the pin definitions for AVR boards). wirish.h now uses the pin definitions defined in board.h for whatever variant is selected
|
2015-07-05 03:08:34 +10:00 |
Roger Clark
|
657d6dae02
|
Alternative / better fix provided by @pico based on work by @victor_pv. Commented out AF REMAP of NSS in spi_f1.c
|
2015-06-10 10:33:13 +10:00 |
rogerclarkmelbourne
|
ece9c3681d
|
Added code to 'get' the gpio mode of a pin, and have used it in SPIClass::begin() to store and reinstate the pin mode of the SPI NSS pin. This is a work around for 'features' in the STM32 silicon, which seem to change the GPIO mode of the SPI NSS (hardware - 'Software Select' pin)
|
2015-06-10 10:25:22 +10:00 |
rogerclarkmelbourne
|
f337329c89
|
Undid changes to isrs.s from last merge (its not practical to undo the remove, its easier just to replace the file in question with the older / working version
|
2015-06-02 08:05:32 +10:00 |
rogerclarkmelbourne
|
97604fe455
|
Replaced isrs.s with new version from victor_pv with improved system for weak refs to isr handlers
|
2015-06-01 19:19:37 +10:00 |
victorpv
|
164c8065c8
|
Weakrefs used instead of weaks in isrs.S
|
2015-05-31 09:10:31 -05:00 |
rogerclarkmelbourne
|
912098d5b8
|
Updated with commits that had been applied to Leaflabs:libmaple since the original copy of the repo was taken (by BobC) in Nov 2014
|
2015-05-31 18:06:19 +10:00 |
rogerclarkmelbourne
|
29f7cc74b4
|
Merge branch 'master' into move_serial_config_to_variants
|
2015-05-31 15:28:16 +10:00 |
rogerclarkmelbourne
|
a1fdae2817
|
Made changes for Nucleo F103RB and Generic STM32F103C . Note this commit only works with these 2 boards, on all others Serial will not compile
|
2015-05-28 17:38:59 +10:00 |
rogerclarkmelbourne
|
39787f73e7
|
Changed isrs.s with update from Rick Kimball to fix issue with hardware timers when not using the --whole-archive flag in the build flags. also changed platform.txt to remove --whole-archive
|
2015-05-26 14:50:37 +10:00 |
rogerclarkmelbourne
|
1c99387a1b
|
Manually implemented part of #47 in print.cpp
|
2015-05-23 08:13:23 +10:00 |
rogerclarkmelbourne
|
e3d460d566
|
Added STM32F103V series boards from files supplied by VictorPV (after updating to latest changes to -DSERIAL_USB etc) , also added victors experimental USB reset code - which partially works !
|
2015-05-13 20:33:30 +10:00 |
rogerclarkmelbourne
|
2ab2e5cac7
|
Changed definition for BOARD_HAVE_SERIALUSB so its always true (1) so that compiling in of SERIAL_USB is just controlled by the -DSERIAL_USB flag and not reliant on the DISC pin defintions. Also added experimental code into the ZET to reset USB on startup - this is not fully working, but doesnt seem to cause any ill effects
|
2015-05-13 19:31:23 +10:00 |
Roger Clark
|
115bb6ebbf
|
Added pulseIn API function
|
2015-05-09 15:11:35 +10:00 |
rogerclarkmelbourne
|
fddefc13a9
|
Separated USB Serial functionality definitions from the BOOTLOADER_maple definition, so that generic boards can use USB serial without needing to have the bootloader and the disconnect hardware. NOTE. I have only tested the SERIAL_USB on the F103ZE board, it may not work on other generic boards
|
2015-04-25 15:28:45 +10:00 |
rogerclarkmelbourne
|
badf7057f0
|
Removed BOARD_LED_PIN and button pin definitions as they are not core Arduino API definitions and they were causing confusion on users of generic stm32 boards which don't all have an LED and even if they have an LED, the pin it is on is not always on the same pin depending on the model of generic board
|
2015-04-25 10:41:27 +10:00 |
rogerclarkmelbourne
|
7b980c433e
|
Fix for missing UART 4 and 5 from STM32F104RE and STM32F103Z series boards. Note this code has not been fully tested
|
2015-04-20 09:50:33 +10:00 |
Roger Clark
|
6fec429e99
|
Made new generic STM32F103C board variant based on Maple mini. This is a work in process. It seems to work, but needs more tidying up ;-)
|
2015-04-14 20:18:37 +10:00 |
Roger Clark
|
5dcfa4f1b0
|
Removed non standard functions togglePin, toggleLED,isButtonPressed, and waitForButtonPress. And updated all examples that used these, to use other functions. Note togglePin was used internally in shiftOut. Also note, that some of these functions were replaced by the code that was inside the non standard function e.g inside togglePin. In the longer term these internal maple function calls need to be replaced by high level Arduino API calls like digitalRead and digitalWrite where applicable
|
2015-04-07 20:57:51 +10:00 |
Roger Clark
|
425e9e0895
|
Added bool type, typedefed to boolean. Also found error where unit8 had been typedefed to boolean and then re-typedefed to byte - which has now been fixed
|
2015-03-18 20:39:17 +11:00 |
Roger Clark
|
f21592574f
|
Added serial config parameter support to HardwareSerial :: begin(), so that word length (of 8 or 9 bits), parity (None, Even or Odd) and 1 or 2 stop bits can now be set. Note the STM32 doesnt support all the word lengths supprted by AVR or SAM e.g. the hardware doesnt support 5,6 or 7 bit word lengths.
|
2015-03-04 22:59:11 +11:00 |
Roger Clark
|
29c5d538da
|
Added missing include to avr/dostrf.h in wirish.h so that dtostrf can be used without needing to include that file
|
2015-03-04 22:30:57 +11:00 |
Roger Clark
|
244674ca81
|
Added dummy parameter to HardwareSerial begin() for device config. This is a work in progress, the config value is not used to control the hardware yet
|
2015-03-04 10:02:44 +11:00 |
Roger Clark
|
5f83c13285
|
renamed top level folder STM32F1XX to STM32F1 to correspond to other top level folder names e.g. STM32F3 and STM32F4
|
2015-02-24 20:13:04 +11:00 |