Commit Graph

2443 Commits (86e71216faa10524ae2243adb9a14c096ce085b0)

Author SHA1 Message Date
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
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
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
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
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
0xc0170 b051dbd717 [HAL] Freescale KSDK - MBED_NO_ENET guard for enet drivers 2014-09-17 08:53:36 +01:00
sg- 9f16b4b83e Merge branch 'master' of https://github.com/mbedmicro/mbed 2014-09-16 15:09:14 -05:00
0xc0170 0390a92d71 [HAL] MCU_K64F - files in MCU_K64F folder, as it is in the latest mbed master 2014-09-16 15:54:14 +01:00
0xc0170 cfd2a98b57 [KPSDK] Revert Enet driver to older version - compatible with lwip port
- this will be reverted back along with an updated lwip K64F implementation
2014-09-16 15:15:32 +01:00
Przemek Wirkus f92bd88f98 Removed small typo from host test 2014-09-16 14:40:25 +01:00
0xc0170 a83f8e809d [HAL] K64F - timestamp_t change in usticker 2014-09-16 14:22:47 +01:00
0xc0170 385d2fe792 MCU K64F files in K64F target folder 2014-09-16 13:45:02 +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
Sissors 60df735622 [K64F] First enet fixes
Hopefully the hardware init new functions are correct
2014-09-16 13:01:23 +02: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
Martin Kojtal ffa4168e11 Merge pull request #490 from AFritzMulti/master
[HAL] MTS_GAMBIT - SPI pin names expansion
2014-09-15 16:18:37 +02:00
sg- 01b323b46b [mbed][k64f][enet] Remove extern from c++ guard at closing squiggle 2014-09-12 19:25:25 -05:00
Andrew Fritz dd418c9507 Merge remote-tracking branch 'upstream/master' 2014-09-12 13:15:18 -05:00
Bogdan Marinescu 05aeadd8a9 Bumped revision number 2014-09-12 16:14:56 +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 a2853d2aa4 Revert "Fixed crash issue in RawSerial::printf for uARM"
This reverts commit d05b7f51d8.

I am reverting this commit because:

- it uses alloca(), which is a dangerous function
- it uses vsprintf instead of vsnprintf, which can lead to a stack overflow.

Until we find a better solution, this might do more bad than good, so I am reverting it.
2014-09-12 10:47:34 +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 f9b22381c7 Merge pull request #456 from 23chrischen/patch-3
Changed "Cortex-M4" to "Cortex-M4F"
2014-09-11 16:36:10 +01:00
Bogdan Marinescu 81ab34fd83 Merge pull request #475 from giulianodianda/master
STMs: Microlib heap fix for new, malloc and friends
2014-09-11 16:35:53 +01:00
Bogdan Marinescu ce5e32074e Merge pull request #488 from micromint/master
LPC4330_M4 Fix I2C0 Init
2014-09-11 16:29:10 +01:00
jesusalvarez 5f6da82f2f Merge remote-tracking branch 'upstream/master' 2014-09-11 11:07:25 -04:00
Bogdan Marinescu c281ede3db Merge pull request #483 from Experiment-626/master
Changed the #define DEVICE_SEMIHOST to 0 to allow for wakeup of deepslee...
2014-09-11 16:00: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