#46477 closed submission (fixed)
stm32flash 0.4
Reported by: | ranauei@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | kurthindenburg (Kurt Hindenburg) | |
Port: | stm32flash |
Description
Open source flash program for the STM32 ARM processors using the ST serial bootloader over UART or I2C
Attachments (4)
Change History (14)
comment:1 Changed 10 years ago by mf2k (Frank Schima)
Keywords: | maintainer haspatch removed |
---|---|
Version: | 2.3.3 |
comment:2 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)
Changed 10 years ago by ranauei@…
Attachment: | patch-stm32.c.diff added |
---|
Changed 10 years ago by ranauei@…
Attachment: | Portfile.2 added |
---|
Different arrangement to accomodate universal build
comment:3 Changed 10 years ago by ranauei@…
I attached a second portfile that implements building the universal variant in a slight different way so chose which one is preferred.
comment:5 Changed 9 years ago by kurthindenburg (Kurt Hindenburg)
looks like it has moved to http://sourceforge.net/projects/stm32flash/ - if you want to update, I will commit it for you.
Also, I'm not sure if the pre-build block is needed.
Changed 9 years ago by ranauei@…
Updated source location. Different arrangement to accomodate universal building
comment:6 Changed 9 years ago by ranauei@…
I updated both Portfiles, I don't know about the prebuild phase, how else would you configure those parameters and allow universal building since this utility doesn't have a configure script?
comment:7 follow-up: 8 Changed 9 years ago by kurthindenburg (Kurt Hindenburg)
I meant I'm not sure those lines have to be inside the pre-build {} - it seems to work either way.
comment:8 Changed 9 years ago by ranauei@…
Replying to khindenburg@…:
I meant I'm not sure those lines have to be inside the pre-build {} - it seems to work either way.
If I remove the pre-build section leaving just the commands inside it, universal building stops working with Portfile. However the with Portfile2 doing the same leaves universal building working
Changed 9 years ago by ranauei@…
Removed unnecessary pre-build section, universal building still works
comment:9 follow-up: 10 Changed 9 years ago by kurthindenburg (Kurt Hindenburg)
Resolution: | → fixed |
---|---|
Status: | new → closed |
I asked in IRC about the best way to handle this - I changed that part - let me know if it doesn't work for you = r138533
comment:10 Changed 9 years ago by ranauei@…
Replying to khindenburg@…:
I asked in IRC about the best way to handle this - I changed that part - let me know if it doesn't work for you = r138533
Nice it works thanks :)
Thanks.
The
reinplace "s|s_err == STM32_NACK|s_err == STM32_ERR_NACK|g"
should be changed to a patchfile. Thepatch
block will then need to be changed to apost-patch
block.Because you are using
use_configure no
, additional code needs to be added to ensure you're UsingTheRightCompiler, using-arch
flags, and if possible, add a working universal variant.