Skip to content

Patch sm squashed #1526

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

Closed
wants to merge 3 commits into from
Closed

Conversation

beserge
Copy link
Contributor

@beserge beserge commented Oct 26, 2021

Squashed version of the PR for the Daisy Patch SM.

stephenhensley and others added 2 commits October 14, 2021 05:13
Update fork to be in line with stm32duino main
Create new variant files

Ive mostly filled out the .h and .cpp files
Still need to update some of the defines

The .ld file is copied verbatim from the seed
The .c file still needs to be modified

Continue fiddling with pins

Simplify to more generic variant

Reorder Analog defines (A0, A1, ...)

Update analog pin comments

Add CV output pins

Run AStyle on Patch SM variant files

Run AStyle with custom options file

remove duplicate linker file

Simply use the name in boards.txt

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

Clean up useless code, typo and  Ax naming in comments

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

Fix NUM_ANALOG_INPUTS

Comment useless ADC pins

As those pins are not defined in the analog array,
this save space.

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

Correct SPI pin defines

Correct I2C pin defines

Remove unused pins

refactor(scripts): common python functions moved as a module

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

refactor(arduino_cli): update to use pathlib

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

refactor(scripts): use f-string to ease readability

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

fix(arduino_cli): missing failed board count

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

ci(arduino_cli): add a dry run option (no build)

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

ci(arduino_cli): skip find board when sketch is required

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

ci(arduino_cli): avoid search on same base path

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

ci(arduino_cli): support version higher or equal to 0.19.0

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

ci(arduino_cli): review find board function

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

ci(arduino_cli): workaround to follow simlink

Due to issue with Path.glob() which does not follow
symlink use glob.glob
See: https://bugs.python.org/issue33428

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

ci(arduino_cli): manage additional_urls in the config

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

ci(arduino_cli): remove useless code

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

ci(arduino_cli): remove skipped from the log and stats

Only display the number of skipped build.

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

ci(arduino_cli): rework build index to ignore skipped

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

ci(arduino_cli): replace arduino builder by arduino-cli

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

ci: remove old travis path config

useless since CI moved to GitHub action.

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

ci(arduino_cli): ensure configuration exists

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

fix: align index after pin removal

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

chore: reference Daisy Patch SM in the README.md

Signed-off-by: Frederic Pillon <frederic.pillon@st.com>
@beserge
Copy link
Contributor Author

beserge commented Oct 26, 2021

TODO: add product page link to README

@fpistm fpistm self-requested a review October 27, 2021 07:57
Copy link
Member

@fpistm fpistm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the updated PR.
Just a note, no need to create new PR, simply suqah the branch of the activ PR then force a push then the PR will be updated.

This new one requires some clean up:

  • Commit message is not correct as all commits messages were kept.
  • Squash the Readme.md commit update
  • Rebase properly the branch on main to avoid having the merge commit in the PR.

@beserge
Copy link
Contributor Author

beserge commented Oct 27, 2021

Using #1519 instead

@beserge beserge closed this Oct 27, 2021
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