Skip to content

Commit

Permalink
Create Daisy Patch SM variant
Browse files Browse the repository at this point in the history
Create variant .h .cpp and pinperiphs.c files
Use daisy seed linker script for patch sm
Add variant to boards.txt
Add Patch SM with link to README.md
  • Loading branch information
beserge authored and fpistm committed Oct 29, 2021
1 parent 2644fba commit 342cda8
Show file tree
Hide file tree
Showing 5 changed files with 1,205 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,8 @@ User can add a STM32 based board following this [wiki](https://github.com/stm32d
| :green_heart: | STM32H747IG<br>STM32H747II | Generic Board | *2.0.0* | |
| :green_heart: | STM32H750ZB | Generic Board | *2.0.0* | |
| :green_heart: | STM32H750IB<br>STM32H750II | Generic Board | *2.0.0* | |
| :green_heart: | STM32H750IB | [Daisy ](https://www.electro-smith.com/daisy/daisy) | *1.9.0* | |
| :green_heart: | STM32H750IB | [Daisy](https://www.electro-smith.com/daisy/daisy) | *1.9.0* | |
| :yellow_heart: | STM32H750IB | [Daisy Patch SM](https://www.electro-smith.com/daisy/patch-sm) | *2.2.0* | |
| :green_heart: | STM32H750VB | Generic Board | *2.0.0* | |
| :green_heart: | STM32H753VI | Generic Board | *2.0.0* | |
| :green_heart: | STM32H753ZI | Generic Board | *2.0.0* | |
Expand Down
11 changes: 11 additions & 0 deletions boards.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3721,6 +3721,17 @@ GenH7.menu.pnum.DAISY_SEED.build.variant=STM32H7xx/H742I(G-I)(K-T)_H743I(G-I)(K-
GenH7.menu.pnum.DAISY_SEED.build.peripheral_pins=-DCUSTOM_PERIPHERAL_PINS
GenH7.menu.pnum.DAISY_SEED.build.ldscript=DAISY_SEED.ld

# Daisy Patch SM board
GenH7.menu.pnum.DAISY_PATCH_SM=Daisy Patch SM
GenH7.menu.pnum.DAISY_PATCH_SM.upload.maximum_size=131072
GenH7.menu.pnum.DAISY_PATCH_SM.upload.maximum_data_size=524288
GenH7.menu.pnum.DAISY_PATCH_SM.build.board=DAISY_PATCH_SM
GenH7.menu.pnum.DAISY_PATCH_SM.build.product_line=STM32H750xx
GenH7.menu.pnum.DAISY_PATCH_SM.build.variant_h=variant_{build.board}.h
GenH7.menu.pnum.DAISY_PATCH_SM.build.variant=STM32H7xx/H742I(G-I)(K-T)_H743I(G-I)(K-T)_H750IB(K-T)_H753II(K-T)
GenH7.menu.pnum.DAISY_PATCH_SM.build.peripheral_pins=-DCUSTOM_PERIPHERAL_PINS
GenH7.menu.pnum.DAISY_PATCH_SM.build.ldscript=DAISY_SEED.ld

# Generic H742IGKx
GenH7.menu.pnum.GENERIC_H742IGKX=Generic H742IGKx
GenH7.menu.pnum.GENERIC_H742IGKX.upload.maximum_size=1048576
Expand Down
Loading

0 comments on commit 342cda8

Please sign in to comment.