Commit Graph

5661 Commits (f28131a577669d25a5a37e7e5901bbad47cd4af6)

Author SHA1 Message Date
adustm 230ddcfab4 [B96B_F446VE] Add this platform to UT_SERIAL_ASYNCH unitary test 2016-01-26 14:57:06 +01:00
adustm 3712f7c6a7 [B96B_F446VE] use of static functions 2016-01-26 14:57:06 +01:00
adustm 5b0bfb1361 [B96B_ASYNC] some fixes to pass serial_asynch.cpp test
Flush errors and current data register at reading start
Allow separate serial obj for TX and RX (= do not initialize [TX/RX]_DMA
when not needed.
Char_match: make it work with long buffers and return the correct
position of the char_match.
2016-01-26 14:57:06 +01:00
adustm 3aaf866154 [B96B_F446VE] bug fix for serial_async unitary test
do not initialise dma tx/rx when it is not activated.
2016-01-26 14:57:06 +01:00
adustm 524f4a6ac7 [B96B_Serial_Async] Add asynchronous feature for the platform B96B 2016-01-26 14:57:06 +01:00
adustm df025eeac0 [B96B_F446VE] Add this platform to UT_SERIAL_ASYNCH unitary test 2016-01-26 13:13:19 +01:00
adustm ff127d2da4 [B96B_F446VE] use of static functions 2016-01-26 13:12:42 +01:00
adustm 2582578e6b [B96B_ASYNC] some fixes to pass serial_asynch.cpp test
Flush errors and current data register at reading start
Allow separate serial obj for TX and RX (= do not initialize [TX/RX]_DMA
when not needed.
Char_match: make it work with long buffers and return the correct
position of the char_match.
2016-01-26 11:30:55 +01:00
Martin Kojtal bf2315b9c9 Merge pull request #1508 from bridadan/release-candidate-upload-patch
Adding Release_Canditate type and promote-build function to upload script
2016-01-25 09:06:04 +00:00
neilt6 132f1e75a5 [LPC11U68, LPC1549] Fixed PwmOut SCT Bugs
* Fixed period & pulse-width off-by-one errors
* Fixed 0% duty cycle output
* Improved duty cycle resolution at high frequencies
2016-01-21 09:30:14 -07:00
adustm 016976b79d [B96B_F446VE] bug fix for serial_async unitary test
do not initialise dma tx/rx when it is not activated.
2016-01-21 15:54:36 +01:00
Daniel Kupiniak f0e3c0bf24 Added SW4STM32 project exporter for stm32 targets 2016-01-21 10:58:44 +01:00
Brian Daniels 8bbf3ee0e2 Adding Release_Canditate type and promote-build function to release 2016-01-20 11:28:13 -06:00
Martin Kojtal 813874ee2b Merge pull request #1507 from kgills/i2c_pinname_fix
[MAX32600MBED] Fixing a typo with the I2C pin names.
2016-01-20 08:10:00 +00:00
Kevin Gillespie 9d6336a6e9 Fixing a typo with the I2C pin names. 2016-01-19 16:17:54 -06:00
Paul Staron d9d5e97a97 Update rtc_api.c
Removed redundant RTC->CR define code + added RTC compensation code to calibrate RTC.
2016-01-17 20:42:14 +00:00
Martin Kojtal fa45092ecb Merge pull request #1505 from stevew817/feature/new/fast_i2c
[Silicon Labs] Allow faster I2C baudrates
2016-01-15 14:14:22 +01:00
Martin Kojtal 170003c08d Merge pull request #1504 from stevew817/feature/fix/serial_NC
[Silicon Labs] Fix regression towards older platforms
2016-01-15 14:12:16 +01:00
Steven Cooreman 22c246c94d Fix comment 2016-01-15 13:21:07 +01:00
Steven Cooreman fffbe3201c Too quick on the commit 2016-01-15 13:18:32 +01:00
Steven Cooreman 8ea7d713d6 Extend I2C implementation to deal with higher frequencies 2016-01-15 13:14:08 +01:00
Steven Cooreman 7d8b2c0ca4 Fix regression towards older platforms (did not have RXBLOCK set, resulting in receiving characters even with RX set to NC) by condensing code. 2016-01-15 12:02:25 +01:00
leibin 4d66e2d0b1 The predivider should be 2 here. 2016-01-15 16:53:33 +08:00
Martin Kojtal 45dbe35006 Merge pull request #1490 from ytsuboi/add-TY51822r3
[TY51822r3] add platform
2016-01-15 07:47:49 +00:00
Martin Kojtal 6010f32619 Merge pull request #1482 from mjrgh/master
Remove doubling of buffer size in realiseEndpoint()
2016-01-15 07:42:32 +00:00
Martin Kojtal 0b57f8a29a Merge pull request #1481 from mjrgh/patch-2
Fix interrupt handler for endpoints > 2
2016-01-15 07:41:28 +00:00
Martin Kojtal 919364e6e7 Merge pull request #1501 from stevew817/pearl_support_rebased
[Silicon Labs] Add support for the new EFM32 Pearl Gecko
2016-01-15 07:33:40 +00:00
Steven Cooreman 3d8637cdfb Fixes to serial_api:
* Allow pins to be configured as NC without failing or asserting
* Fix putc() to not return before the entire character has been physically shifted out.
* Use MBED_ASSERT
* Fix baudrate calculation to avoid wrong configuration on startup for stdio
2016-01-14 16:45:39 +01:00
Steven Cooreman 6ab14faf91 Fix wrong copy-paste in digitalInOut test 2016-01-14 16:43:02 +01:00
Martin Kojtal c47cd8d483 Merge pull request #1502 from bridadan/build-release-fix-toolchain-set
Fixes toolchain filtering
2016-01-13 12:42:17 +00:00
Steven Cooreman 9d35328001 Clean up failed merge 2016-01-13 09:57:38 +01:00
Steven Cooreman b515defdd4 Forgot to update STK number in one place. 2016-01-13 09:17:54 +01:00
Brian Daniels bd8fcebfde Fixes toolchain filtering 2016-01-12 15:34:02 -06:00
Steven Cooreman 037dd8c455 Add back the manual placement of the DMA section for GCC to optimize the RAM layout w.r.t. alignment. 2016-01-12 17:25:58 +01:00
Steven Cooreman a0ba4e6489 Pull up EFM32 linker and startup files to latest SDK version. 2016-01-12 17:25:55 +01:00
Steven Cooreman 764d54f2d5 Fix Pearl chip SKU and core ID in targets. 2016-01-12 17:25:52 +01:00
Steven Cooreman 91ad34addb Update emlib to 4.2.1 to get a critical fix for DCDC on Pearl 2016-01-12 17:25:50 +01:00
Mikko Polojarvi 2ba71ea761 SiLabs: Remove emlib LDMA modifications
Emlib should now match the standard SiLabs release. Required extensions
have been moved to dma_api and marked with LDMAx_ prefix.
2016-01-12 17:25:46 +01:00
Steven Cooreman cb2a653bba Typo in AnalogOut 2016-01-12 17:25:43 +01:00
Steven Cooreman 41e2d8b75f Remove static define that would result in erroneous code when unset, and remove said code. 2016-01-12 17:25:41 +01:00
Steven Cooreman 48b20be0e6 Demote LDMA interrupt priority. We assume that completion of a DMA transfer means the transaction is finished already, and its handling is thus less time-sensitive than being in the middle of an interrupt-driven Serial or SPI transaction. 2016-01-12 17:25:38 +01:00
Steven Cooreman 468ddc86bd Fix error in comment 2016-01-12 17:25:36 +01:00
Steven Cooreman 7df5e479a2 Fix version mismatch between included emlib and readme 2016-01-12 17:25:34 +01:00
Steven Cooreman cfc1eea36b No need to set up the interrupt handler every single time in lp_ticker. 2016-01-12 17:25:31 +01:00
Steven Cooreman 495f7a4e45 Removed unnecessary code in _putc. 2016-01-12 17:25:29 +01:00
Steven Cooreman 924d931553 Cleanup and bugfixes of the PWM implementation.
* Setting the PWM period now correctly updates all other channels to keep their duty cycle
* No longer keep values in RAM that can be read directly from a register
* Setting the PWM duty cycle to 100% no longer makes the signal glitch on every period
* Code condensation
2016-01-12 17:25:26 +01:00
Steven Cooreman 919cf3d14e Light documentation on the sleep API 2016-01-12 17:25:24 +01:00
Steven Cooreman f5d44116e8 Reduce I2C object footprint 2016-01-12 17:25:21 +01:00
Steven Cooreman 0847fd5e2e Fixes to Pearl pinmap:
* Added PD9 back in (for some reason it was at some point removed from the pinmap, not sure why because it is a usable pin when you remove the on-board sensor or use the Pearl chip standalone)
* Fixed PWM locations to match the pin-CC channel combinations.
2016-01-12 17:25:18 +01:00
Steven Cooreman 8563fe8c54 Sync port_api.c with port_api.h 2016-01-12 17:25:16 +01:00