Commit Graph

885 Commits (5518e335bbaff2fa4ab3ff20a1ca60109a89eccf)

Author SHA1 Message Date
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 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 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
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
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
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
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
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
Przemek Wirkus b031920624 Added clean build switch --clean to singletest script 2014-09-18 11:17:57 +01:00
Przemek Wirkus f92bd88f98 Removed small typo from host test 2014-09-16 14:40:25 +01:00
0xc0170 c8eab47e81 Merge branch 'master' of github.com:Sissors/mbed into Sissors-master
Conflicts:
	libraries/mbed/targets/hal/TARGET_Freescale/TARGET_KPSDK_MCUS/PeripheralPins.h
	libraries/mbed/targets/hal/TARGET_Freescale/TARGET_KPSDK_MCUS/PortNames.h
	libraries/mbed/targets/hal/TARGET_Freescale/TARGET_KPSDK_MCUS/TARGET_K22F/device/MK22F51212/fsl_bitaccess.h
	libraries/mbed/targets/hal/TARGET_Freescale/TARGET_KPSDK_MCUS/TARGET_K64F/PeripheralPins.h
	libraries/mbed/targets/hal/TARGET_Freescale/TARGET_KPSDK_MCUS/TARGET_K64F/PortNames.h
	libraries/mbed/targets/hal/TARGET_Freescale/TARGET_KPSDK_MCUS/TARGET_K64F/analogin_api.c
	libraries/mbed/targets/hal/TARGET_Freescale/TARGET_KPSDK_MCUS/TARGET_K64F/analogout_api.c
	libraries/mbed/targets/hal/TARGET_Freescale/TARGET_KPSDK_MCUS/TARGET_K64F/device/MK64F12/regs.h
	libraries/mbed/targets/hal/TARGET_Freescale/TARGET_KPSDK_MCUS/TARGET_K64F/gpio_api.c
	libraries/mbed/targets/hal/TARGET_Freescale/TARGET_KPSDK_MCUS/TARGET_K64F/gpio_irq_api.c
	libraries/mbed/targets/hal/TARGET_Freescale/TARGET_KPSDK_MCUS/TARGET_K64F/gpio_object.h
	libraries/mbed/targets/hal/TARGET_Freescale/TARGET_KPSDK_MCUS/TARGET_K64F/i2c_api.c
	libraries/mbed/targets/hal/TARGET_Freescale/TARGET_KPSDK_MCUS/TARGET_K64F/objects.h
	libraries/mbed/targets/hal/TARGET_Freescale/TARGET_KPSDK_MCUS/TARGET_K64F/pinmap.c
	libraries/mbed/targets/hal/TARGET_Freescale/TARGET_KPSDK_MCUS/TARGET_K64F/port_api.c
	libraries/mbed/targets/hal/TARGET_Freescale/TARGET_KPSDK_MCUS/TARGET_K64F/pwmout_api.c
	libraries/mbed/targets/hal/TARGET_Freescale/TARGET_KPSDK_MCUS/TARGET_K64F/rtc_api.c
	libraries/mbed/targets/hal/TARGET_Freescale/TARGET_KPSDK_MCUS/TARGET_K64F/serial_api.c
	libraries/mbed/targets/hal/TARGET_Freescale/TARGET_KPSDK_MCUS/TARGET_K64F/sleep.c
	libraries/mbed/targets/hal/TARGET_Freescale/TARGET_KPSDK_MCUS/TARGET_K64F/spi_api.c
	libraries/mbed/targets/hal/TARGET_Freescale/TARGET_KPSDK_MCUS/TARGET_K64F/us_ticker.c
	libraries/mbed/targets/hal/TARGET_Freescale/TARGET_KPSDK_MCUS/TARGET_MCU_K64F/PeripheralPins.h
	libraries/mbed/targets/hal/TARGET_Freescale/TARGET_KPSDK_MCUS/TARGET_MCU_K64F/PortNames.h
	libraries/mbed/targets/hal/TARGET_Freescale/TARGET_KPSDK_MCUS/TARGET_MCU_K64F/analogin_api.c
	libraries/mbed/targets/hal/TARGET_Freescale/TARGET_KPSDK_MCUS/TARGET_MCU_K64F/analogout_api.c
	libraries/mbed/targets/hal/TARGET_Freescale/TARGET_KPSDK_MCUS/TARGET_MCU_K64F/device/MK64F12/regs.h
	libraries/mbed/targets/hal/TARGET_Freescale/TARGET_KPSDK_MCUS/TARGET_MCU_K64F/device/MK64F12/system_MK64F12.h
	libraries/mbed/targets/hal/TARGET_Freescale/TARGET_KPSDK_MCUS/TARGET_MCU_K64F/gpio_api.c
	libraries/mbed/targets/hal/TARGET_Freescale/TARGET_KPSDK_MCUS/TARGET_MCU_K64F/gpio_irq_api.c
	libraries/mbed/targets/hal/TARGET_Freescale/TARGET_KPSDK_MCUS/TARGET_MCU_K64F/gpio_object.h
	libraries/mbed/targets/hal/TARGET_Freescale/TARGET_KPSDK_MCUS/TARGET_MCU_K64F/i2c_api.c
	libraries/mbed/targets/hal/TARGET_Freescale/TARGET_KPSDK_MCUS/TARGET_MCU_K64F/objects.h
	libraries/mbed/targets/hal/TARGET_Freescale/TARGET_KPSDK_MCUS/TARGET_MCU_K64F/pinmap.c
	libraries/mbed/targets/hal/TARGET_Freescale/TARGET_KPSDK_MCUS/TARGET_MCU_K64F/port_api.c
	libraries/mbed/targets/hal/TARGET_Freescale/TARGET_KPSDK_MCUS/TARGET_MCU_K64F/pwmout_api.c
	libraries/mbed/targets/hal/TARGET_Freescale/TARGET_KPSDK_MCUS/TARGET_MCU_K64F/rtc_api.c
	libraries/mbed/targets/hal/TARGET_Freescale/TARGET_KPSDK_MCUS/TARGET_MCU_K64F/serial_api.c
	libraries/mbed/targets/hal/TARGET_Freescale/TARGET_KPSDK_MCUS/TARGET_MCU_K64F/sleep.c
	libraries/mbed/targets/hal/TARGET_Freescale/TARGET_KPSDK_MCUS/TARGET_MCU_K64F/spi_api.c
	libraries/mbed/targets/hal/TARGET_Freescale/TARGET_KPSDK_MCUS/TARGET_MCU_K64F/us_ticker.c
	libraries/mbed/targets/hal/TARGET_Freescale/TARGET_KPSDK_MCUS/analogin_api.c
	libraries/mbed/targets/hal/TARGET_Freescale/TARGET_KPSDK_MCUS/analogout_api.c
	libraries/mbed/targets/hal/TARGET_Freescale/TARGET_KPSDK_MCUS/gpio_api.c
	libraries/mbed/targets/hal/TARGET_Freescale/TARGET_KPSDK_MCUS/gpio_irq_api.c
	libraries/mbed/targets/hal/TARGET_Freescale/TARGET_KPSDK_MCUS/gpio_object.h
	libraries/mbed/targets/hal/TARGET_Freescale/TARGET_KPSDK_MCUS/i2c_api.c
	libraries/mbed/targets/hal/TARGET_Freescale/TARGET_KPSDK_MCUS/objects.h
	libraries/mbed/targets/hal/TARGET_Freescale/TARGET_KPSDK_MCUS/pinmap.c
	libraries/mbed/targets/hal/TARGET_Freescale/TARGET_KPSDK_MCUS/port_api.c
	libraries/mbed/targets/hal/TARGET_Freescale/TARGET_KPSDK_MCUS/pwmout_api.c
	libraries/mbed/targets/hal/TARGET_Freescale/TARGET_KPSDK_MCUS/rtc_api.c
	libraries/mbed/targets/hal/TARGET_Freescale/TARGET_KPSDK_MCUS/serial_api.c
	libraries/mbed/targets/hal/TARGET_Freescale/TARGET_KPSDK_MCUS/sleep.c
	libraries/mbed/targets/hal/TARGET_Freescale/TARGET_KPSDK_MCUS/spi_api.c
	libraries/mbed/targets/hal/TARGET_Freescale/TARGET_KPSDK_MCUS/us_ticker.c
	libraries/net/eth/lwip-eth/arch/TARGET_Freescale/fsl_enet_driver.c
	workspace_tools/tests.py
2014-09-16 13:43:02 +01:00
Martin Kojtal 344cc2b3c8 Merge pull request #492 from ohagendorf/develop
[NUCLEO_F4x1RE] export to GCC_ARM
2014-09-16 12:57:58 +01:00
ohagendorf da170514ab [DISCO_407VG] added to build_travis.py 2014-09-16 12:44:13 +02:00
Przemek Wirkus 9fb3c45f64 Small change in repamble readline comparision function 2014-09-16 10:53:24 +01:00
ohagendorf a325eabc42 [NUCLEO_F4x1RE] added to build.travis.py 2014-09-15 23:43:22 +02:00
ohagendorf a75be2f651 [NUCLEO_F4x1RE] export to GCC_ARM
NUCLEO_401RE and NUCLEO_411RE can be exported to GCC_ARM
2014-09-15 21:55:11 +02:00
Przemek Wirkus 63ee01bdd9 Modified host tests to use serial.realine() function to avoid extra timeouts during tests (test will work faster and will be more reliable) 2014-09-15 17:44:30 +01:00
Przemek Wirkus 0748ef4a2a Modified host tests to use serial.realine() function to avoid extra timeouts during tests (test will work faster and will be more reliable) 2014-09-15 17:44:26 +01:00
Przemek Wirkus 8c77115d55 Modified host tests to use serial.realine() function to avoid extra timeouts during tests (test will work faster and will be more reliable) 2014-09-15 17:44:22 +01:00
Przemek Wirkus 40b776133b Removed Semihost tests from FRDM devices - to check why they fail 2014-09-15 17:44:19 +01:00
Mihail Stoyanov 7d93e9d858 OTA target support for nRF51822 and nRF51-DK 2014-09-12 17:40:08 +03:00
Bogdan Marinescu 5eb0d384fb Merge branch 'master' of github.com:mbedmicro/mbed 2014-09-12 10:52:44 +01:00
Bogdan Marinescu e7a562cc77 Fixed RTOS compilation for some targets (in exporters)
More details: https://github.com/mbedmicro/mbed/pull/472
2014-09-12 10:51:14 +01:00
Bogdan Marinescu 305b628639 Fixed syntax error in build_release.py 2014-09-12 10:50:46 +01:00
Bogdan Marinescu 5687a86731 Fixed RTOS compilation for some targets
More details: https://github.com/mbedmicro/mbed/pull/472
2014-09-11 17:04:21 +01:00
Bogdan Marinescu c372035d60 Merge pull request #477 from sg-/master
Add derivative support to K64F and updates for MTS_GAMBIT
2014-09-11 16:47:48 +01:00
Bogdan Marinescu 1393115460 Merge pull request #484 from ohagendorf/master
[Nucleo_F4x1]: 2 extensions for a) toolchain ARM_GCC and b) test DigitalIn DigitalOut
2014-09-11 15:17:12 +01:00
Bogdan Marinescu 8a63c226dd Merge pull request #485 from Accutechs/master
[LPC4337] add support
2014-09-11 14:00:04 +01:00
Przemek Wirkus 97f526cc8c Modified DEV_NULL host test to take under consideration blocking serial port API 2014-09-11 13:38:58 +01:00
Przemek Wirkus 2efe99a100 Global serial read changed to 1 second 2014-09-11 13:28:10 +01:00
Przemek Wirkus 29dbc34202 Changed default serial timeout for host test 2014-09-11 13:28:06 +01:00
Sissors 0de8335c20 [K22F] Sleep/deepsleep verified to work
Works properly with waking from interruptin, not from timeout from
regular sleep, but thats the nature of the current KSDK Ticker timer
used, can be changed later on :)
2014-09-11 08:33:44 +02:00
Sissors a1be82dc81 [KSDK][K22F] AnalogIn/Out added/verified
The original code switched ADC clock source depending on required
prescaler. Maybe thats possible on K64, but on K22 it just tried to set
clock to non-existing source. Not it gets a bit above MAX_ADC, but that
is set fairly conservative so is not an issue.
2014-09-11 08:08:39 +02:00
ohagendorf da9b7d33a4 Toolchain GCC ARM for Nucleo_F411RE
- Linker script and startup for Nucleo_F411 - both are copies of
Nucleo_F401 with some changes (memory size, interrupt vector table)
- changes in target.py for the new toolchain
2014-09-10 23:48:06 +02:00
Przemek Wirkus 7d9048fccc Simple refactoring around MUT copy functionality - 'copy_method' avail in MUTs definition 2014-09-10 14:09:25 +01:00
Przemek Wirkus 55a77a2721 Added field 'copy_config' to MUTs file format 2014-09-10 14:09:21 +01:00
Przemek Wirkus 4a2b989f98 Added more exception handling for compilation error - so now we do not have Tracebacks when lib / mbed compilation fails 2014-09-10 13:10:38 +01:00
Przemek Wirkus e066b84f1c For timer / timeout related tests deviation changed to +/- 10% - some boards can run on not precise quartz / RC oscilators 2014-09-10 12:44:27 +01:00
ytsuboi 89342dbe69 Merge remote-tracking branch 'upstream/master' 2014-09-10 03:20:05 +09:00
ytsuboi 2009f7e8d1 [nRF51822] Fixed support for Nordic parts with 16k RAM 2014-09-09 02:31:23 +09:00
Bogdan Marinescu 82ec8c2c4d Added support for Nordic parts with 32K of RAM 2014-09-08 16:27:53 +01:00
Przemek Wirkus eec7671fa0 For timer / timeout related tests deviation changed to +/- 10% - some boards can run on not precise quartz / RC oscilators 2014-09-08 11:49:04 +01:00
ytsuboi b55e3b42b4 Merge remote-tracking branch 'upstream/master' 2014-09-07 19:59:40 +09:00