Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate ESP32 to IDF #335

Merged
merged 27 commits into from
Nov 25, 2022
Merged

Migrate ESP32 to IDF #335

merged 27 commits into from
Nov 25, 2022

Conversation

Paciente8159
Copy link
Owner

  • migrated most ESP32 (except WiFi and Bluetooth)
  • WiFi and Bluetooth can be both enabled without crashing
  • dropped WiFiManager and added system commands for WiFi and Bluetooth
  • GPIO write and read via direct register access for optimized performance
  • moved part of the ISR handling to core 0 (PRO CORE)
  • modified 74HC595 shift register to be "threadsafer" and support HW SPI mode
  • reversed byte order on 74HC595 to enable other means of transmition

- moved PWM to core 0
- RTC is task based (FreeRTOS)
- moved pwm to core0
- variable pwm resolution depending on frequency
- removed WifiManager (not working ok)
- added wifi extension commands
- fixed wifi and bt initialization settings
- SPI with IDF
- WiFi and Bt messages converted from Arduino serial to core protocol
- ic74hc595 io pin update multitask/multicore lock
- ic74hc595 io pin update added inner loop to execute pending update requests
- direct GPIO register access for faster IO manipulation
- improved PWM generation via IO extender
@Paciente8159 Paciente8159 added needs: testing needs: testing HAL: ESP32 HAL: ESP32 enhancement enhancement labels Nov 21, 2022
@Paciente8159 Paciente8159 merged commit 0d5da2e into master Nov 25, 2022
@Paciente8159 Paciente8159 deleted the esp32-gpio-idf branch November 25, 2022 09:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement enhancement HAL: ESP32 HAL: ESP32 needs: testing needs: testing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant