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

Support for STM32F303VC Discovery #1238

Closed
wants to merge 1 commit into from

Conversation

dnandha
Copy link
Contributor

@dnandha dnandha commented Nov 14, 2020

Summary
Adds support for STM32F303VC (STM32F3) Discovery: https://www.st.com/en/evaluation-tools/stm32f3discovery.html.
Variant DISCO_F303VC is added using the wiki guide. Board/Variant is similar to DISCO_F407VG but comes with decreased specs and slightly different pin-out.

Blink program for the boards wonderful 8 LED's successfully compiles / runs:

/*
  Blink

  Turns an LED on for one second, then off for one second, repeatedly.

  http://www.arduino.cc/en/Tutorial/Blink
*/

int LED_SEQ[8] = {LED_BLUE, LED_BLUE2, LED_RED, LED_RED2,
                  LED_ORANGE, LED_ORANGE2, LED_GREEN, LED_GREEN2};

// the setup function runs once when you press reset or power the board
void setup() {
  // initialize digital led pins as an output.
  for (int i = 0; i < 8; i = i + 1) {
    pinMode(LED_SEQ[i], OUTPUT);
  }
}

// the loop function runs over and over again forever
void loop() {
  for (int i = 0; i < 8; i = i + 1) {
    digitalWrite(LED_SEQ[i], HIGH);   // turn the LED on (HIGH is the voltage level)
    delay(500);                       // wait for a second
  }
  for (int i = 0; i < 8; i = i + 1) {
    digitalWrite(LED_SEQ[i], LOW);    // turn the LED off (LOW is the voltage level)
    delay(500);                       // wait for a second
  }
}

@dnandha dnandha force-pushed the disco_f303vc branch 3 times, most recently from ba5ac92 to b0b0f36 Compare November 14, 2020 09:55
@fpistm fpistm added the new variant Add support of new bard label Nov 14, 2020
@fpistm
Copy link
Member

fpistm commented Nov 26, 2020

Will be added later when #1091 will be done

@dnandha
Copy link
Contributor Author

dnandha commented Nov 26, 2020

@fpistm Ok, when is that? #1091 has been open for a long time (in fact it's still a draft). When #1091 is done it means that all PR's have to be manually updated to the new structure by each contributor. To prevent the project from dead-locking and keep contributions flowing I'd suggest checking / adding all new variants now and update #1091 centrally, once it's ready.

ABOSTM added a commit to ABOSTM/Arduino_Core_STM32 that referenced this pull request Mar 26, 2021
Supersede stm32duino#1238

Signed-off-by: dnandha <daljeet@gmx.net>
Co-authored-by: Alexandre Bourdiol <alexandre.bourdiol@st.com>
fpistm pushed a commit to fpistm/Arduino_Core_STM32 that referenced this pull request Mar 28, 2021
Supersede stm32duino#1238

Signed-off-by: dnandha <daljeet@gmx.net>
Co-authored-by: Alexandre Bourdiol <alexandre.bourdiol@st.com>
@fpistm fpistm added the abandoned No more work on this label Mar 29, 2021
@fpistm fpistm added this to In progress in STM32 core based on ST HAL via automation Mar 29, 2021
@fpistm
Copy link
Member

fpistm commented Mar 29, 2021

Hi @dnandha
I've included your PR in #1091, it has been reformatted to the new variant definition way and made some fixes.
So I close this one as it is superseded by #1091.
Thanks again for your contribution.

@fpistm fpistm closed this Mar 29, 2021
STM32 core based on ST HAL automation moved this from In progress to Done Mar 29, 2021
fpistm pushed a commit to fpistm/Arduino_Core_STM32 that referenced this pull request Mar 29, 2021
Supersede stm32duino#1238

Signed-off-by: dnandha <daljeet@gmx.net>
Co-authored-by: Alexandre Bourdiol <alexandre.bourdiol@st.com>
fpistm pushed a commit to fpistm/Arduino_Core_STM32 that referenced this pull request Mar 30, 2021
Supersede stm32duino#1238

Signed-off-by: dnandha <daljeet@gmx.net>
Co-authored-by: Alexandre Bourdiol <alexandre.bourdiol@st.com>
fpistm pushed a commit to fpistm/Arduino_Core_STM32 that referenced this pull request Mar 30, 2021
Supersede stm32duino#1238

Signed-off-by: dnandha <daljeet@gmx.net>
Co-authored-by: Alexandre Bourdiol <alexandre.bourdiol@st.com>
fpistm pushed a commit to fpistm/Arduino_Core_STM32 that referenced this pull request Mar 30, 2021
Supersede stm32duino#1238

Signed-off-by: dnandha <daljeet@gmx.net>
Co-authored-by: Alexandre Bourdiol <alexandre.bourdiol@st.com>
fpistm pushed a commit to fpistm/Arduino_Core_STM32 that referenced this pull request Apr 2, 2021
Supersede stm32duino#1238

Signed-off-by: dnandha <daljeet@gmx.net>
Co-authored-by: Alexandre Bourdiol <alexandre.bourdiol@st.com>
fpistm pushed a commit to fpistm/Arduino_Core_STM32 that referenced this pull request Apr 8, 2021
Supersede stm32duino#1238

Signed-off-by: dnandha <daljeet@gmx.net>
Co-authored-by: Alexandre Bourdiol <alexandre.bourdiol@st.com>
fpistm pushed a commit to fpistm/Arduino_Core_STM32 that referenced this pull request Apr 9, 2021
Supersede stm32duino#1238

Signed-off-by: dnandha <daljeet@gmx.net>
Co-authored-by: Alexandre Bourdiol <alexandre.bourdiol@st.com>
fpistm pushed a commit to fpistm/Arduino_Core_STM32 that referenced this pull request Apr 9, 2021
Supersede stm32duino#1238

Signed-off-by: dnandha <daljeet@gmx.net>
Co-authored-by: Alexandre Bourdiol <alexandre.bourdiol@st.com>
fpistm pushed a commit to fpistm/Arduino_Core_STM32 that referenced this pull request Apr 9, 2021
Supersede stm32duino#1238

Signed-off-by: dnandha <daljeet@gmx.net>
Co-authored-by: Alexandre Bourdiol <alexandre.bourdiol@st.com>
fpistm pushed a commit to fpistm/Arduino_Core_STM32 that referenced this pull request Apr 12, 2021
Supersede stm32duino#1238

Signed-off-by: dnandha <daljeet@gmx.net>
Co-authored-by: Alexandre Bourdiol <alexandre.bourdiol@st.com>
fpistm pushed a commit to fpistm/Arduino_Core_STM32 that referenced this pull request Apr 14, 2021
Supersede stm32duino#1238

Signed-off-by: dnandha <daljeet@gmx.net>
Co-authored-by: Alexandre Bourdiol <alexandre.bourdiol@st.com>
fpistm pushed a commit to fpistm/Arduino_Core_STM32 that referenced this pull request Apr 14, 2021
Supersede stm32duino#1238

Signed-off-by: dnandha <daljeet@gmx.net>
Co-authored-by: Alexandre Bourdiol <alexandre.bourdiol@st.com>
fpistm pushed a commit to fpistm/Arduino_Core_STM32 that referenced this pull request Apr 15, 2021
Supersede stm32duino#1238

Signed-off-by: dnandha <daljeet@gmx.net>
Co-authored-by: Alexandre Bourdiol <alexandre.bourdiol@st.com>
fpistm pushed a commit to fpistm/Arduino_Core_STM32 that referenced this pull request Apr 15, 2021
Supersede stm32duino#1238

Signed-off-by: dnandha <daljeet@gmx.net>
Co-authored-by: Alexandre Bourdiol <alexandre.bourdiol@st.com>
fpistm pushed a commit to fpistm/Arduino_Core_STM32 that referenced this pull request Apr 16, 2021
Supersede stm32duino#1238

Signed-off-by: dnandha <daljeet@gmx.net>
Co-authored-by: Alexandre Bourdiol <alexandre.bourdiol@st.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
abandoned No more work on this new variant Add support of new bard
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

None yet

2 participants