This project implement FlintJVM and is based on ESP-IDF framework, It support running and debugging java code on ESP32.
- Supports most Java bytecode instructions.
- Supports debugging with FlintJVM Debug VS Code extension via serial port.
- This project requires an ESP32 chip that supports USB protocol such as ESP32-S2 or ESP32-S3... and has integrated PSRAM.
- Run the following command to clone this repository and include all dependent submodules:
> git clone --recurse-submodules https://github.com/FlintVN/FlintESPJVM.git- Run
idf.py -p PORT flashto build and flash the project. Or you can build this project using the ESP-IDF extension on VS Code.
- To build a java project for FlintESPJVM you need to build your project with the FlintJDK module to be able to use the base java libraries compatible with FlintJVM and FlintESPJDK module if you want to access the peripherals/features of ESP32.
- To be able to run debugging your java project. You need to install FlintJVM Debug extension on VS Code and the FlintUartServer tool as a converter between serial port and TCP/IP.
- Refer to FlintExample for a FlintJVM java project basic example.