AtomVM
AtomVM copied to clipboard
Refactor ESP32 code into IDF Components
The following Nifs and Ports should be moved into their own directories and moved into the components directory, instead of being in the main directory:
- gpio_driver
- spi_driver
- i2c_driver
- uart_driver
- socket_driver
- ledc_nif
- nvs_nif
We should also consider normalizing the naming conventions for these ports and nifs, as well as any new ports and drivers we add.
I recommend the following:
- End Nifs in _nif (as done above)
- End Ports in _port
- Prefix all AtomVM-native Ports and Nifs with atomvm_