Skip to content

[PinMap] Enhance generation and format #71

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

Merged
merged 20 commits into from
Feb 6, 2021
Merged

Conversation

fpistm
Copy link
Member

@fpistm fpistm commented Dec 8, 2020

This PR implements several fix and improvements:

  • Use of Jinja2 templating
  • Manage atlernative pins (_ALTx)
  • Manage pin remap (_ALTR)
  • Manage Dual Pad pins (_C/_ALTC)
  • Add HAL HCD module for USB
  • Generic variant generation
  • Use GitHub repository STM32_open_pin_data

Signed-off-by: Frederic Pillon <frederic.pillon@st.com>
Signed-off-by: Frederic Pillon <frederic.pillon@st.com>
@fpistm fpistm added the enhancement New feature or request label Dec 8, 2020
@fpistm fpistm changed the title [PinMap] [PinMap] Enhance generation and format Dec 8, 2020
@fpistm fpistm added this to the 1.5.0 milestone Dec 8, 2020
Some pins can be remapped to an other one.
Mainly PA9/PA10 to PA11/PA12.
Using _R suffix allows to know which pin to remap.

Signed-off-by: Frederic Pillon <frederic.pillon@st.com>
Signed-off-by: Frederic Pillon <frederic.pillon@st.com>
Signed-off-by: Frederic Pillon <frederic.pillon@st.com>
Signed-off-by: Frederic Pillon <frederic.pillon@st.com>
Signed-off-by: Frederic Pillon <frederic.pillon@st.com>
Issue added with new xSPI arrays.
For example STM32G491K(C-E)Ux.xml doesn't have DATA0 pins.
Update also the USB print if list is empty.

Signed-off-by: Frederic Pillon <frederic.pillon@st.com>
Signed-off-by: Frederic Pillon <frederic.pillon@st.com>
stm32duino/Arduino_Core_STM32#1196

Signed-off-by: Frederic Pillon <frederic.pillon@st.com>
Signed-off-by: Frederic Pillon <frederic.pillon@st.com>
Signed-off-by: Frederic Pillon <frederic.pillon@st.com>
Signed-off-by: Frederic Pillon <frederic.pillon@st.com>
@fpistm fpistm force-pushed the rework branch 2 times, most recently from 2b8815e to e963b46 Compare January 29, 2021 10:23
- Parse all list
- Sort the alternate list

Signed-off-by: Frederic Pillon <frederic.pillon@st.com>

Signed-off-by: Frederic Pillon <frederic.pillon@st.com>
@fpistm fpistm force-pushed the rework branch 2 times, most recently from f94a22b to c4b3d75 Compare January 29, 2021 17:05
Signed-off-by: Frederic Pillon <frederic.pillon@st.com>
Signed-off-by: Frederic Pillon <frederic.pillon@st.com>
Signed-off-by: Frederic Pillon <frederic.pillon@st.com>
Signed-off-by: Frederic Pillon <frederic.pillon@st.com>
Signed-off-by: Frederic Pillon <frederic.pillon@st.com>
@fpistm fpistm merged commit 36da7f7 into stm32duino:master Feb 6, 2021
@fpistm fpistm deleted the rework branch February 6, 2021 09:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant