Forums » Req. WJ2(ESP32) support »
Some glitches while trying new Waijung 2 with MATLAB 2022a
Added by Supachai Vorapojpisut over 2 years ago
- Need to extract and install in root folder, otherwise error about folder name. Previous version is ok for Desktop folder.
- Target Setup block does not allow to configure build path.
- Several pins in Digital Output block are disabled.
At first, I planned to to use M5StickC with IO10 pin, but need to change to another board (KidBright) to use IO12 pin instead. Then, building and deploying LED blinking model is ok.
Replies (2)
RE: Some glitches while trying new Waijung 2 with MATLAB 2022a - Added by Vasitha Tilakumara (วาสิ) over 2 years ago
Hi
1. This is due to ESP-IDF path limitation, old version of ESP-IDF used " make build system " new version uses " Cmake build system " .
2. We have disable the access to configuration of build path to avoid complication at building model and future blocks(ex:- SPIFFS). To give you a smooth hassle free experience we have taken that decision.
3. Pin limitation depend on the MCU family
Can you provide information about KidBright board family you currently posses?
Thank you.
Best Regards,
Vasitha
RE: Some glitches while trying new Waijung 2 with MATLAB 2022a - Added by Supachai Vorapojpisut over 2 years ago
I have confirmed that for every ESP32 settings (Flash 4 MB/8 MB/16 MB), disabled pins are not changed. When I tried with other processors (ESP32S2, ESP32S3, ESP32C3), disabled pins are not the same. I think that the issue is development team may choose disabled pins based on the hardware they use. But this is not a good decision for boards available in the market. So I have attached some ESP32 board pinouts with this post to show that the disabled pins are used by some boards
This is my comments about PATH and Build path issues:- It is better to document in the installation procedure so that other users will not confuse.
- If it is not possible, it is better to remove the Checkbox option. Path details is ok anyway.