oresat / oresat-firmware

OreSat firmware based on ChibiOS for M0 and M4 microcontrollers
GNU General Public License v3.0
37 stars 13 forks source link

Nucleof439 blinky #79

Closed wrh2 closed 2 years ago

wrh2 commented 2 years ago

Support for NUCLEO144-F439ZI in f4/app_blinky

heliochronix commented 2 years ago

The board.h here looks like it's almost a direct copy of the template. It should probably be tailored a bit more to the actual board it's on with appropriate pin names and such.

I'd suggest looking at some of the other board.h files for the dev boards (F446 might be closest) and make this one look a bit more like those, with things like the UART pins defined and whatnot. This would allow wiring up the dev board with things like CAN transceivers and UART to appropriately mimic some subsystems of the device, but it all looks roughly the same from the application standpoint.

Also, you could take a look at the upstream ChibiOS board file for the NUCLEO144 F429, which is somewhat similar. I think it just lacks the crypto components? We'd have to add "LINE_LED" probably, which would be the same as "LINE_LED1". Or just rename that one. Anyway, you'll want to verify the pinouts are the same by looking at both boards user guides. ext/ChibiOS/os/hal/boards/ST_NUCLEO144_F429ZI/board.h

wrh2 commented 2 years ago

@heliochronix my intention with this PR is just to support app_blinky for this nucleo since we didn't have