<Farooq>
it's not burned. my soldering thing was dirty
<K900>
That is also usually bad
<Farooq>
how should I clean it?
<Farooq>
hmm I need a soldering tutorial
IlPalazzo-ojiisa has joined #rust-embedded
<ryan-summers[m]>
Honestly it looks like the PCB may not have a sufficient fiducial ring where the pins go in, so there's not a great wetting surface for the solder. But yeah, I'd agree that there are likely some issues you should work out with either heat, quality of solder, application, preheating, etc.
<ryan-summers[m]>
Usually a solder joint should be shiny, rounded, well-wetted etc.
<ryan-summers[m]>
The burned particulate could likely be rosin flux that burned off during the soldering process. Flux is often incorporated directly into hand solders
<Farooq>
okay it's time for YT then
<ryan-summers[m]>
Yeah definitely go watch a few tutorials. Hand soldering is a bit of an art
haobogu[m] has quit [Quit: Idle timeout reached: 172800s]
<therealprof[m]>
Farooq: So which iron did you get?
<Farooq>
ummm
<Farooq>
a very lowend 10 usd one for now
<Farooq>
I will get a better one later
<therealprof[m]>
Just double checking.
Guest7221 has left #rust-embedded [Error from remote client]
newam[m] has quit [Quit: Idle timeout reached: 172800s]
TomB[m] has joined #rust-embedded
<TomB[m]>
anyone see the new beagleboard based around a microchip polaris?
<TomB[m]>
looks cool
d3zd3z[m] has joined #rust-embedded
<d3zd3z[m]>
It seems that, although regex-lite has a 'std' feature, disabling it merely generates a compiler error that 'std' is currently required, and to file a ticket.
<lkostka[m]>
Let's say that I have board A and board B. Same MCU. Different LED pins. How using stm32f1xx-hal I can define a different LED pin to use depending on board ?
<GrantM11235[m]>
I would suggest `type Led = hal::gpio::Pin<'C', 13, Output>;`
newam[m] has joined #rust-embedded
<newam[m]>
this is one of the parts where rust is sadly not as good as C/C++, conditional compilation.
<lkostka[m]>
It would be much easier If hal provided some way to instantiate given type from `type Led = hal::gpio::Pin<'C', 13, Output>`
<lkostka[m]>
then only thing needed would be `type Led = hal::gpio::Pin<'C', 13, Output>`
<lkostka[m]>
or maybe come macro that will do all the required stuff
<ian_rees[m]>
lkostka - I don't have any experience with the stm32 HAL, but in the ATSAM world the HAL (hardware abstraction layer) and BSP (board support package) are separate, which allows you to define the types as suggested above in a BSP for each board, then in your main use cfg to select either `extern crate board_a as bsp;` or `extern crate board_b as bsp;`
m5zs7k has quit [Ping timeout: 248 seconds]
m5zs7k has joined #rust-embedded
<lkostka[m]>
<ian_rees[m]> "lkostka - I don't have any..." <- can you provide some crate names so I can examine source code to look for possible solutions
duderonomy has joined #rust-embedded
<ian_rees[m]>
sure - these are the boards used to provide examples, but if you've got a custom board the normal approach would be to make a BSP with correct pin definitions https://github.com/atsamd-rs/atsamd/tree/master/boards
neceve has quit [Ping timeout: 258 seconds]
neceve has joined #rust-embedded
Danilo[m] has quit [Quit: Idle timeout reached: 172800s]