Commit Graph

1593 Commits (6d6dd0be3a7c63040d853cb4f5bfc1ba605a11bb)

Author SHA1 Message Date
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
Bogdan Marinescu 067f2b6eb8 Merge pull request #511 from pbrook/usbserial-fix
Fix USB serial RX bug
2014-10-06 02:48:40 -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
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
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
Przemek Wirkus 4b50c3cadd Minor unit test name change in DIV test 2014-09-25 17:42:01 +01:00
Martin Kojtal 68d4685136 Merge pull request #510 from hasselmm/hasselmm/nucleo-f103rb-rtos
[RTOS] NUCLEO_F103RB -  definitions to support the target
2014-09-25 17:26:48 +01:00
Paul Brook 5518e335bb Fix usb serial RX bug
USBCDC::readEP already already called readStart, so we should not call
it here.

Signed-off-by: Paul Brook <paul@nowt.org>
2014-09-25 14:49:26 +01:00
Mathias Hasselmann 349ee9bac7 [NUCLEO_F103RB] Define RTOS target for this board 2014-09-25 07:52:27 +02:00
Andrew Fritz a31c4aa310 Merge remote-tracking branch 'upstream/master' 2014-09-24 16:34:35 -05:00
Andrew Fritz ebe53afecb Added pin names for cellular radio. 2014-09-24 16:19:39 -05:00
Andrew Fritz 8eb5bd40cb Expanded PeripheralPins.c to suppor UART5 for cellular radio. 2014-09-24 16:18:53 -05:00
Przemek Wirkus 0a0491cf0f Added new Unit Tests - General pool to cover common functionality and check if UT framework is working. This test pool can be extended with new tests 2014-09-24 16:22:19 +01:00
Przemek Wirkus 2ab8ad9b47 Feature: Device detection via serial - part 4
Interrupt In test pinology for NUCLEO changed
2014-09-24 14:58:14 +01:00
Przemek Wirkus da412da174 Feature: Device detection via serial - part 3 2014-09-24 14:58:10 +01:00
Przemek Wirkus 2e58f7922c Feature: Device detection via serial - part 1 2014-09-24 14:58:03 +01:00
Przemek Wirkus 3271e479b9 Minor modifications to mbed_main call testcase 2014-09-24 14:57:55 +01:00
bcostm 8cbcd6a07e [NUCLEOs] Fix issue with InterruptIn edges disable (MBED_A7 test) 2014-09-24 12:26:27 +02:00
bcostm c4bac8eb8a Tests: re-order and add new NUCLEO targets 2014-09-23 13:01:21 +02:00
Przemek Wirkus 1f3587f54a Added NUCLEO support for digital in/out tests
Slightly modified digital in/out tests
2014-09-23 10:53:53 +01:00
Przemek Wirkus 0a3e706703 Minor updates for InterruptIn testcase 2014-09-23 10:53:49 +01:00
Martin Kojtal 56e9fd5978 Merge pull request #496 from bcostm/master
[NUCLEO_F302R8] Migration to STM32Cube driver.
2014-09-23 10:18:44 +01:00
Martin Kojtal 347b41de66 Merge pull request #502 from Sissors/ksdk
[HAL] Freescale KSDK -  Use PIT timer for ticker/timeout
2014-09-23 08:23:15 +01:00
Martin Kojtal cb3999ca5e Merge pull request #504 from 0xc0170/fix_enet_k64f_ksdk
[NET, HAL] K64F - update files to use address of enet peripheral (not instance as required by KSDK v1.0)
2014-09-22 17:15:30 +01:00
0xc0170 c4a60632a8 [NET, HAL] K64F - enet edit for new header files (address used instead of instance)
- hal enet - asserts commented out as they are not valid for new MCU headers (address, no instance)
	- net - corrections for new ksdk API
2014-09-22 13:49:12 +01:00
Przemek Wirkus ea59d77d85 Small improvements to RTC test to check time elapsed and if timestamp is not zero 2014-09-22 10:06:39 +01:00
bcostm 362f0ce335 Merge branch 'master' of https://github.com/mbedmicro/mbed 2014-09-22 10:41:28 +02:00
Martin Kojtal 2e5c761dc8 Merge pull request #495 from ohagendorf/develop
[NUCLEO_F4x1RE] test MBED_A7 InterruptIn - new test case - both interrupts disabled
2014-09-22 09:26:12 +01:00
bcostm fd5b02f014 [NUCLEO_F302R8] Fix issue with MBED_A7 test
Add new STM_MODE_IT_EVT_RESET GPIO mode.
2014-09-22 10:03:50 +02:00
Sissors d4263bfed6 [HAL][KSDK] Use PIT timer for ticker/timeout
Previously in the KLXX devices the LPTMR was used for ticker/timeout,
since they only have 2 PIT channels which are required for regular
timer. The KSDK targets have 4 PIT channels, which allows for two 32-bit
timers running at 1 MHz.

Since PIT timers are 32-bit, and LPTMR 16-bit, this both simplifies it
and makes it more efficient. It does cost the remaining 2 PIT channels,
but on the other hand leaves the LPTMR free.
2014-09-20 21:36:29 +02:00
sg- c4c90fe780 [mbed][exporters][k22f][gcc] Added exporters for uvision, gcc_arm, kds. Known issues are: uvision5 as K22F doesnt seem to be supported with uvision4. gcc_arm and kds - build but blinky led color doesnt behave correctly. Haven't debugged much. python project.py -m K22F -p 25 -i kds [uvision] [gcc_arm] to pick back up. 2014-09-19 18:46:22 -05:00
sg- 4df4b2ffc5 [mbed][KPSDK][K22F][K64F] sw_timer.c seems to be left over from the last version of KSDKand isn't part of the v1.0.0 release. fsl_interrupt_manager.c relies on using KSDK specific startup code and linker scripts which we dont use. 2014-09-19 15:51:45 -05:00
0xc0170 fc5c9acbec [NET] K64F - enet driver addition (latest merge removed that file)
- plus API update to reflect changes in KSDK (interrupt  manager)
2014-09-19 13:33:41 +01:00
bcostm 0111694e1e Merge branch 'master' of https://github.com/mbedmicro/mbed 2014-09-19 14:33:30 +02:00
Martin Kojtal b2861e7625 Merge pull request #497 from ohagendorf/MBED_A7extension
[TEST] MBED_A7 - extension - raise/fall "off" case
2014-09-19 10:32:05 +01:00
ohagendorf 96b323c5cb test [MBED_A7] extension
The test MBED_A7 is missing one functionality. It tests switch on an
edge detection, change the detected edge and switching on both. The
complete switch off is not tested.
2014-09-19 11:13:57 +02:00
Martin Kojtal 01f28ff20d Merge pull request #491 from sg-/master
[ENET] K64F -  Remove storage-class specifier "extern" from C++ guard at closing squiggle
2014-09-19 08:25:22 +01:00
bcostm 9266e3a74e [NUCLEO_F302R8] Fix bug with MBED_A7 test (irq edges disabled) 2014-09-19 09:03:08 +02:00