{"id":20258362,"url":"https://github.com/weimingtom/rt1020-evk-playground","last_synced_at":"2026-05-05T16:07:33.356Z","repository":{"id":261495761,"uuid":"884477360","full_name":"weimingtom/rt1020-evk-playground","owner":"weimingtom","description":"[WIP] My NXP RT1020-EVK tflite-micro 2.4.0 micro_speech playround, with MDK5 AC6 ","archived":false,"fork":false,"pushed_at":"2024-11-06T21:47:14.000Z","size":14980,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-14T04:08:56.995Z","etag":null,"topics":["imxrt1021","microspeech","tensorflow","tflite-micro"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/weimingtom.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-11-06T20:28:24.000Z","updated_at":"2024-11-06T21:47:17.000Z","dependencies_parsed_at":"2024-11-06T21:54:49.595Z","dependency_job_id":null,"html_url":"https://github.com/weimingtom/rt1020-evk-playground","commit_stats":null,"previous_names":["weimingtom/rt1020-evk-playground"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/weimingtom%2Frt1020-evk-playground","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/weimingtom%2Frt1020-evk-playground/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/weimingtom%2Frt1020-evk-playground/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/weimingtom%2Frt1020-evk-playground/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/weimingtom","download_url":"https://codeload.github.com/weimingtom/rt1020-evk-playground/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241717746,"owners_count":20008438,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["imxrt1021","microspeech","tensorflow","tflite-micro"],"created_at":"2024-11-14T11:08:30.369Z","updated_at":"2026-05-05T16:07:33.349Z","avatar_url":"https://github.com/weimingtom.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# rt1020-evk-playground\n[WIP] My NXP RT1020-EVK tflite-micro 2.4.0 micro_speech playround, with MDK5 AC6 \n\n## Ref  \n* (origin) https://github.com/KeilChris/TensorFlow_MIMXRT1064-EVK_Microspeech  \n* https://github.com/weimingtom/TensorFlow_MIMXRT1064-EVK_Microspeech  \n* EVK-MIMXRT1020-sai_v13_done.rar  \n* The project basic template, vendor/EVK-MIMXRT1020-sai.zip, is generated from MCUXpresso SDK  \nhttps://mcuxpresso.nxp.com  \n\n## Debugging and making compiling pass      \n* see vendor/debugging.txt\n* https://github.com/weimingtom/rt1020-evk-playground/blob/master/vendor/debugging.txt  \n```\n我测试过，如果替换tflite-micro 2.4.0 micro_speech的micro_frontend的malloc实现，\n至少需要13k以上的全局变量数组内存（更正，应该是14k），\n没错，我这里测试用的是正点原子的mymalloc函数\n（如果玩过正点原子开发板的人都知道会有个malloc目录），\n我修改过，改成只有一个内存池，而且去掉里面的线程安全代码（临界区），\n我晚上试试能不能在RT1020开发板上运行\n\n我的天，昨天我研究了一晚上，只能勉强在rt1020开发板上运行了tflite-micro的\nmicro_speech的setup的一半。目前我只解决了printf和complex头文件会导致卡死，\n但还是没能跑通，等以后有时间再研究，我要先缓缓了\n（现在卡在static静态全局变量导致卡住的问题，可能和内存有关）\n\n```\n\n## key code  \n* mymalloc for micro frontend  \nhttps://github.com/weimingtom/rt1020-evk-playground/blob/master/sai_no_mic/src/micro_frontend/lib/malloc.h  \nhttps://github.com/weimingtom/rt1020-evk-playground/blob/master/sai_no_mic/src/micro_frontend/lib/malloc.c  \n* frontend  \nhttps://github.com/weimingtom/rt1020-evk-playground/blob/master/sai_no_mic/src/micro_frontend/lib/frontend_util.c\n* main entry, using setup and loop  \nhttps://github.com/weimingtom/rt1020-evk-playground/blob/master/sai_no_mic/source/sai.c\n* setup and loop function implementation  \nhttps://github.com/weimingtom/rt1020-evk-playground/blob/master/sai_no_mic/src/main_functions.cc  \n* Makefile for ubuntu emulation  \nhttps://github.com/weimingtom/rt1020-evk-playground/blob/master/sai_no_mic/packs/tensorflow-lite/2.4.0/Makefile  \nhttps://github.com/weimingtom/rt1020-evk-playground/blob/master/sai_no_mic/src/main.cc  \n* no microphone test input data  \nhttps://github.com/weimingtom/rt1020-evk-playground/blob/master/sai_no_mic/src/audio_provider_test.cc  \n* no microphone test output  \nhttps://github.com/weimingtom/rt1020-evk-playground/blob/master/sai_no_mic/src/command_responder.cc  \nhttps://github.com/weimingtom/rt1020-evk-playground/blob/master/sai_no_mic/uart_out.txt  \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fweimingtom%2Frt1020-evk-playground","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fweimingtom%2Frt1020-evk-playground","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fweimingtom%2Frt1020-evk-playground/lists"}