Sissors
a6c9b1c40b
[HAL][K20D50M] Serial baudrate improvements / clk_freqs.h fix
...
Three changes, first it fixes:
https://github.com/mbedmicro/mbed/issues/761 (which was reported
slightly wrong because K20 has again different clocking from KLXX for
uarts).
Second it adds mcgpllfll to clk_freqs, which again is different for K20
compared to KLXX .
Finally it adds the fractional baudrate divider for more accurate serial
baudrates.
2014-12-08 21:15:24 +01:00
Sissors
10156c5006
[USBDevice] Fix for https://github.com/mbedmicro/mbed/issues/690
...
In the old K64F register .h file (same for K22F),
SIM_SOPT2_PLLFLLSEL_MASK was incorrectly set as a 1-bit field, like it
was in the KLXX devices, while it now is a 2-bit field. This has been
fixed in the current register maps, however the USB clock was set by
taking the entire mask, while only the first bit needs to be set.
This is now fixed by using the SHIFT definition, and should work also on
other Freescale targets (verified on K64, K22 and KL25)
2014-11-27 23:08:23 +01:00
Sissors
4a7fde6fa0
[USBDevice] Fix K20D50M name
...
Since it was initially K20D5M the name is still wrong in USBDevice. This
should fix it.
2014-11-17 18:08:37 +01:00
Sissors
d3e2cacff3
[HAL][KSDK] Fixed ACK/NACK received inverted ( https://github.com/mbedmicro/mbed/issues/661 )
...
As reported by Geremia G
(http://developer.mbed.org/forum/bugs-suggestions/topic/5220/ )
2014-11-11 20:32:07 +01:00
Sissors
57a79c08a9
[HAL][KSDK] Fix first serial char not being sent
...
The K64F/K22F didn't send the first char. I don't know why exactly, but
any type of reading a status register seems to fix it. And this extra
line at least makes sense. Now it works correctly.
2014-11-09 19:40:29 +01:00
Sissors
cc3456f254
[HAL][K22F] Added final UART pinnames
...
See title
2014-09-27 10:57:36 +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
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