Commit Graph

911 Commits (ca36374e2e6ddc5a5dc7364ebece4489b2023bbd)

Author SHA1 Message Date
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 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
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
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
0xc0170 37b8ad8063 K20 - i2c open drain enabled 2014-05-07 11:28:02 +01:00
0xc0170 cbe3a40986 K64F - i2c fix, debug-info sets optimization to
- debug-info for all toolchains set optimization to 0
	- i2c - open drain and clock enabled for i2c pins [K64F]
2014-05-07 11:26:14 +01:00
Mihail Stoyanov 0cd322f5c3 Added D14, D15 pins for LPC812 2014-05-07 13:15:32 +03:00
dbestm 03f7fcd2a0 [NUCLEO_F401RE] add I2C slave and SPI slave 2014-05-07 10:39:13 +02:00
dbestm 54ec228bd9 [NUCLEO_F103RB] add SPI slave and I2C slave 2014-05-07 10:34:12 +02:00
mazgch ab2b426832 Merge branch 'master' of https://github.com/mbedmicro/mbed 2014-05-07 09:58:23 +02:00
mazgch e61b2f1f88 make sure we remove any function from a physical pin so that we can assign a new function to it. 2014-05-07 09:38:26 +02:00
0xc0170 0659ba42f6 Merge branch 'master' of https://github.com/Sissors/mbed into Sissors-master 2014-05-07 08:36:08 +01:00
mazgch 850bb11645 undo typo 2014-05-06 09:18:06 +02:00
mazgch 04fa77f909 increase timeout for slow slaves that use clock extensive stretching 2014-05-06 09:13:58 +02:00
bcostm ce2d6b3048 [NUCLEO_L053R8] Add hal files 2014-05-05 15:31:26 +02:00
bcostm faeb26b7ff [NUCLEO_L053R8] Add cmsis files (5) 2014-05-05 15:30:13 +02:00
bcostm b7b52e416a [NUCLEO_L053RB] Add cmsis files (4) 2014-05-05 15:27:32 +02:00
bcostm eb1315ff84 [NUCLEO_L053RB] Add cmsis files (3) 2014-05-05 15:18:50 +02:00
bcostm 3c02044ac4 [NUCLEO_L053RB] Add cmsis files (2) 2014-05-05 15:14:53 +02:00
bcostm 0ea6e7c6ea [NUCLEO_L053R8] Add cmsis files 2014-05-05 15:06:33 +02:00
Lieven Hollevoet 44b0aa9b73 Ensure the NVIC table gets copied to RAM even when it is not located at 0x00.
This is useful in case you're using a secondary bootloader to load application code that is using the mbed libraries on a bare metal controller.
2014-05-05 14:39:01 +02:00
Neil Thiessen 3e42b889ac Fix reset glitch in pwmout_write()
Resetting the timer every time the duty cycle is changed causes unwanted glitches to be produced on the output. These glitches manifest as a tone at the update frequency when PWM is used for class D style audio.
2014-05-01 09:19:14 -06:00
Bogdan Marinescu 60b6b2c007 Merge pull request #287 from tkuyucu/master
Update with I2C fix
2014-05-01 12:56:21 +01:00
Sissors 127eba40bd I2C changes for the K64F
Fixed also here single byte read (probably)
2014-04-30 14:50:02 +02:00
tkuyucu 35602c21be Merge remote-tracking branch 'upstream/master' 2014-04-30 14:03:28 +02:00
tkuyucu 74ecc75bd8 I2C NAK fix 2014-04-30 14:00:59 +02:00
Sissors 2ec18a06d8 Fixed Freescale byte reads (minus k64)
See:
https://mbed.org/questions/3181/Inconsistent-results-when-attempting-wri/
for the issue. Now every byte read is treated equal and ACKs/NACKs are
correctly generated
2014-04-30 10:46:23 +02:00
bcostm 27918745cd Merge branch 'master' of https://github.com/mbedmicro/mbed 2014-04-30 09:57:58 +02:00
bcostm 4582e2112e [NUCLEO_F103RB] Remove PD_0/PD_1 pins
These pins are not present in the 64 pins package.
2014-04-30 09:57:16 +02:00
Bogdan Marinescu 522752bd58 Merge branch 'master' of git://github.com/dbestm/mbed into dbestm-master 2014-04-29 16:58:46 +01:00
Bogdan Marinescu b5f6c135e4 Merge pull request #279 from xiongyihui/master
fix prescaler settings
2014-04-29 16:46:12 +01:00
dbestm 569da9ae6e [NUCLEO_F030R8] modif in device.h to enable I2C slave and SPI slave 2014-04-29 15:45:28 +02:00
Bogdan Marinescu 5bf985ebc6 Merge pull request #281 from bcostm/master
[NUCLEO_L152RE/F103RB] Add LSE configuration for RTC
2014-04-29 11:05:21 +01:00
bcostm 792677ef91 [NUCLEO_F103RB] Remove trailing spaces, typo corrections 2014-04-29 11:30:45 +02:00
bcostm 9ac0131acd [NUCLEO_F103RB] Add LSE configuration for RTC 2014-04-29 11:02:11 +02:00
bcostm 7af317dda2 [NUCLEO_L152RE] Add LSE configuration for RTC and...
... remove trailing spaces, typo corrections
2014-04-29 10:12:59 +02:00
Toyomasa Watarai 3de6ec9451 [LPC11U68] Initial release
Initial release of NXP LPC11U68 target.
2014-04-29 10:32:24 +09:00
Yihui Xiong f11cb671e5 fix prescaler settings 2014-04-29 07:30:50 +08:00
dbestm 839f1c0bad [NUCLEO_F030R8] add I2C slave, enhance clock settings 2014-04-28 17:58:44 +02:00
bcostm 795ebb928c [NUCLEO_F401RE] Add missing files for LSE configuration, typo 2014-04-28 17:58:42 +02:00
bcostm e85c4f1ebe [NUCLEO_F401RE] Add LSE configuration for RTC, remove trailing spaces, typo corrections 2014-04-28 17:58:40 +02:00
bcostm 8bafbd10f3 [NUCLEO_F401RE] Add missing files for LSE configuration, typo 2014-04-28 16:46:27 +02:00
bcostm aba7d50e7d [NUCLEO_F401RE] Add LSE configuration for RTC, remove trailing spaces, typo corrections 2014-04-28 16:04:14 +02:00
dbestm 5b12db16ad Merge branch 'master' of https://github.com/mbedmicro/mbed 2014-04-25 15:12:19 +02:00
dbestm a945e45c6f [NUCLEO_F030R8] add more SPI pins 2014-04-25 15:01:49 +02:00
dbestm ebe73f04c3 [NUCLEO_F030R8] add more I2C pins 2014-04-24 17:20:35 +02:00
bcostm 3abdd41404 [NUCLEO_F302R8] Add LSE configuration for RTC 2014-04-24 15:41:23 +02:00
Bogdan Marinescu cdd657a5b0 K64F TCP/IP code compilation temporary workaround 2014-04-24 15:41:17 +02:00
Bogdan Marinescu 9a5f81d75c Added K64F TCP/IP support
Currently NET_7 (HttpClient test) and NET_8 (NTP test) fail for
unknown reasons.
2014-04-24 15:41:14 +02:00
bcostm bbfdef0fac [NUCLEO_F103RB] Correction in us_ticker 2014-04-23 15:11:22 +02:00
cfb95 bc64051587 Update PeripheralNames.h
Add USART3
2014-04-23 15:11:20 +02:00
cfb95 513e6c042e Update serial_api.c
add UART_3 at pins PB_10 and PB_11
2014-04-23 15:11:18 +02:00
dbestm e61e369ebc Merge branch 'master' of https://github.com/mbedmicro/mbed 2014-04-23 14:18:06 +02:00
dbestm c1354497e2 [NUCLEO_F030R8] add more channels for ADC 2014-04-23 13:58:59 +02:00
Bogdan Marinescu 6cf73e2e26 Merge pull request #272 from bcostm/master
[NUCLEO_F030R8/F302R8] Move back SetSysClock() call in SystemInit()
2014-04-23 10:52:20 +01:00
bcostm b5d497940e [NUCLEO_F103RB] Many improvements
- Add more USART, SPI, I2C, PWM and AnalogIn pins
- Use TIM4 instead of TIM1 for the ticker
2014-04-23 11:12:16 +02:00
bcostm 9daf44308a [NUCLEO_F030R8] Move back SetSysClock() call in SystemInit() 2014-04-23 10:03:59 +02:00
bcostm 6abba68998 [NUCLEO_F302R8] Move back SetSysClock() call in SystemInit()
The serial_init() function is called before the mbed_sdk_init() (I don't
know why?) and this causes an incorrect baudrate calculation.
2014-04-23 09:53:35 +02:00
bcostm 3aa9e58c88 [NUCLEO_F030R8] Replace include of stm32f0xx.h with cmsis.h 2014-04-22 17:27:36 +02:00
Bogdan Marinescu a519f94f35 Merge pull request #271 from bcostm/master
[NUCLEO_F030R8] Many improvements added
2014-04-22 15:59:56 +01:00
bcostm 4ac17903e2 [NUCLEO_F030R8] Many improvements added
- Automatic clock configuration at startup between HSE and HSI
- System clock = 48 MHz for both
- Configure LSE for RTC (if not available LSI is used instead)
- Add 1MHz clock for I2C
- Update SPI prescaler values
- Typo corrections
2014-04-22 16:15:31 +02:00
Bogdan Marinescu 14ad8773c4 Merge pull request #270 from cfb95/patch-5
Update serial_api.c
2014-04-22 14:46:50 +01:00
Bogdan Marinescu ab84750786 Merge pull request #262 from dbestm/master
[NUCLEO_F030R8] add more pwm and UART pins, correction in I2C
2014-04-22 14:44:30 +01:00
Bogdan Marinescu 7b8a9ba096 Merge branch 'patch-3' of git://github.com/cfb95/mbed into cfb95-patch-3 2014-04-22 13:41:07 +01:00
Bogdan Marinescu ffe6a9b3e0 Revert "Merge pull request #265 from cfb95/patch-1"
This reverts commit 6b9fca177a, reversing
changes made to c9167e8c43.
2014-04-22 13:37:31 +01:00
Bogdan Marinescu 6b9fca177a Merge pull request #265 from cfb95/patch-1
Update gpio_irq_api.c
2014-04-22 13:22:50 +01:00
Bogdan Marinescu c9167e8c43 Merge branch 'master' of git://github.com/bcostm/mbed into bcostm-master 2014-04-22 12:53:02 +01:00
Bogdan Marinescu cebd0ea8b6 Merge pull request #266 from cfb95/patch-2
Update device.h
2014-04-22 09:59:04 +01:00
Bogdan Marinescu 8215203cde Merge pull request #264 from Sissors/master
K20 general and timer adjustments
2014-04-22 09:52:30 +01:00
cfb95 b82f46862e Update PeripheralNames.h
Add USART3
2014-04-20 08:32:36 -07:00
cfb95 6bc2cf7f6d Update serial_api.c
add UART_3 at pins PB_10 and PB_11
2014-04-20 06:27:17 -07:00
cfb95 bf597151cf Update gpio_irq_api.c
enable 16 irq channels, expanding EXTI9_5_IRQn and EXTI15_10_IRQn
2014-04-19 09:54:38 -07:00
Sissors 62dcd84aa3 Added (deep)sleep
Pretty much copy pasta of KLxx sleep code with only tiny change
2014-04-19 18:11:16 +02:00
cfb95 eaef91bee6 Update device.h
Enable DEVICE_ERROR_PATTERN to detect errors with fast blinking on green and blue leds.
2014-04-18 17:59:40 -07:00
cfb95 cdcd8f46f7 Update gpio_irq_api.c
More irq's and user button bugfix copied from NUCLEO_F103RB commit ab7cc12 by bcostm
2014-04-18 17:47:53 -07:00
bcostm 90e883a43d [NUCLEO_F302R8] Move SetSysClock() in mbed_sdk_init() + minor modifications 2014-04-18 16:18:45 +02:00
Sissors ccdfed52eb Moved ticker timer to a PIT channel + adjusted namings
The timer which creates interrupts is now also done using one of the PIT
channels. Since also here no chaining is possible we still need to do
some bits in software, but 32-bit without prescaling is still better
than 16-bit with.

Also some code was moved around and naming conventions changes, since no
lptmr is used anymore, and calling both pit-timer would get confusing
2014-04-17 22:36:03 +02:00
Sissors ee658aa3e1 Some tab fixes 2014-04-17 18:08:15 +02:00
Sissors 6ff874c0cb Modified timer code
Timer/Wait timer
2014-04-17 18:04:36 +02:00
dbestm 1fa42767fc [NUCLEO_F030R8] add pin for UART 2014-04-17 15:46:33 +02:00
dbestm c8ca6c339b Merge branch 'master' of https://github.com/mbedmicro/mbed 2014-04-16 16:33:54 +02:00
dbestm 45369fa25e [NUCLEO_F030R8] add more pwm, correction in I2C 2014-04-16 16:00:04 +02:00
Sissors 19d131973c Initial K20 fixes
Added the required gpio-irq enable/disable + fixed bus_frequency
2014-04-16 08:12:31 +02:00
Bogdan Marinescu 3afbb87c32 Merge pull request #261 from dinau/pwm_pa3_issue
[DISCO_F407VG] Fixed PWM PA_3 (and PC_9) output issue.
2014-04-14 10:26:20 +01:00
bcostm 4a1946ae8d [NUCLEO_F302R8] Implement analogout_free function
This code was missing + make some typo corrections.
2014-04-14 10:07:32 +01:00
dinau 8f135c6c81 [DISCO_F407VG] Fixed PWM PA_3 (and PC_9) output issue.
Refer to:
http://mbed.org/users/mbed_official/code/mbed-src/issues/4
2014-04-13 11:41:27 +09:00
Bogdan Marinescu efbbb2f307 Merge branch 'master' of git://github.com/sg-/mbed into sg--master
Conflicts:
	libraries/mbed/targets/hal/TARGET_STM/TARGET_NUCLEO_F030R8/gpio_irq_api.c
	libraries/mbed/targets/hal/TARGET_STM/TARGET_NUCLEO_F103RB/gpio_irq_api.c
	libraries/mbed/targets/hal/TARGET_STM/TARGET_NUCLEO_L152RE/gpio_irq_api.c
2014-04-11 17:19:53 +01:00
dinau 9617a966df Merge branch 'mbedmicro.org/master' 2014-04-12 00:40:38 +09:00
sg- b64e32299f add fflush to exit
enable DEVICE_STDIO_MESSAGES on k64f
remove all line endings from error messages throughout mbed sdk (all targets)
2014-04-09 16:24:13 -05:00
dinau 4e32f9440d Added: second analog out. 2014-04-09 20:36:34 +09:00
sg- e20949093c added '\n' to error("") calls for all freescale targets and common source 2014-04-09 01:14:41 -05:00
sg- 52d2d49900 Correct TYPO for SPI pinmap_merge on RF Expansion port 2014-04-09 00:25:26 -05:00
bcostm aba5d84046 [NUCLEO_F030R8] Add more interrupt_in pins 2014-04-08 16:46:38 +02:00
bcostm ab7cc12156 [NUCLEO_F103RB] Add more interrupt_in pins 2014-04-08 16:05:40 +02:00
bcostm aa90406ced Merge branch 'master' of https://github.com/mbedmicro/mbed 2014-04-08 16:02:27 +02:00
bcostm 4a18b90ab7 [NUCLEO_L152RE] Add more interrupt_in pins 2014-04-08 15:53:36 +02:00
dinau d9c2175a05 [STM32F3-Discovery][DISCO_F303VC] initial port. 2014-04-08 22:30:24 +09:00
Bogdan Marinescu d616c415fc Merge pull request #255 from bentwire/master
[STM32F3XX] Initial port
2014-04-08 09:11:08 +01:00
Bogdan Marinescu d81ce439bf Merge pull request #256 from bcostm/master
[NUCLEO_F030R8] Change PWM_OUT label
2014-04-07 23:29:58 +01:00
Bogdan Marinescu f12dc4ef0f Merge pull request #250 from xiongyihui/master
add I2C pins name and vector checksum
2014-04-07 23:26:23 +01:00
Bogdan Marinescu 2e32c71b50 [K64F] Ensure immediate update of CnV register in FTM
Also changed pin assignment for the PWM test.
2014-04-07 16:48:56 +01:00
Bogdan Marinescu 286a4e42f6 [K64F] Fix PWM implementation
Also change the pin for the PWM LED test.
2014-04-07 16:29:54 +01:00
bcostm 6e2d89de0f [NUCLEO_F030R8] Change PWM_OUT label
PB_3 does not support pwm out.
2014-04-07 08:34:15 +02:00
Michael Panetta 81c91a0487 [STM32F3XX] Initial port
This is the initial port of the mbed SDK to STM32F3XX (Tested with STM32F3Discovery and hello world test.)

This port is based on the NUCLEO_F302R8 target.
Only the GCC_ARM toolchain has been tested.
2014-04-06 21:21:28 -04:00
0xc0170 a7236a8783 K64F - ADC mbed HAL - channels definition correction
- only b channels are available
	- SC1A triggers the measurement
	- ADC1 channels corrections in the pinmap (PTCx), PTD6
2014-04-05 18:15:15 +02:00
0xc0170 0bc4853443 K64F - pwm clock set store 2014-04-04 11:24:50 +02:00
0xc0170 7daf2753a0 K64F - port HAL corrections 2014-04-04 10:30:30 +02:00
Yihui Xiong 61a0f59bad add I2C pins name to Arch and Arch Pro 2014-04-04 10:40:31 +08:00
Mihail Stoyanov 220c0bb39c Rename KSDK to KPSDK. Required for live compiles. 2014-04-03 11:32:15 +01:00
Bogdan Marinescu 2e4bbfb84f NMI handler is now in mbed_overrides.c 2014-04-03 11:22:56 +01:00
sg- 832875853b Added PWM pins and mbed overrides for NMI_b 2014-04-02 17:34:31 -05:00
Bogdan Marinescu d537c51d26 Merge pull request #245 from 0xc0170/dev_k64f_squash
target K64F
2014-04-02 20:45:34 +01:00
0xc0170 a0f8bd9741 Freescale - rename KSDK 2014-04-02 21:20:52 +02:00
0xc0170 9cc0f2513a K64F - d14 and d15 swapped 2014-04-02 20:54:22 +02:00
Bogdan Marinescu be141acdd0 Merge pull request #244 from bcostm/master
[NUCLEO_xxx] Various bugs correction
2014-04-02 18:12:39 +01:00
Bogdan Marinescu f7c0e770fc Merge pull request #229 from todor603/master
Added GCC_ARM for NUCLEO_F401RE
2014-04-02 18:12:18 +01:00
Mihail Stoyanov 4e46149448 Added pins D14 and D15 for LPC1549 2014-04-02 14:40:02 +01:00
0xc0170 03b3a4e895 Target K64F addition.
Squashed commit of the following:

commit db3c9f7682083abeb291e01df31e67e4c50845b3
Author: 0xc0170 <c0170@rocketmail.com>
Date:   Wed Apr 2 09:52:00 2014 +0200

    K64F - KSDK - Warnings fixes

commit a639a5cdff889c13509c954b0a34ebac861c1361
Merge: 67a2c2a f3de345
Author: 0xc0170 <c0170@rocketmail.com>
Date:   Tue Apr 1 12:48:35 2014 +0200

    Merge branch latest 'master' into dev_target_k64f

    Conflicts:
    	libraries/rtos/rtx/RTX_Conf_CM.c
    	workspace_tools/build_api.py

commit 67a2c2aeb976f264db52ea10d18fea9de0d7685f
Author: 0xc0170 <c0170@rocketmail.com>
Date:   Sun Mar 30 13:19:51 2014 +0200

    K64F - PinName for buttons (SW2, SW3)

commit 957573e2cd42d5c73ed99477abb98c8b883695b2
Author: 0xc0170 <c0170@rocketmail.com>
Date:   Tue Mar 25 11:46:57 2014 +0100

    K64F - pins addition to mbed HAL, uart - 4 instances, fix i2c instance which was not stored

commit 2347a6d03984e297190910a250f2771032ae6327
Author: sg- <sam.w.grove@gmail.com>
Date:   Mon Mar 24 15:20:51 2014 -0500

    Added wait to i2c stop

commit b7b4a9c72e8724087a44078c41a2cb33e4c8d5e3
Author: 0xc0170 <c0170@rocketmail.com>
Date:   Mon Mar 24 19:28:16 2014 +0100

    K64F - I2c - ack flag retreive correction (logic inverted in ksdk hal)

commit 46c875251263029e32463c3b48473b10496088d9
Author: sg- <sam.w.grove@gmail.com>
Date:   Mon Mar 24 13:16:18 2014 -0500

    Added I2C Pinnames

commit b71c7a0dfba7025662f9a9d176494ce4dc86273e
Author: 0xc0170 <c0170@rocketmail.com>
Date:   Tue Mar 18 17:02:34 2014 +0100

    K64F Arduino pinNames update

commit d41b0ee493263d1d80fcb72b3f0d4d788359c7c9
Merge: 9c0a982 e2574eb
Author: 0xc0170 <c0170@rocketmail.com>
Date:   Tue Mar 18 14:57:57 2014 +0100

    Merge remote-tracking branch 'upstream/master' into dev_target_k64f.
    K64F gpio changed according to the latest mbed master.

    Conflicts:
    	libraries/rtos/rtx/RTX_CM_lib.h
    	workspace_tools/export/uvision4.py

commit 9c0a9822ab14263fff5e3b6459b7c2b4a77ce30c
Author: 0xc0170 <c0170@rocketmail.com>
Date:   Mon Mar 17 21:08:17 2014 +0100

    K64F - sleep support

commit 5edcf3603d2e7b00eedbb377203a054b7a01e51d
Author: 0xc0170 <c0170@rocketmail.com>
Date:   Sun Mar 16 18:19:55 2014 +0100

    K64F - pullup/down corrections, LED1 - R, LED2 - G, LED3 - B

commit a2b3b53a1474d32779654765cd1ce2ba2c6b2186
Author: 0xc0170 <c0170@rocketmail.com>
Date:   Thu Mar 13 20:55:39 2014 +0100

    K64F - SPI - delays are set, pin definition for tests

commit 1f3b3abe16f4afaaf1b75cb4bf3e3a9d5b6e50a7
Author: 0xc0170 <c0170@rocketmail.com>
Date:   Tue Mar 11 21:26:00 2014 +0100

    K64F - DAC update - tested with test a8

    	- internal reference set to VDDA
    	- PinName DAC0_OUT

commit 26d8cf47f8c0786b290ae659beb022901029b313
Author: 0xc0170 <c0170@rocketmail.com>
Date:   Tue Mar 11 08:31:44 2014 +0100

    KSDK - drivers layer removal, mbed HAL using only KSDK HAL

    	- ADC corrections with channels, and clock configuration

commit 67ebe14f5c88725033ea0fb135d94b6bf9a00fdb
Author: 0xc0170 <c0170@rocketmail.com>
Date:   Mon Mar 10 12:46:08 2014 +0100

    K20 copy files removed, targets.py - vertical alignment for K64F definition

commit be5c562d513c808e5bd425195a4fb1c71f47a57e
Merge: 696a713 fe0aca9
Author: Emilio Monti <emilmont@gmail.com>
Date:   Mon Mar 10 11:14:55 2014 +0000

    Merge branch 'rtos_support' into dev_target_k64f

commit 696a713751194b4762f1cdf6c17c0786decd7808
Author: 0xc0170 <c0170@rocketmail.com>
Date:   Mon Mar 10 12:05:30 2014 +0100

    [FIX] K64F - adc, sgtl driver updates

commit fe0aca9940bbdd5ee70a1a7341a0a2ad2abf912b
Author: Emilio Monti <emilmont@gmail.com>
Date:   Mon Mar 10 11:04:16 2014 +0000

    Add RTOS support for K64F

commit 5c3edcbca6dbcce628c7cde51ac94a6fc6278ba5
Author: 0xc0170 <c0170@rocketmail.com>
Date:   Sun Mar 9 20:43:38 2014 +0100

    K64F - uvision templates update

    	- uvision 5.10 supports K64F

commit 33f18d11d0eadb9243f1be0ae96c5f82e2913d48
Merge: 26f7587 74e9b2e
Author: 0xc0170 <c0170@rocketmail.com>
Date:   Sat Mar 8 10:34:25 2014 +0100

    Update branch from mbed master

    	- merge branch 'master' into dev_target_k64f

    Conflicts:
    	libraries/USBDevice/USBDevice/USBEndpoints.h
    	libraries/USBDevice/USBDevice/USBHAL_KL25Z.cpp
    	workspace_tools/export/uvision4.py
    	workspace_tools/targets.py

commit 26f75872b19a1db2a3abb34c6e773bac56acb32f
Author: 0xc0170 <c0170@rocketmail.com>
Date:   Thu Mar 6 22:15:53 2014 +0100

    K64F - USBDevice - MPU disable in init

commit e54d6bbaa68827bd63058fbf2428e289d15ac1f7
Author: 0xc0170 <c0170@rocketmail.com>
Date:   Wed Feb 26 21:06:58 2014 +0100

    K64F - clock setup 4 (usb clock enable)

commit c4165732b9520cb31ae3d649d50c353d09dc9932
Author: 0xc0170 <c0170@rocketmail.com>
Date:   Wed Feb 26 20:01:47 2014 +0100

    K64F - USBDevice addition

commit 9fcdbb8562b1415561b04e902fcdbb4724add5af
Author: 0xc0170 <c0170@rocketmail.com>
Date:   Mon Feb 24 19:11:48 2014 +0100

    K64F SPI HAL - initial version

commit 8093df58fa7d17fcb5ad04872c958d5254ee1d8a
Author: 0xc0170 <c0170@rocketmail.com>
Date:   Sat Feb 22 13:14:44 2014 +0100

    K64F - RTC and I2C implementation (using KPSDK HAL)

    	- instance correction in objects and peripherals names headers

commit 7ef3fbda605c2bd53a86f37d0676c0393b2e2949
Author: 0xc0170 <c0170@rocketmail.com>
Date:   Fri Feb 14 09:45:27 2014 +0100

    mbed RTC HAL for K64F

commit e40332fd2db8bf36b3e6cabac5729e013da40c28
Merge: e059f65 6bfcd87
Author: 0xc0170 <c0170@rocketmail.com>
Date:   Thu Feb 13 14:20:20 2014 +0100

    Merge branch 'master' into dev_target_k64f

    Conflicts:
    	workspace_tools/build_api.py
    	workspace_tools/export/uvision4.py
    	workspace_tools/targets.py
    	workspace_tools/toolchains/__init__.py

commit e059f65fd09694418f9fa4f38da90954ab9decfe
Author: 0xc0170 <c0170@rocketmail.com>
Date:   Wed Feb 5 21:35:49 2014 +0100

    pwm mbed HAL

    	- using jusst ftm hal from KPSDK, not yet functional

commit b784278872b1d66ce2940f4988e0479971de8bc0
Author: 0xc0170 <c0170@rocketmail.com>
Date:   Mon Feb 3 18:28:24 2014 +0100

    uvision exporters for K64F, uticker - lptmr

    	- lptmr - no hal neiter driver, quick implementation using registers and internal clock
    	- exporters for K64F - using K60 1MB target, because K64F is not available in 4.7 yet

commit 7a030693e025c2bd456563f3e6f4456033d3f644
Author: Bogdan Marinescu <bogdan.marinescu@arm.com>
Date:   Tue Jan 28 16:29:54 2014 +0200

    Attempt to keep target's include directory structure

commit a2445b383224125abf4ee23bd17f1e685010a4a5
Author: 0xc0170 <c0170@rocketmail.com>
Date:   Mon Jan 27 07:25:16 2014 +0100

    Original KPSDK include directory structure for device

commit 9c07c58bb9cf5e9d8be4c3bec117ee87a5ea81c0
Author: 0xc0170 <c0170@rocketmail.com>
Date:   Fri Jan 24 16:51:17 2014 +0000

    K64F ADC - initial commit

    	- ADC using KPSDK driver

commit 88e03ef8c5855a57887bb36cddfa5ab1491d400c
Author: 0xc0170 <c0170@rocketmail.com>
Date:   Fri Jan 24 12:18:14 2014 +0000

    GPI IRQ

    	- nvic vectors number correction
    	- gpio irq HAL implementation

commit e83f1108ae9f779ce240d6cdfe23532bfa00a55e
Author: 0xc0170 <c0170@rocketmail.com>
Date:   Fri Jan 24 10:06:44 2014 +0000

    PORT HAL implementation

    	- using gpio hal port

commit 75c21943200c8240d1edaf0a67f84b9f3b43db7f
Author: 0xc0170 <c0170@rocketmail.com>
Date:   Thu Jan 23 16:02:36 2014 +0000

    Serial (only 8bit at the moment), using KPSDK HAL

commit 296e79def617f005918cd8e2aa574f2908a362ca
Author: 0xc0170 <c0170@rocketmail.com>
Date:   Thu Jan 23 08:35:50 2014 +0000

    Folder structure correction for K64F - KPSDK

    	- scripts reverted, only new macro is available
    	- K64F specific headers are in HAL in device folder

commit f236b1ffcb9c8b443ad8483bca8b0e564a63f004
Author: 0xc0170 <c0170@rocketmail.com>
Date:   Wed Jan 22 16:07:30 2014 +0100

    update KPSDK to RC1

    	- the update causes few more dependences which were reported. Will be removed later (usb, boards)
    	- pit timer - hal use , pit driver uses us period

commit f02c5353d4920e885f803ad235e5e82001e97b94
Author: 0xc0170 <c0170@rocketmail.com>
Date:   Tue Jan 21 09:45:55 2014 +0100

    KPSDK In/out  declaration removal

commit 8c88e098b4dc4901753309f1e6db4adb8aca4384
Author: 0xc0170 <c0170@rocketmail.com>
Date:   Tue Jan 21 09:12:41 2014 +0100

    gpio_t struct only needs pinName

    	- gpio_init creates init objects on stack

commit 6b96d4ea2c5a6a2cb13571d740ffb679a62f8f3d
Author: 0xc0170 <c0170@rocketmail.com>
Date:   Mon Jan 20 19:59:03 2014 +0100

    us ticker - pit implementation (not functional yet)

    	- pit driver in KPSDK - added sdk prefix to needed functions

commit 098e60a3846abcd4c9c00bd199b01d4b1899807f
Author: 0xc0170 <c0170@rocketmail.com>
Date:   Mon Jan 20 13:01:58 2014 +0100

    GPIO HAL - gpio_set implementation

commit 2bfebbfc75dcd08c20297ba42dc0cc82e5381a40
Author: 0xc0170 <c0170@rocketmail.com>
Date:   Sun Jan 19 20:46:55 2014 +0100

    GPIO KPSDK changes

    	- gpio driver - sdk prefix, no lookuptable, input/output declaration, refactoring, set MUX to GPIO
    	- gpio api in mbed implementation, tested on blue led

commit d083733c485fbdd79ed9ce87100df9fee82294a7
Author: 0xc0170 <c0170@rocketmail.com>
Date:   Sat Jan 18 17:14:09 2014 +0100

    Update folder structure for KPSDK

    	- drivers addition
    	- usb (needed by drivers - needs to be fixed)
    	- utilities
    	- hal folder
    	- drivers/flash removed (needs to be fixed)
    	- usb host removed (needs to be fixed)

commit 9abcf3d94a2cc849cd6e586c1bad650b6a340a0c
Author: 0xc0170 <c0170@rocketmail.com>
Date:   Thu Jan 16 11:06:16 2014 +0100

    Initial commit for K64F

    	- KPSDK addition
    	- CMSIS + HAL for K64F
    	- HAL is not yet implemented
    	- scripts - target contain macros, ignore folders, cmsis copy folders
2014-04-02 14:41:06 +02:00
bcostm b7035550f7 [NUCLEO_F030R8] Fix issue with last changes in error.h 2014-04-02 14:13:50 +02:00
bcostm 76afd011cd [NUCLEO_F302R8] Correct D11-D13 pin names 2014-04-02 14:05:42 +02:00
bcostm c2bfc1217b [NUCLEO_F401RE] Fix issue with PWM on PC_9
The correct channel is 4 and not 3.
2014-04-02 14:02:56 +02:00
bcostm d0c1c2003f [NUCLEO_xxx] Fix compilation error with missing Port names
This error was due to the last changed in the error.h file.
2014-04-02 13:59:17 +02:00
bcostm af8ec9b497 Merge branch 'master' of https://github.com/mbedmicro/mbed 2014-04-02 13:48:42 +02:00