Commit Graph

1236 Commits (2274651892cbb638d18be1fc4531d9c0741d703d)

Author SHA1 Message Date
Toyomasa Watarai d9479288a7 HAL : [LPC824] Fix I2C return value
- Add LPC824 target for I2C test cases
- Fix I2C read/write return value bug, detected by I2C_MMA7660 test case
2014-10-15 17:46:21 +09:00
Martin Kojtal 5d17b81123 Merge pull request #550 from sg-/k64_uuid_mac
HAL: K64F - mbed_mac_address implementation
2014-10-15 08:12:32 +02:00
Bogdan Marinescu ecf04d3782 Merge pull request #558 from toyowata/master
HAL: [LPC1549, LPC11U68] Add RTC support
2014-10-13 15:01:02 +01:00
Martin Kojtal 77c1102c0f Merge pull request #556 from ohagendorf/Nucleo_F334R8
Exporters: NUCLEO_F334R8 - export to gcc_arm and coide (templates, travis addition)
2014-10-13 15:28:06 +02:00
Toyomasa Watarai 288dfb8e5f [LPC1549, LPC11U68] Add RTC support
- Add RTC API support
2014-10-13 22:20:41 +09:00
Toyomasa Watarai 0c3d6305af [LPC824] Add correct SPI delay value
- Move SPI delay setting from set_frequency() to spi_init()
- Set correct value for PRE_DELAY field
- Tested with mbed Application Shield
2014-10-13 17:45:34 +09:00
Rohit Grover 07722e70ce adding pinmap definition for the smart-beacon-kit 2014-10-13 08:34:51 +01:00
Martin Kojtal 342790b0c3 Merge pull request #544 from ohagendorf/DISCO_F429_2
HAL: Disco_F429ZI - extensions of interrupt vectors, pin names and pin functions
2014-10-13 08:57:52 +02:00
ohagendorf 3b9fd11ee3 Merge branch 'gcc4nucleo_f334' into Nucleo_F334R8
Conflicts:
	workspace_tools/export/gccarm.py
	workspace_tools/export_test.py
2014-10-12 19:09:31 +02:00
ohagendorf 6cc89ef5e8 [DISCO_F429ZI] added a description why there are commented pwm config lines
Some text to explain the commented pwm pin config. Remove some Timer5
based pwm config.

The Timer5 lines are not allowed as pwm configs because the timer is
used by the us_ticker as mentioned at the start of the block. I've
overseen to remove these lines.
2014-10-10 21:48:20 +02:00
Martin Kojtal b97938d3ad Merge pull request #548 from Cheong2K/master
HAL: BLE Nano - pin corrections for the BLE Nano board (D0-D7)
2014-10-10 09:42:59 +02:00
Cheong 68f9b5e847 Clean up and fixes. 2014-10-10 15:27:46 +08:00
Cheong 02c6b49f14 Adjusted pin assignment for the BLE Nano board. 2014-10-10 14:30:06 +08:00
Yihui Xiong 5c55c54a2c [HAL][ARCH_MAX] add pin names - D14 and D15 2014-10-10 11:21:02 +08:00
ohagendorf 79e2ebfc7b [DISCO_F429ZI] changed mcu names
Changed mcu names in comments from original F407 ot F429.
2014-10-09 20:20:12 +02:00
Martin Kojtal dde65d84a0 Merge pull request #543 from dbestm/master
CMSIS: NUCLEO_F401RE - ARM GCC ld RAM size correction
2014-10-09 10:06:01 +01:00
dbestm 8d52e5439f [NUCLEO_F401RE] enhance gcc ld file 2014-10-09 10:43:39 +02:00
Martin Kojtal b5a4c8e803 Merge pull request #534 from anpilog/master
HAL: nrf51822 - Few fixes for PWM and Serial
2014-10-09 08:08:13 +01:00
Martin Kojtal 8b3e1c2fa8 Merge pull request #541 from dbestm/master
HAL: NUCLEO_F030R8 - port HAL to support Cube and cube files addition
2014-10-08 12:47:21 +01:00
dbestm 8df74cfcda [NUCLEO_F030R8] port HAL to support cube and ad cube files as well 2014-10-08 11:24:16 +02:00
ohagendorf f256f79b63 [DISCO_F429ZZI] pin function definition
Added mostly all pin function (ADC, I2C, SPI, UART, PWM).

The basis of the target was DISCO_F407. The 429 has some additional pin
functions which are added with this commit. Also ports, pins and pin
functions of the larger packages are added not only the available of the
F429ZI package.
2014-10-08 10:41:06 +02:00
Martin Kojtal 2c00ff11de Merge pull request #537 from xiongyihui/stm32f407
HAL: DISC_F407VG, ARCH_MAX - change default toolchain

- ARCH_MAX - use different PeriheralNames.h files
2014-10-08 08:55:24 +01:00
Yihui Xiong 5098e3b480 [HAL][ARCH_MAX] use different PeripheralNames.h for STDIO_UART 2014-10-08 15:40:18 +08:00
bcostm 7a32e539fb [NUCLEO_F091RC] pin_mode for Serial only if the pin is present
Same as all other targets.
2014-10-08 08:50:05 +02:00
sg- 3bd868408b [K64F] Add mbed_mac_address implementation 2014-10-07 17:41:39 -05:00
ohagendorf 70b576d1b3 [DISCO_F429ZI] missing interrupt vectors
Added some missing F429 interrupt vectors
2014-10-07 18:34:44 +02:00
Martin Kojtal 46e37048a8 Merge pull request #535 from bcostm/dev_F091RC
Platform: New platform addition - NUCLEO_F091RC
2014-10-07 09:23:49 +01:00
bcostm 6fd2118f1d [NUCLEO_F091RC] First commit of CMSIS files 2014-10-06 16:33:16 +02:00
bcostm 294db2502e [NUCLEO_F091RC] First commit of HAL files 2014-10-06 16:08:56 +02:00
Bogdan Marinescu a156b0f4f2 Merge branch 'DISCO_F429' of git://github.com/ohagendorf/mbed into ohagendorf-DISCO_F429
Conflicts:
	workspace_tools/export/gccarm.py
2014-10-06 14:33:21 +01:00
Andrii Anpilogov ff83792d52 Fix NRF51822 PWM and Serial:
- imlement pwmout_free()
- check UART interrupt type carefully
- implement serial_set_flow_control()
- add serial_clear() stub
2014-10-06 20:17:51 +08:00
Martin Kojtal 6d6dd0be3a Merge pull request #530 from Sissors/master
HAL: Allow Serial pin to be NC for all targets
2014-10-06 11:38:36 +01:00
Sissors 1b833cbd67 Changed serial pin_mode with brackets and for all targets 2014-10-06 12:15:24 +02:00
Bogdan Marinescu 9028a2a577 Merge pull request #533 from Cheong2K/master
Added RedBearLab BLE Nano board.
2014-10-06 02:58:56 -07:00
Martin Kojtal b30176a071 Merge pull request #531 from toyowata/master
Platform: LPC824 - new platform addition
2014-10-06 09:53:12 +01:00
Martin Kojtal d583b167c5 Merge pull request #529 from xiongyihui/stm32f407
HAL: ARCH_MAX - STM_MODE_IT_EVT_RESET undefined error fix, uvision and gcc template
2014-10-06 09:12:21 +01:00
Martin Kojtal 8601be3b1e Merge pull request #522 from neilt6/master
HAL: Better ADC self-calibration for LPC11U6X & LPC15XX
2014-10-06 09:05:49 +01:00
Cheong e48d309f18 Added RedBearLab BLE Nano board. 2014-10-06 11:29:01 +08:00
ohagendorf 70eef62d9f [DISCO_F429ZI] new target with [EXPORT] to gcc_arm and CoIDE
- build and export to toolchains gcc_arm and CoIDE is OK
- compiling is OK
- mbed/blinky is OK
2014-10-05 23:05:16 +02:00
Toyomasa Watarai 685f97da37 Add LPC824 platform
LPCXpresso824-MAX support
uARM target support
RTOS support
2014-10-05 16:18:48 +09:00
Sissors 86e71216fa Allow Serial pin to be NC on Freescale/NXP devices
Nordic(?)/STM should also be done, but I don't know if they do their own
stuff.

Issue is that since the mbed-assert implementation, calling pin_mode
causes an assert when a pin is NC. Since defining a serial object with
only TX or RX is a valid use case, this should be handled.

pinmap_pinout does accept NC pins, so there no guards are needed (person
who adds asserts there may also fix it in all other code).
2014-10-04 22:47:25 +02:00
Yihui Xiong 476209445b [ARCH_MAX] fix error - STM_MODE_IT_EVT_RESET undefined 2014-10-04 21:45:26 +08:00
ohagendorf 71f473c464 [EXPORT][NUCLEO_F334R8] export to gcc_arm and coide
- rtos library is not working because of double defined SysTick_Handler
in system_stm32f3xx.c and in rtos
- please see pullrequest #526 for a correct export
- tests are working fine:
Test summary:

+--------+---------------+-----------+-----------+---------------------------------------+--------------------+---------------+-------+
| Result | Target        | Toolchain | Test ID   | Test Description
| Elapsed Time (sec) | Timeout (sec) | Loops |

+--------+---------------+-----------+-----------+---------------------------------------+--------------------+---------------+-------+
| OK     | NUCLEO_F334R8 | GCC_ARM   | DTCT_1    | Simple detect test
|        0.44        |       10      |  1/1  |
| OK     | NUCLEO_F334R8 | GCC_ARM   | EXAMPLE_1 | /dev/null
|        3.37        |       10      |  1/1  |
| OK     | NUCLEO_F334R8 | GCC_ARM   | MBED_10   | Hello World
|        0.37        |       10      |  1/1  |
| OK     | NUCLEO_F334R8 | GCC_ARM   | MBED_11   | Ticker Int
|       11.31        |       20      |  1/1  |
| OK     | NUCLEO_F334R8 | GCC_ARM   | MBED_12   | C++
|        1.32        |       10      |  1/1  |
| OK     | NUCLEO_F334R8 | GCC_ARM   | MBED_16   | RTC
|        4.7         |       15      |  1/1  |
| OK     | NUCLEO_F334R8 | GCC_ARM   | MBED_2    | stdio
|        0.76        |       20      |  1/1  |
| OK     | NUCLEO_F334R8 | GCC_ARM   | MBED_23   | Ticker Int us
|       11.37        |       15      |  1/1  |
| OK     | NUCLEO_F334R8 | GCC_ARM   | MBED_24   | Timeout Int us
|       11.41        |       15      |  1/1  |
| OK     | NUCLEO_F334R8 | GCC_ARM   | MBED_25   | Time us
|       11.31        |       15      |  1/1  |
| OK     | NUCLEO_F334R8 | GCC_ARM   | MBED_26   | Integer constant
division             |        1.32        |       10      |  1/1  |
| OK     | NUCLEO_F334R8 | GCC_ARM   | MBED_A1   | Basic
|        1.32        |       10      |  1/1  |
| OK     | NUCLEO_F334R8 | GCC_ARM   | MBED_A21  | Call function before
main (mbed_main) |        1.31        |       10      |  1/1  |
| OK     | NUCLEO_F334R8 | GCC_ARM   | MBED_A5   | DigitalIn DigitalOut
|        1.31        |       10      |  1/1  |
| OK     | NUCLEO_F334R8 | GCC_ARM   | MBED_A6   | DigitalInOut
|        1.31        |       10      |  1/1  |
| OK     | NUCLEO_F334R8 | GCC_ARM   | MBED_A7   | InterruptIn
|        9.31        |       10      |  1/1  |
| OK     | NUCLEO_F334R8 | GCC_ARM   | MBED_A9   | Serial Echo at 115200
|        5.97        |       10      |  1/1  |

+--------+---------------+-----------+-----------+---------------------------------------+--------------------+---------------+-------+
Result: 17 OK

Completed in 125.02 sec
2014-10-04 01:45:38 +02:00
bcostm 91958f7f56 [NUCLEO_F072RB] Fix 8-bit data access issue with SPI slave 2014-10-03 10:37:00 +02:00
Neil Thiessen 2e441ae239 Update analogin_api.c
Implemented proper self-calibration logic as per UM10736.
2014-09-30 12:53:59 -06:00
Neil Thiessen 14a88d7855 Update analogin_api.c
Implemented proper self-calibration logic as per UM10732, and changed sampling clock to actually divide by 1 (CLKDIV = 0).
2014-09-30 12:51:28 -06:00
bcostm 8333923611 [NUCLEO_F302R8,F334R8,L053R8] Increase ADC sampling time.
This change allows to pass the MBED_A8 test.
2014-09-30 14:56:19 +02:00
Martin Kojtal 25ff4eb5b4 Merge pull request #513 from Sissors/ksdk
[HAL] K22F - UART pinnames
2014-09-27 12:25:54 +01:00
Sissors cc3456f254 [HAL][K22F] Added final UART pinnames
See title
2014-09-27 10:57:36 +02:00
Andrew Fritz a31c4aa310 Merge remote-tracking branch 'upstream/master' 2014-09-24 16:34:35 -05:00