Commit Graph

2045 Commits (7d32effdfd1e8a2a266b22dce4fc3ac40bed4ab9)

Author SHA1 Message Date
Bogdan Marinescu 7d32effdfd Merge pull request #419 from 23chrischen/master
Change F411 to Cortex-M4F instead of Cortex-M4
2014-07-29 18:47:55 +01:00
Bogdan Marinescu 1d586e1f8d Merge pull request #416 from sg-/master
Had duplicate set of api drivers in the directory - deleted
2014-07-29 18:39:22 +01:00
23chrischen 97cdccdf03 Change F411 to Cortex-M4F instead of Cortex-M4 2014-07-29 09:43:48 -05:00
sg- 8c41ea4aae Had duplicate set of api drivers in the directory - deleted
added define guards to xxxxx_api.c files for device.h peripheral gating
2014-07-28 12:46:50 -05:00
Przemek Wirkus 68b2f4648f FAT library will be now built to .a / .ar separate folder. New switch -f / --fat is introduced for build.py script 2014-07-28 14:04:26 +01:00
Przemek Wirkus 12c7ba5ee2 Small refactoring for SD card tests for TARGET_K64F platform 2014-07-28 13:35:10 +01:00
Przemek Wirkus cd05521867 Added simple random seed provider. 2014-07-28 09:20:46 +01:00
Przemek Wirkus 4c10fbb660 Changed copyright date to 2014 2014-07-25 17:37:16 +01:00
Przemek Wirkus 2415d391d7 Added pseudo random seed source from compiler -D option 2014-07-24 15:33:49 +01:00
Przemek Wirkus 8fab5bca18 Bugfix: Replaced magic value of UNDEF test result with proper const name 2014-07-24 15:33:46 +01:00
Bogdan Marinescu 928b206625 Merge pull request #413 from lindvalla/fix_spi_on_lpc1549
Fixed three issues with the SPI driver for the LPC1549 platform:
2014-07-24 11:45:56 +01:00
Martin Kojtal 7a5896cba2 Merge pull request #412 from sg-/master
[MTS_GAMBIT] Add new target support
2014-07-23 21:12:04 +01:00
sg- 8dda44c302 moved PeripheralNames.h to target folder (set new target values to 0)
Moved peripheral PinMap declarations to PeripheralPins.c
Deleted duplicate mbed_overrides.c
2014-07-23 11:32:30 -05:00
sg- e479081dab Merge branch 'master' of https://github.com/mbedmicro/mbed 2014-07-23 08:33:42 -05:00
Anders Lindvall ea510ce162 Fixed three issues with the SPI driver for the LPC1549 platform:
* The TXDATCTL register was used even if only the control signals were
  modified which caused extra data to be transmitted.

* The RXDAT register does not only contain the received data, but also
  control information in bits 16 to 20. The old code did not mask out
  the control information and in rare cases that would cause the returned
  data to include too much information (i.e. received 0xaa as data but the
  function returned 0x300aa).

* The LPC1549 uses a Switch Matric (SWM) to allow any pin to have any
  function. This is not used in the old code which simply assigned
  the first instance of the SPI class to SPI0 and the second instance to
  SPI1. The third instance would result in a call to error().

  This behaviour is not at all working with real world examples where the
  SPI bus contains more than two peripherals. The third peripheral would
  cause the platform to end up in error().

  The solution is to modify the get_available_spi() function to first see
  if the MISO/MOSI/SCLK and SSEL pins are already configured for use as
  either SPI0 or SPI1. If the exact same pins are already used then the
  SPIx will be reused. If one or more pins are different then another
  SPIx will be used (or if both are alredy in use then error()). With this
  change it is now possible to do this:

  MyFlash      f(D11,D12,D13);      // Will use SPI0
  MyTemp       t(D11,D12,D13);      // Will use SPI0
  SDFileSystem s(D11,D12,D13,"sd"); // Will use SPI0
  MyDisplay    d(D11,D12,D13);      // Will use SPI0

  The old/existing code would have resulted in this

  MyFlash      f(D11,D12,D13);      // Will use SPI0
  MyTemp       t(D11,D12,D13);      // Will use SPI1
  SDFileSystem s(D11,D12,D13,"sd"); // error()
  MyDisplay    d(D11,D12,D13);      // Will never be called
2014-07-23 10:15:14 +02:00
0xc0170 6663575abc Merge branch 'Sissors-master' 2014-07-23 08:43:39 +01:00
0xc0170 f56f37528d Merge branch 'master' of https://github.com/Sissors/mbed into Sissors-master 2014-07-23 08:42:17 +01:00
sg- d35532b11a Remove testing text 2014-07-22 09:17:34 -05:00
sg- 67a3183567 Add new platform. Based on K64F. 2014-07-22 09:15:52 -05:00
Przemek Wirkus 21ddd8b6cf bugfix: option -t was not displaying all targets 2014-07-22 10:59:54 +01:00
Mihail Stoyanov 55f9b014de Add GHI_MBUINO target support 2014-07-22 11:12:05 +03:00
Mihail Stoyanov 8d5d92fea8 Added notify_start() to indicate test start
Added BusOut test
2014-07-22 09:53:05 +03:00
Mihail Stoyanov bbd9618d2f Merge pull request #411 from micromint/master
Enable exporters for LPC4330_M4
2014-07-22 09:19:40 +03:00
jesusalvarez 8b831ab53b Enable exporters for LPC4330_M4 2014-07-21 21:41:05 -04:00
Sissors dc7155634a Bugfix for KLxx/K20 pwm period
Period is MOD + 1, so needs to add/substract 1 in the correct places
2014-07-21 19:03:07 +02:00
Bogdan Marinescu e14aeed326 Merge pull request #409 from 0xc0170/dev_travis_new_targets
Travis - targets addition
2014-07-21 11:48:56 +01:00
0xc0170 ed13c38055 [Travis] Libraries addition to some targets 2014-07-21 11:45:27 +01:00
0xc0170 cd18872a83 [Travis] Targets addition (should be all supported targets by GCC_ARM) 2014-07-21 10:36:10 +01:00
Przemek Wirkus 805f470880 Bugfix reported by Mihail: If image firmware is not found wrong number of rows is reported (returned by SingleTest.handle() method. 2014-07-21 10:03:04 +01:00
Przemek Wirkus a540c47d8c Add simple comment to explain dependencies for Unit Tests and CppUTest library 2014-07-21 09:44:53 +01:00
Martin Kojtal f971aef913 Merge pull request #407 from fritzprix/master
[Nucleo, Discovery] Add default heap size( 1 KB) for Nucleo F401RE, DISCOVERY 407
2014-07-21 08:32:31 +01:00
Martin Kojtal d712c8f2f2 Merge pull request #408 from toyowata/master
[LPC1549] Fixed SPI frequency issue
2014-07-21 07:43:37 +01:00
Toyomasa Watarai 5a49448226 [LPC1549] Fixed SPI frequency issue
Fixed SPI frequency issue when new frequency is not divided by system
clock.
Optimized power/clock setting code.
Some code refactoring.
2014-07-20 23:04:43 +09:00
Mihail Stoyanov 787da10f72 RedBearLab NRF51822 target support 2014-07-19 18:57:26 +03:00
DooWoong Lee d1fc90fd50 Update startup_stm32f401xe.s
revert new change into what it was previously
2014-07-19 00:00:55 +09:00
Martin Kojtal df84f2b3e9 Merge pull request #404 from xiongyihui/master
New ARCH_GPRS target
2014-07-18 14:09:41 +01:00
Przemek Wirkus 2ad17c9f63 Added new switch -V which will allow users only to print test result text from serial port during test. It helps just to see test results from test / host test itself 2014-07-18 11:43:11 +01:00
Przemek Wirkus f7ab12865e Added simple checks to make sure assertions outside test runs don't crash 2014-07-18 10:21:50 +01:00
Przemek Wirkus f28e561da6 Added new switch -u. Now you can force test suite to shuffle test execution order so your tests are executed in random order 2014-07-18 10:21:47 +01:00
Przemek Wirkus 265de723ad Changed console object name from 'console' to something more unique like 'mbed_cpputest_console' 2014-07-18 10:21:45 +01:00
Przemek Wirkus 8c3fb1cdcc Fixed bug in reporting IOERR_COPY. test_all_result was not filled with IOERR_COPY error when using -n ooption with single test 2014-07-18 10:21:43 +01:00
Przemek Wirkus 05bc565d33 Removed trailing spaces 2014-07-18 10:21:40 +01:00
fritzprix 8c7e738263 - fix some type mismatch which causes error in build time 2014-07-17 23:38:34 +09:00
fritzprix e3018e766b - Add Default Heap Size 2014-07-17 23:37:11 +09:00
Martin Kojtal 4fe0feaf41 Merge pull request #406 from 0xc0170/dev_target_fix
[tools] Fixed iterating through the available hex files
2014-07-17 15:15:45 +02:00
0xc0170 e2a080bd79 [tools] Fixed iterating through the available hex files 2014-07-17 15:14:22 +02:00
Rohit Grover 0e24b53599 Allow combining against one from a set of Nordic soft-devices in decreasing order of preference. 2014-07-17 13:57:43 +01:00
Martin Kojtal 41b8b1d364 Merge pull request #405 from micromint/master
[LPC4330_M4] Change case of include file for case sensitive builds
2014-07-17 06:26:17 +02:00
jesusalvarez 1e53bb8054 Change case of LPC43xx include file for case sensitive toolchains 2014-07-16 13:15:21 -04:00
Yihui Xiong 76f1eb949b add ARCH_GPRS target 2014-07-16 18:34:20 +08:00