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
Martin Kojtal
ebcc13f1a1
Merge pull request #509 from AFritzMulti/master
...
[HAL] MTS_GAMBIT - UART pin names and peripheral pins expansion.
2014-09-25 09:13:58 +01: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
6690db1444
Feature: Device detection via serial - part 2
2014-09-24 14:58:07 +01:00
Przemek Wirkus
2e58f7922c
Feature: Device detection via serial - part 1
2014-09-24 14:58:03 +01:00
Przemek Wirkus
7fb674d3e2
Added mbed_main test to automated pool
2014-09-24 14:57:59 +01:00
Przemek Wirkus
3271e479b9
Minor modifications to mbed_main call testcase
2014-09-24 14:57:55 +01:00
Przemek Wirkus
e3e49cb67d
Small improvements to ETH test cases - handle not open socket on host test side
2014-09-24 14:57:52 +01:00
Martin Kojtal
b1260b55d4
Merge pull request #507 from bcostm/master
...
[HAL] Nucleo boards - Fix issue with InterruptIn edges disable (MBED_A7 test)
2014-09-24 13:08:57 +01:00
bcostm
8cbcd6a07e
[NUCLEOs] Fix issue with InterruptIn edges disable (MBED_A7 test)
2014-09-24 12:26:27 +02:00
Martin Kojtal
f276ee2507
Merge pull request #505 from bcostm/master
...
[Tests] Nucleo - Re-order and add new targets
2014-09-24 09:40:30 +01: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
201bc4a190
Merge pull request #499 from ohagendorf/develop_coide
...
[EXPORT] NUCLEO_F4x1RE, DISCO_F407VG - export to CoIDE
2014-09-23 08:19:14 +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
466c3b4d75
Added stdio receive time in host test prints
2014-09-22 10:43:21 +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
Martin Kojtal
b5b42b5f4b
Merge pull request #500 from sg-/master
...
K22F - Templates for uvision, gcc, kds, KSDK - removal of sw timer and interrupt manager
2014-09-20 11:29:22 +01: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
ohagendorf
703f8f9331
[EXPORT] [NUCLEO_F4x1RE] and [DISCO_F407VG] export to CoIDE
...
- export project with export_test.py
- projects can be compiled, downloaded and debugged with CoIDE 1.7.7
- STM32F411xx is not yet supported directly by CoIDE
- STM32F401RE it not supported but STM32F401RB is (differences in flash
size)
- but the generated project files for the Nucleo boards contain correct
FLASH and RAM sizes and that seems to be enough
2014-09-19 21:24:08 +02:00
sg-
1f0f1ecbac
Merge branch 'master' of https://github.com/mbedmicro/mbed
2014-09-19 12:34:09 -05:00
Bogdan Marinescu
b2831b6b07
Merge pull request #498 from 0xc0170/fix_enet_k64f
...
[NET] K64F - enet driver addition (latest merge removed that file)
2014-09-19 13:44:47 +01: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
Przemek Wirkus
eb2153ec49
Modiffied compilation prompting to alling with linker's way of printing - now each issue will be printed in separate line with simple prefix like [DEBUG] Output:
2014-09-19 13:27:40 +01:00
Przemek Wirkus
27fa463fcf
Replaced variable names as overloads like stdout, stderr to _stdout, _stderr to avoid unnecesary bugs in the future
...
Added linking error prints - reported by STMicro David BELLEGARDE <david.bellegarde@st.com>
Modiffied compilation prompting to alling with linker's way of printing - now each issue will be printed in separate line with simple prefix like [DEBUG] Output:
2014-09-19 11:30:55 +01: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
bcostm
47b4e3cdb0
[NUCLEO_F302R8] Remove stdlib folders
...
Not used, was there as backup.
2014-09-19 09:00:50 +02:00
ohagendorf
45019cf62b
[DISCO_F407VG] test MBED_A7 InterruptIn failed
...
- solution similar to [NUCLEO_F4x1RE]
- digital_loop tests "DigitalIn DigitalOut", "DigitalInOut" and
"InterruptIn" are OK
2014-09-18 21:49:26 +02:00
bcostm
e19acbbb98
[NUCLEO_F302R8] Migration to STM32Cube driver.
...
Actual code is based on the Standard Peripherals Library.
2014-09-18 15:08:35 +02:00
Bogdan Marinescu
a73f28e6fb
Merge pull request #494 from 0xc0170/Sissors-master
...
Extended #476 , which does not break ethernet for K64F
2014-09-18 13:46:50 +01:00
ohagendorf
c59657a6d9
[NUCLEO_F4x1RE] test MBED_A7 InterruptIn failed
...
The test failed because it was not possible to switch off an already
active edge detection.
The reason was the GPIO HAL module driver function HAL_GPIO_Init. The
function changes only interrupt or event flags when the EXTI_MODE flag
in GPIO_Init->Mode is set. gpio_irq_set changed the event mode to
EDGE_NONE in gpio_irq_t structure but that doesn't changed the interrupt
and event flags in the CMSIS function because of the missing EXTI_MODE.
Now gpio_irq_set is able to switch off a specific or both edge
detections.
The MBED_A7 test was extended by another test to check if switch off
edge detection is OK.
2014-09-18 14:27:55 +02:00
Przemek Wirkus
b031920624
Added clean build switch --clean to singletest script
2014-09-18 11:17:57 +01:00