I have followed the above steps from scratch.
my new frame work is called kendryte-standalone-sdk-develop
I have created a folder framework-kendryte-standalone-sdk-develop under packages and added the code there
I have added this frame work in sipeed-maix-one-dock.json inside boards folder
“frameworks”: [
“kendryte-standalone-sdk-develop”,
“kendryte-standalone-sdk”,
“kendryte-freertos-sdk”,
“arduino”
],
I have updated platform.json and followed all the steps.
When I rebuild intellisense task, I get this one line error
Executing task: platformio init --ide vscode <
The current working directory /home/krishnak/visualstudioworkspace/fastfacedtect will be used for the project.
The next files/directories have been created in /home/krishnak/visualstudioworkspace/fastfacedtect
include - Put project header files here
lib - Put here project specific (private) libraries
src - Put project source files here
platformio.ini - Project Configuration File
Error: Detected unknown package 'framework-kendryte-standalone-sdk-develop'
The terminal process terminated with exit code: 1
I have added the necessary code in the boards/appropriate.json file as well
],
"variant": "sipeed_maix_one_dock",
"board_def": "BOARD_SIPEED_MAIX_ONE_DOCK"
},
"frameworks": [
"kendryte-standalone-sdk-develop",
"kendryte-standalone-sdk",
"kendryte-freertos-sdk",
"arduino"
],
EDIT: The error was due to a typo in package,json in the new framework, it works!!! Thanks for your help