Commit Graph

934 Commits (d74412c6eeda513d05c84dee4d675bc857522d2d)

Author SHA1 Message Date
Juan Carlos Ferrer b2cc293722 First pass at linker script 2014-05-31 14:25:53 -05:00
bcostm 02873be1f7 [NUCLEO_F072RB] Update CubeF0 HAL driver 2014-05-30 15:39:23 +02:00
0xc0170 9017b27778 mbed common - trailing white spaces removal 2014-05-29 15:11:05 +02:00
0xc0170 3ce40e2f75 License headers for new assert files. 2014-05-29 08:59:19 +02:00
0xc0170 e70c8daf85 mbed assert - guard macro correction 2014-05-28 16:41:29 +02:00
0xc0170 324407b59a assert rename to mbed_assert header file 2014-05-28 16:38:00 +02:00
0xc0170 be43ebc182 MBED_ASSERT - mbed assert implementation 2014-05-28 15:39:44 +02:00
Yihui Xiong 73b643816c add Arch Pro target 2014-05-28 17:54:42 +08:00
0xc0170 48cc27f405 [LPC targets + K20 + F407VG] spi,serial, i2c asserts logic corrections 2014-05-28 10:35:50 +02:00
0xc0170 6a84ffa433 Merge branch 'master' into dev_error_assert
Conflicts:
	libraries/mbed/targets/hal/TARGET_Freescale/TARGET_K20D5M/spi_api.c
	libraries/mbed/targets/hal/TARGET_NXP/TARGET_LPC11U6X/gpio_api.c
	libraries/mbed/targets/hal/TARGET_NXP/TARGET_LPC11UXX/gpio_api.c
	libraries/mbed/targets/hal/TARGET_STM/TARGET_NUCLEO_F030R8/analogin_api.c
	libraries/mbed/targets/hal/TARGET_STM/TARGET_NUCLEO_F030R8/gpio_api.c
	libraries/mbed/targets/hal/TARGET_STM/TARGET_NUCLEO_F030R8/i2c_api.c
	libraries/mbed/targets/hal/TARGET_STM/TARGET_NUCLEO_F030R8/pwmout_api.c
	libraries/mbed/targets/hal/TARGET_STM/TARGET_NUCLEO_F030R8/serial_api.c
	libraries/mbed/targets/hal/TARGET_STM/TARGET_NUCLEO_F030R8/spi_api.c
	libraries/mbed/targets/hal/TARGET_STM/TARGET_NUCLEO_F103RB/i2c_api.c
	libraries/mbed/targets/hal/TARGET_STM/TARGET_NUCLEO_F302R8/i2c_api.c
	libraries/mbed/targets/hal/TARGET_STM/TARGET_NUCLEO_F401RE/i2c_api.c
2014-05-28 09:53:51 +02:00
0xc0170 f9091a237c [Freescale targets] - spi, serial assers corrections
- reverted gpio change in TARGET_LPC11U6X
2014-05-28 08:23:28 +02:00
Bogdan Marinescu bd83615ac5 Merge pull request #333 from 0xc0170/dev_nrf51_adc_read
[NRF51822] analog read - set channel
2014-05-27 12:54:12 +01:00
Bogdan Marinescu 22f1f3a38a Merge pull request #332 from bcostm/master
[NUCLEO_L053R8] Fix issue with upper case file name
2014-05-27 12:53:24 +01:00
0xc0170 9a39c1ddee [NRF51822] analog read - set channel 2014-05-27 12:57:45 +02:00
bcostm d4b8cb8a1c [NUCLEO_L053R8] Fix issue with file upper case file name
+ code cleanup
2014-05-27 11:12:53 +02:00
Bogdan Marinescu 1cdfe81b13 Merge pull request #331 from bcostm/master
[NUCLEO_xxx] Update xxx_free() functions + typo
2014-05-27 09:57:57 +01:00
bcostm 3529f1dc0a [NUCLEO_F302R8] Update xxx_free() functions + typo 2014-05-27 10:18:11 +02:00
bcostm 45142e0af4 [NUCLEO_F030R8] Update xxx_free() functions + typo 2014-05-27 09:51:55 +02:00
bcostm a223580e6b [NUCLEO_L152RE] Update rtc_free() 2014-05-27 09:24:28 +02:00
Martin Kojtal a2726bf3f0 Merge pull request #329 from bcostm/master
[NUCLEO_L152RE_F401RE] Update xxx_free() functions + typo corrections
2014-05-27 09:21:47 +02:00
bcostm 20fee9fbff [NUCLEO_F103RB] Update rtc + serial 2014-05-27 09:05:26 +02:00
Toyomasa Watarai d8a81cde30 [LPC1549] Fixed ADC channel 1 issue 2014-05-27 11:20:12 +09:00
Rohit Grover 6eb6b90fe9 provide a default implementation for SerialBase destructor 2014-05-26 18:28:04 +01:00
Rohit Grover ca965f836b removing virtual destructor for CAN_Message;
it could be compiled using a C compiler where
the destructor will not make sense.
2014-05-26 18:27:06 +01:00
Rohit Grover f65b7d9077 removing warnings discovered by using -Weffc++ flag for gcc 2014-05-26 18:04:46 +01:00
bcostm 57db78211c [NUCLEO_F401RE] Update xxx_free() functions + typo 2014-05-26 16:14:33 +02:00
bcostm b968150d2f [NUCLEO_L152RE] Update xxx_free() functions + typo 2014-05-26 15:47:10 +02:00
bcostm 48a53c4be0 [NUCLEO_L053R8] Add object pin init for SPI + typo for I2C 2014-05-23 16:19:36 +02:00
Martin Kojtal 99a176f7d5 Merge pull request #325 from dbestm/master
[NUCLEO_L053R8] I2C1 clock + SPI slave receive
2014-05-23 13:52:16 +01:00
0xc0170 a3509013fa [K64F] i2c - magical timeout increase in i2c_stop 2014-05-23 13:44:54 +01:00
Rohit Grover f2b4c367e8 fix for a minor compiler warning about un-initialized variable 2014-05-23 11:29:01 +01:00
dbestm b6a524734d [NUCLEO_L053R8] I2C1 clock + SPI slave receive 2014-05-23 11:18:06 +02:00
bcostm 1bbd1fda37 [NUCLEO_F103RB] Update xxx_free() function + typo corrections 2014-05-23 11:00:26 +02:00
Martin Kojtal 10e3a9cea1 Merge pull request #314 from punitsoni/stm32_gcc
[STM32F103RB] Support for GCC_ARM toolchain
2014-05-23 08:39:47 +01:00
Martin Kojtal b5c244f51b Merge pull request #321 from neilt6/master
[LPC11UXX ] gpio_api.c - pin expansion
2014-05-23 08:31:58 +01:00
Sergio Scaglia 62605dfaaa - Added initialization for Tx Fifo values and provided value for TFWR bits in ENET_TFWR register
Signed-off-by: Sergio Scaglia <sergio.scaglia@arm.com>
2014-05-22 21:43:23 -07:00
Neil Thiessen 0438beba09 Update gpio_api.c
Modified gpio_set() to allow PIO0_0, PIO0_10, and PIO0_15 to be properly configured for GPIO.
2014-05-22 15:58:01 -06:00
Martin Kojtal ea4b6f76ef Merge pull request #322 from bcostm/master
[NUCLEO_F072RB] cmsis files
2014-05-22 19:53:27 +01:00
Neil Thiessen 1073702cd2 Changed LED mapping to RGB
Changed the pin mapping for LED1, LED2, and LED3, to Red, Green, and Blue respectively. This matches the KL25Z and LPC11U68, and makes more sense in my opinion.
2014-05-22 08:52:10 -06:00
dbestm 393401a651 Merge branch 'master' of https://github.com/mbedmicro/mbed 2014-05-22 14:09:21 +02:00
dbestm 4d91188360 [NUCLEO_L053R8] enhance SPI slave 2014-05-22 10:42:18 +02:00
Sergio Scaglia 3c2119fab6 These changes solve:
1) Endianess of TX_DESC_UPDATED_MASK so Tx buffers can be released after tranmission.
   2) Avoid assert( ) failure due uninitialized variable in enet_hal)config_tx_fifo( ) function.

Signed-off-by: Sergio Scaglia <sergio.scaglia@arm.com>
2014-05-21 15:05:29 -07:00
bcostm 627d0ef49c [NUCLEO_F072RB] Add cmsis files (part 4) 2014-05-21 18:16:20 +02:00
bcostm 49adba3abe [NUCLEO_F072RB] Add cmsis files (part 3) 2014-05-21 18:09:01 +02:00
Neil Thiessen e441e0aa4f Update gpio_api.c
Modified gpio_set() to allow PIO0_0, PIO0_10, and PIO0_15 to be properly configured for GPIO.
2014-05-21 09:21:43 -06:00
bcostm a8c5cfb7ec [NUCLEO_F072RB] Add cmsis files (part 2) 2014-05-21 16:57:18 +02:00
bcostm 6ec3e47274 [NUCLEO_F072RB] Add cmsis files (part 1) 2014-05-21 16:50:06 +02:00
Martin Kojtal 5831f87601 Merge pull request #317 from neilt6/master
[LPC11U6X] PinName LED mapping to RGB
2014-05-21 15:11:46 +01:00
0xc0170 b728ea1324 [LPC11CXX] can_frequency - bug fix
- link on the mbed issue report: https://mbed.org/users/mbed_official/code/mbed-src/issues/2
2014-05-21 15:08:55 +01:00
0xc0170 0306d52fc5 [K20, LCP1768, F100RB] asserts corrections 2014-05-21 14:33:42 +01:00
dbestm 622bcfa288 Merge branch 'master' of https://github.com/mbedmicro/mbed 2014-05-21 15:16:50 +02:00
dbestm a102edf48b [NUCLEO_F053R8] enhance I2C master (stop) and add I2C slave 2014-05-21 15:11:21 +02:00
bcostm aaa3845aab [NUCLEO_L053R8] Fix baudrate issue with LPUART1
+ add code for spi_free()
+ typo corrections
2014-05-21 10:16:57 +02:00
Neil Thiessen ed0b72233e Changed LED mapping to RGB
Changed the pin mapping for LED1, LED2, and LED3, to Red, Green, and Blue respectively. This matches the KL25Z, and makes more sense in my opinion.
2014-05-20 11:03:49 -06:00
0xc0170 906a6745a9 assert - logic corrections 2014-05-20 17:10:11 +01:00
0xc0170 60276a7cac __ASSERT_MSG macro for uvision, corrections in LPC targets - serial - assert 2014-05-20 16:41:30 +01:00
Martin Kojtal d0e6815ac8 Merge pull request #315 from dbestm/master
[NUCLEO_F302R8] SPI master correction
2014-05-20 16:35:16 +01:00
dbestm 40cf8b8952 [NUCLEO_F302R8] SPI master corrected 2014-05-20 16:39:34 +02:00
0xc0170 d843d56c08 [ALL TARGETS] error replaced by assert for preconditions 2014-05-20 14:20:37 +01:00
Punit Soni 882dcee242 Add support for GCC_ARM toolchain in target STM32F103RB 2014-05-19 20:18:42 -07:00
Bogdan Marinescu eb0ab77fdb Bumped revision number 2014-05-19 17:08:40 +01:00
dbestm af4522e2dc Merge branch 'master' of https://github.com/mbedmicro/mbed 2014-05-19 15:42:42 +02:00
dbestm 2691001351 [NUCLEO_F302R8] enhance SPI slave 2014-05-19 15:37:08 +02:00
Martin Kojtal ffcaadfc68 Merge pull request #310 from dbestm/master
[NUCLEO_F302R8] Add I2C slave, enhance I2C master
2014-05-19 10:59:31 +01:00
dbestm 9d459bad9f [NUCLEO_F302R8] indentation correction in I2C api 2014-05-19 11:12:12 +02:00
dbestm 6484358e33 [NUCLEO_F030R8] enhance I2C master 2014-05-19 09:57:58 +02:00
Martin Kojtal e7f82dfb52 Merge pull request #312 from mazgch/master
fix wrong pin in C027 platform api
2014-05-19 08:43:22 +01:00
Sissors da3c7c5e60 K20D5(0)M SPI code
Other pinouts still need to be done. PTC6 as MOSI possibly has issues.
There are also some changes which technically aren't required, but were
made in the search to why on earth it wasn't doing anything.
2014-05-18 09:40:39 +02:00
mazgch ec6104a0fd typo 2014-05-16 18:19:06 +02:00
Martin Kojtal 32deaca3f9 Merge pull request #308 from mazgch/master
[ublox c027] platform api to manage peripheral power supplies and level shifters
2014-05-16 16:08:12 +01:00
0xc0170 fb90157c9a All targets except STM - asserts for checking presumptions (function parameters) 2014-05-16 15:45:12 +01:00
dbestm cd5cb4ab34 [NUCLEO_F302R8] Add I2C slave, enhance I2C master 2014-05-16 10:56:03 +02:00
Toyomasa Watarai 71b734812b [LPC11U68] Added PwmOut and USBDevice support
Added PwmOut support using SCT0/1
Added USBDevice support
Fixed analog mode issue for ADC
2014-05-16 16:00:43 +09:00
Bogdan Marinescu 7fda8e7eb7 Merge branch 'master' of github.com:mbedmicro/mbed 2014-05-15 17:12:41 +01:00
Bogdan Marinescu 4d4ac9cd81 Fixed LPC11U68 flow control issue 2014-05-15 17:12:28 +01:00
mazgch a36ad6c0b6 address coding style concerns of some individuals 2014-05-15 17:37:15 +02:00
mazgch f8e0d9cf3e added a api to manage the power supplies of peripheral power supplies and level shifters 2014-05-15 17:10:30 +02:00
Martin Kojtal 377ccd9e08 Merge pull request #306 from mazgch/master
add more pin names for C027 and LPC4088 QSB base board
2014-05-15 15:38:54 +01:00
0xc0170 09fe00f041 gpio and pinmap - asserts for NC as parameters (not init), abort retarget
- retarget - abort - calls mbed_die
	- asserts added to gpio mbed hal for all targets
2014-05-15 15:30:14 +01:00
Bogdan Marinescu e6f6f73239 Merge branch 'master' of git://github.com/dbestm/mbed into dbestm-master
Conflicts:
	libraries/mbed/targets/hal/TARGET_STM/TARGET_NUCLEO_L152RE/i2c_api.c
2014-05-15 13:33:52 +01:00
mazgch 7bc41ef504 some more pin names 2014-05-14 17:59:32 +02:00
0xc0170 4c61464ee7 all targets - gpio - NC guard
- gpio init enables to set pin to NC, thus the rest of gpio HAL should not do any action
	  if pin is set to NC.
2014-05-14 15:44:33 +01:00
Martin Kojtal 6923b21563 Merge pull request #304 from bco2stm/master
[NUCLEO_F302R8] Correct the pin used for the LEDx definitions
2014-05-14 13:45:09 +01:00
mazgch 339bd2aec9 fix uart tx isr detach 2014-05-14 14:09:36 +02:00
bco2stm 4bc911d7da [NUCLEO_F302R8] Correct the pin used for the LEDx definitions 2014-05-14 09:46:26 +02:00
bco2stm c273d37730 [NUCLEO_F030R8] Correct PA_7 pwm channel number 2014-05-14 09:20:42 +02:00
dbestm b15f1e5245 [NUCLEO_L152RE] add SPI slave and I2C slave 2014-05-13 09:49:50 +02:00
bcostm f41d1e8383 [NUCLEO_F401RE] Add PA_7 in AnalogIn pinout 2014-05-12 10:06:12 +01:00
Toyomasa Watarai e756237ebf [LPC11U68] Fixed PLL lock issue etc
Fixed PLL lock issue
Corrected system clock related code
2014-05-12 15:25:23 +09:00
bcostm c761a5e0a9 [NUCLEO_F401RE] Add auto clock configuration (HSE/HSI)
Solve also the problem with the SetSysClock function not declared in
sleep.c

Conflicts:
	libraries/mbed/targets/hal/TARGET_STM/TARGET_NUCLEO_F401RE/i2c_api.c
2014-05-09 13:46:53 +01:00
Martin Kojtal f62e0e4d9f Merge pull request #289 from neilt6/master
LPC11UXX and LPCU13XX - Fix reset glitch in pwmout_write()
2014-05-08 08:45:19 +01:00
Bogdan Marinescu 152b58673f Merge pull request #293 from hollie/fix_nvic_table_init
Ensure the NVIC table gets copied to RAM even when it is not at 0x0000
2014-05-07 17:38:34 +01:00
Bogdan Marinescu cbbbba7ce2 Merge pull request #297 from dbestm/master
[NUCLEO_F401RE] add stop management in I2C
2014-05-07 17:38:18 +01:00
dbestm ae75c78147 [NUCLEO_F401RE] add stop management in I2C 2014-05-07 17:06:27 +02:00
Neil Thiessen 0b449bb1d7 Fix reset glitch in pwmout_write() on LPC13XX
Fixed the same problem as https://github.com/mbedmicro/mbed/pull/289 on the LPC13XX.
2014-05-07 08:53:55 -06:00
Bogdan Marinescu 06edaf703a Merge pull request #294 from mazgch/master
increase timeout for slow I2C slaves that make use of extensive clock stretching
2014-05-07 13:18:30 +01:00
Bogdan Marinescu 7751e75957 Merge branch 'master' of github.com:mbedmicro/mbed 2014-05-07 13:12:33 +01:00
Bogdan Marinescu f01970e8df Merge branch 'master' of git://github.com/dbestm/mbed into dbestm-master
Conflicts:
	libraries/mbed/targets/hal/TARGET_STM/TARGET_NUCLEO_F103RB/device.h
	libraries/mbed/targets/hal/TARGET_STM/TARGET_NUCLEO_F103RB/i2c_api.c
2014-05-07 13:12:08 +01:00
Bogdan Marinescu 61d084e375 Merge pull request #292 from bcostm/master
[NUCLEO_L053R8] Add this platform
2014-05-07 13:08:09 +01:00
mazgch 94ac072267 fix multibyte reads (was polling wrong status value) 2014-05-07 13:39:27 +02:00