0xc0170
6e4d261df8
NXP KL43Z/KL27Z: fix spi format bits check
...
Fixes #2989 . It was always true for valid values (if its not 8 neither 16 bits, fail).
2017-02-24 13:24:54 +00:00
Jaeden Amero
0bd09b0189
uVisor: Standardize available legacy heap and stack
...
With the RTOS, the STACK_SIZE specified here is unrelated to the stack
size available for the main thread (that runs pre_main). Save memory by
reducing the stack size to a more reasonable amount.
On uVisor, HEAP_SIZE is both a minimum available and maximum available
heap size. The heap can't grow beyond the end of the heap into the
neighboring stack. On all uVisor-supported platforms, guarantee at least
0x6000 bytes of heap space. This increases the portability of uVisor
applications as the memory available for legacy heap allocations is
guaranteed. This helps to avoid out of memory errors on platforms that
were previously guaranteeing less memory.
2017-02-13 13:26:38 +00:00
Mahadevan Mahesh
0a7848cb68
K22F: Enable TRNG
...
Signed-off-by: Mahadevan Mahesh <Mahesh.Mahadevan@nxp.com>
2017-01-30 11:18:40 +00:00
Alessandro Angelino
61f569b216
uVisor: Update K64F and EFM32GG linker scripts
...
This commit improves consistency between different platforms' linker
scripts. In particular, we use "__UVISOR_SRAM_START" instead of
"__UVISOR_BSS_START" as the uVisor BSS sections might be outside of the
SRAM (for example, when using a tightly-coupled memory).
2017-01-30 11:16:58 +00:00
Mahadevan Mahesh
018e286ba2
K64F UART Asynch API: Fix synchronization issue
...
The UART state should be set to busy before starting the transfer
Signed-off-by: Mahadevan Mahesh <Mahesh.Mahadevan@nxp.com>
2017-01-13 14:35:47 +00:00
Mahadevan Mahesh
609d6a1e14
MCUXpresso: Fix ENET driver to enable interrupts after interrupt handlers are set
...
Signed-off-by: Mahadevan Mahesh <Mahesh.Mahadevan@nxp.com>
2017-01-13 14:35:26 +00:00
Mahadevan Mahesh
92813b9ff6
K64F: Add support for SERIAL ASYNCH API
...
Signed-off-by: Mahadevan Mahesh <Mahesh.Mahadevan@nxp.com>
2017-01-13 14:35:20 +00:00
Mahadevan Mahesh
14a2e3afe2
Rename KSDK2 to MCUXpresso. This is the new name of this package from NXP
...
Signed-off-by: Mahadevan Mahesh <Mahesh.Mahadevan@nxp.com>
2016-12-30 12:47:49 +00:00
Mahadevan Mahesh
1be750c669
MCUXpresso I2C: Handle 0 byte write
...
Signed-off-by: Mahadevan Mahesh <Mahesh.Mahadevan@nxp.com>
2016-12-30 12:42:43 +00:00
Mahadevan Mahesh
6070652197
KSDK I2C: Update the return value to match the API documentation change
...
Signed-off-by: Mahadevan Mahesh <Mahesh.Mahadevan@nxp.com>
2016-12-30 12:41:32 +00:00
Mahadevan Mahesh
c54fd786e6
K64F DSPI Driver: Fix errors where DSPI state is incorrectly kept busy
...
Signed-off-by: Mahadevan Mahesh <Mahesh.Mahadevan@nxp.com>
2016-12-19 14:38:17 +00:00
Mahadevan Mahesh
7ad3026e76
K64F SPI Update: Implement Asynch API's for SPI
...
Signed-off-by: Mahadevan Mahesh <Mahesh.Mahadevan@nxp.com>
2016-12-19 14:38:16 +00:00
Mahadevan Mahesh
4f6fb36d3e
Add support for FRDM-KW41
...
Signed-off-by: Mahadevan Mahesh <Mahesh.Mahadevan@nxp.com>
2016-12-19 14:32:36 +00:00
Martin Kojtal
d60f424a7e
Merge pull request #3256 from NXPmicro/Include_stddef
...
Kinetis SDK: Include stddef.h to fix build errors seen when including…
2016-11-22 22:20:29 +00:00
Mahadevan Mahesh
b78e552d35
Kinetis SDK: Coding convention fixes
...
Signed-off-by: Mahadevan Mahesh <Mahesh.Mahadevan@nxp.com>
2016-11-15 14:23:29 -06:00
Mahadevan Mahesh
93aca0bbf2
K22F: Coding convention fixes
...
Signed-off-by: Mahadevan Mahesh <Mahesh.Mahadevan@nxp.com>
2016-11-15 14:10:54 -06:00
Mahadevan Mahesh
05382afa37
K64F: Coding convention fixes
...
Signed-off-by: Mahadevan Mahesh <Mahesh.Mahadevan@nxp.com>
2016-11-15 14:10:48 -06:00
Mahadevan Mahesh
26146e8929
KW24D: Coding convention fixes
...
Signed-off-by: Mahadevan Mahesh <Mahesh.Mahadevan@nxp.com>
2016-11-15 14:04:13 -06:00
Mahadevan Mahesh
5356246fbc
KL82Z: Coding convention fixes
...
Signed-off-by: Mahadevan Mahesh <Mahesh.Mahadevan@nxp.com>
2016-11-15 14:04:07 -06:00
Mahadevan Mahesh
31d6bb914a
KL43Z: Coding convention fixes
...
Signed-off-by: Mahadevan Mahesh <Mahesh.Mahadevan@nxp.com>
2016-11-15 14:04:01 -06:00
Mahadevan Mahesh
279925e161
KL27Z: Coding convention fixes
...
Signed-off-by: Mahadevan Mahesh <Mahesh.Mahadevan@nxp.com>
2016-11-15 14:03:55 -06:00
Mahadevan Mahesh
682df90b2e
K82F: Coding convention fixes
...
Signed-off-by: Mahadevan Mahesh <Mahesh.Mahadevan@nxp.com>
2016-11-15 12:32:03 -06:00
Mahadevan Mahesh
652c81ce76
K66F: Coding convention fixes
...
Signed-off-by: Mahadevan Mahesh <Mahesh.Mahadevan@nxp.com>
2016-11-15 12:31:55 -06:00
Sam Grove
31c81131df
Merge pull request #3233 from brimston3/fix_k20_pwmclk
...
K20xx Calculate PWM clock relative to bus clock
2016-11-14 21:44:51 -06:00
Mahadevan Mahesh
d635ef6ba0
Kinetis SDK: Include stddef.h to fix build errors seen when including SDK header files
...
Signed-off-by: Mahadevan Mahesh <Mahesh.Mahadevan@nxp.com>
2016-11-10 13:22:13 -06:00
Andrew Domaszek
8482aafa2a
Calculate PWM clock relative to bus clock
2016-11-08 23:42:59 -05:00
Niklas Hauser
1c2a7d8842
Added the commit: Access MCG and SIM through secure access
...
This is needed for uvisor
Signed-off-by: Mahadevan Mahesh <Mahesh.Mahadevan@nxp.com>
2016-11-04 14:59:12 -05:00
Mahadevan Mahesh
931da516a9
K64F: Update to the latest SDK drivers
...
Signed-off-by: Mahadevan Mahesh <Mahesh.Mahadevan@nxp.com>
2016-11-03 07:07:49 -05:00
Sam Grove
d6df34619e
Merge pull request #3184 from jankii01/K64F-trng-ret
...
#3183 Compiler warning in trng_api.c with K64F
2016-11-03 02:23:00 -05:00
Sam Grove
1f783f69fa
Merge pull request #3177 from ashok-rao/new_mcu_K22512_fixing_PR_3136
...
New mcu k22512 fixing pr 3136
2016-11-03 02:21:31 -05:00
Janne Kiiskilä
258bcab618
Remove the variable ret due to compiler warning:
...
Compile [ 94.6%]: trng_api.c
[Warning] trng_api.c@67,9: unused variable 'ret' [-Wunused-variable]
Github issue #3183
2016-11-02 11:29:20 +02:00
Mahadevan Mahesh
1ac09d3a19
Add support for FRDM-K82F
...
Signed-off-by: Mahadevan Mahesh <Mahesh.Mahadevan@nxp.com>
2016-10-27 11:27:24 -05:00
Marcelo Salazar
739ff674fc
Folder re-org to fit new MCU K22F variances
...
This is a simple re-structure of the K22F folder to allow other MCU
variances to land here.
Created the MCU_K22F512 device but left the 'K22F' as a target for
the FRDM-K22F board.
Rebased to master
2016-10-26 10:29:15 +01:00
Mahadevan Mahesh
ea2f0df821
Kinetis HAL: Remove clock initialization code from serial and ticker HAL drivers
...
after updates to the mbed startup code
Signed-off-by: Mahadevan Mahesh <Mahesh.Mahadevan@nxp.com>
2016-10-20 07:59:41 -05:00
Mahadevan Mahesh
7e26876baf
Sleep API Update. Call Board RUN function as some platforms need more than setting the clock mode.
...
Signed-off-by: Mahadevan Mahesh <Mahesh.Mahadevan@nxp.com>
2016-10-18 12:47:28 -05:00
Mahadevan Mahesh
020ace1424
Add support for FRDM KW24D
...
Signed-off-by: Mahadevan Mahesh <Mahesh.Mahadevan@nxp.com>
2016-10-18 12:47:23 -05:00
Mahadevan Mahesh
c15d6e205c
Add support for KL82Z FRDM board
...
Signed-off-by: Mahadevan Mahesh <Mahesh.Mahadevan@nxp.com>
2016-10-13 09:02:11 -05:00
Sam Grove
f59b5f8b75
Merge pull request #2934 from BlackstoneEngineering/patch-1
...
Change K64F D8 pin from PTA0->PTC12
2016-10-07 11:14:18 -05:00
Blackstone Engineering
3e39ef8916
Change K64F D8 pin from PTA0->PTC4
...
Modifying D8 to reflect latest hardare changes in RevD hardware
https://github.com/ARMmbed/mbed-os/issues/2933
2016-10-05 13:32:12 -05:00
Christopher Haster
26ced98734
restructure - Restructured cmsis directory
...
targets/cmsis -> cmsis
targets/cmsis/TARGET_* -> targets/TARGET_*/device
targets/cmsis/TARGET_*/mbed_rtx.h -> targets/TARGET_*/mbed_rtx.h
2016-10-04 17:51:44 -05:00
Christopher Haster
0bad622a16
restructure - Moved targets out to top level
...
hal/targets -> targets
hal/targets.json -> targets/targets.json
2016-09-30 19:18:09 -05:00