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

Feature/add esp32s2 #46

Open
wants to merge 2 commits into
base: development
Choose a base branch
from

Conversation

TDA-2030
Copy link
Contributor

@TDA-2030 TDA-2030 commented Jan 6, 2022

Changes

Added support for ESP32S2

There can be little doubt that supporting ESP32S2 is exciting, which allows all of us to DIY at a lower cost. Although the porting work has not been completed yet, you can get the same fantastic experience as STM32 in some functions. I try my best to reduce the modification of openffb code and keep the original code of STM32.

The porting status of functions are as follows:

Main classes

  • FFBWHEEL
  • MIDI (Not support in this PR)
  • TMCDEBUG (Not support in this PR, I don't have TMC driver board)
  • CANBRIDGE (Not support in this PR, I don't know what this function does or how to test it)

Extra features

  • LOCALBUTTONS (not tested)
  • SPIBUTTONS (Not support in this PR, I don't know how to test)
  • SHIFTERBUTTONS (Not support in this PR, I don't know how to test)
  • ANALOGAXES
  • LOCALENCODER
  • TMC4671DRIVER(not tested, I don't have TMC driver board)
  • PWMDRIVER
  • VESC
  • CANBUS
  • MTENCODERSPI
  • CANBUTTONS
  • CANANALOG
  • ADS111XANALOG
  • UARTCOMMANDS

https://github.com/TDA-2030/OpenFFBoard/tree/feature/add_esp32s2/Firmware/Targets/ESP32SX#readme is a brief instruction.

@TDA-2030 TDA-2030 force-pushed the feature/add_esp32s2 branch 3 times, most recently from 500a255 to 5d94a94 Compare January 9, 2022 09:11
@TDA-2030 TDA-2030 force-pushed the feature/add_esp32s2 branch 6 times, most recently from 004f90d to c5a5f1e Compare January 23, 2022 16:02
@TDA-2030 TDA-2030 force-pushed the feature/add_esp32s2 branch from 2d4298d to 462c3b2 Compare February 9, 2022 17:05
@TDA-2030
Copy link
Contributor Author

TDA-2030 commented Feb 9, 2022

@Ultrawipf PTAL
Do you think it's better to merge or separate into another branch?

@Ultrawipf
Copy link
Owner

Ultrawipf commented Mar 16, 2022

I would like to get some hardware to test this myself before merging into the main project so i can make sure support is kept.
Really interesting to see this being ported on other chips.
Could you supply me with a board or is there a devkit i could buy somewhere with all required ports? Otherwise i will make one from your files.
You can contact me via the mail address on my profile or the linked discord.

@TDA-2030 TDA-2030 force-pushed the feature/add_esp32s2 branch 14 times, most recently from 385465e to 6beaeed Compare April 13, 2022 08:16
@TDA-2030
Copy link
Contributor Author

TDA-2030 commented Apr 13, 2022

Sorry for my late reply!
I am in China and under the COVID-19 lockdown. It is more convenient for you to make a PCB yourself. Please see the v1.1 version hardware.

In addition, If you have an ESP32-S2-DevKitC-1 or ESP32-S2-Saola-1 development board, you can use it for most of your testing

@TDA-2030 TDA-2030 force-pushed the feature/add_esp32s2 branch from 6beaeed to cc620ac Compare April 13, 2022 09:39
esp32s2: fix local_encoder, TMC4671, Motorpwm, VescCAN

esp32s2: update gpio definition for my board

esp32s2: add esp-idf patch

esp32s2: fix adc function

esp32s2: rebase to development branch

add compiled bin file

esp32s2: update twai api

adc: reduce latency

add esp32s3 support

update tinyusb
@TDA-2030 TDA-2030 force-pushed the feature/add_esp32s2 branch 4 times, most recently from b73bc8c to b323234 Compare February 5, 2023 12:52
@TDA-2030 TDA-2030 force-pushed the feature/add_esp32s2 branch from b323234 to 46ea57c Compare February 5, 2023 12:55
@Ultrawipf Ultrawipf force-pushed the development branch 2 times, most recently from 5b6179b to 5ce6635 Compare February 14, 2023 19:24
@Ultrawipf Ultrawipf force-pushed the development branch 2 times, most recently from 39c3fef to 0d53cfe Compare April 9, 2023 13:28
@Ultrawipf Ultrawipf force-pushed the development branch 3 times, most recently from f65993a to c4fd7dc Compare May 5, 2023 21:38
@Ultrawipf Ultrawipf force-pushed the development branch 2 times, most recently from ce7feb7 to 32bf568 Compare January 5, 2024 14:27
@Ultrawipf Ultrawipf force-pushed the development branch 2 times, most recently from 0cb5aa8 to 0d46ae0 Compare February 23, 2024 10:19
@Ultrawipf Ultrawipf force-pushed the development branch 2 times, most recently from 3f1fae6 to 8f8e0da Compare June 7, 2024 08:54
@nhnn123
Copy link

nhnn123 commented Jun 17, 2024

广大劳动人民,还等着更新。 @TDA-2030 @Ultrawipf

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants