heltec-wireless-tracker-docs/docs/wiki/development-platforms.md
Ryan Malloy e3642cbc4e Initial commit: Heltec Wireless Tracker documentation site
Astro/Starlight documentation covering hardware specs, pinout,
schematics, GNSS protocol, LoRa frequencies, and getting started
guides. Includes extracted datasheet images and Docker deployment.
2026-02-21 18:39:46 -07:00

102 lines
2.5 KiB
Markdown

# ESP32 Development Platforms Overview
## Summary
Three primary development approaches for ESP32 microcontrollers, each suited to different development goals:
---
## ESP-IDF
**Best for:** Production-ready applications, low-level control
The official and most comprehensive framework for low-level control and production-ready applications. This platform provides extensive control capabilities for developers building robust, production-level systems.
### Pros:
- Full access to ESP32 features
- Official Espressif support
- Best performance optimization
- Production-ready tooling
### Cons:
- Steeper learning curve
- More verbose code
- Longer development time
---
## MicroPython
**Best for:** Rapid prototyping, interactive development
Enables rapid prototyping through an interactive scripting runtime. This approach favors quick iteration and experimentation over embedded systems projects.
### Pros:
- Fast prototyping
- Interactive REPL
- Easy to learn
- Great for education
### Cons:
- Slower execution
- Higher memory usage
- Limited hardware access
---
## Arduino via PlatformIO
**Best for:** Library ecosystem, familiar workflow
Offers a simplified development model with access to a rich ecosystem of libraries and tools. This combines the familiar Arduino framework with PlatformIO's professional development environment.
### Pros:
- Huge library ecosystem
- Familiar Arduino syntax
- Good documentation
- Active community
### Cons:
- Abstraction overhead
- May hide hardware details
---
## Heltec Wireless Tracker Recommendations
For the Wireless Tracker specifically:
| Use Case | Recommended Platform |
|----------|---------------------|
| Meshtastic | Pre-built firmware |
| LoRaWAN Projects | Arduino/PlatformIO |
| GNSS Development | ESP-IDF or Arduino |
| Quick Prototyping | MicroPython |
| Production Devices | ESP-IDF |
### Heltec Library Support
Heltec provides official libraries for:
- **Arduino**: `Heltec ESP32 Dev-Boards` library
- **PlatformIO**: `heltec-automation/Heltec ESP32 Dev-Boards`
- **ESP-IDF**: Examples in Heltec GitHub repository
---
## Quick Start Commands
### PlatformIO
```ini
[env:heltec_wireless_tracker]
platform = espressif32
board = heltec_wireless_tracker
framework = arduino
lib_deps =
heltec-automation/Heltec ESP32 Dev-Boards
```
### Arduino IDE
1. Add board URL: `https://resource.heltec.cn/download/package_heltec_esp32_index.json`
2. Install "Heltec ESP32 Series Dev-boards"
3. Select "Wireless Tracker" from board menu