update kinetis kl to use mcx-sdk, also add cmake support

note: cdc_msc_freertos built but does not seems to work with kl
This commit is contained in:
hathach
2023-06-14 22:36:44 +07:00
parent 4e61eb6d9e
commit bce282186e
13 changed files with 1464 additions and 73 deletions

View File

@@ -53,9 +53,6 @@ deps_optional = {
'hw/mcu/nxp/mcux-sdk': ['https://github.com/hathach/mcux-sdk.git',
'950819b7de9b32f92c3edf396bc5ffb8d66e7009',
'kinetis_k32l lpc51 lpc54 lpc55 mcx imxrt'],
'hw/mcu/nxp/nxp_sdk': ['https://github.com/hathach/nxp_sdk.git',
'845c8fc49b6fb660f06a5c45225494eacb06f00c',
'kinetis_kl'],
'hw/mcu/raspberry_pi/Pico-PIO-USB': ['https://github.com/sekigon-gonnoc/Pico-PIO-USB.git',
'c3715ce94b6f6391856de56081d4d9b3e98fa93d',
'rp2040'],

View File

@@ -1,21 +0,0 @@
import sys
import subprocess
import os
# TOP is tinyusb root dir
TOP = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
def get_family_dep(family):
for entry in os.scandir("{}/hw/bsp/{}/boards".format(TOP, family)):
if entry.is_dir():
result = subprocess.run("make -C {}/examples/device/board_test BOARD={} get-deps".format(TOP, entry.name),
shell=True, stdout=subprocess.PIPE, stderr=subprocess.STDOUT)
print(result.stdout.decode("utf-8"))
return result.returncode
status = 0
for d in sys.argv[1:]:
status += get_family_dep(d)
sys.exit(status)