1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2024-12-02 10:24:11 +01:00
LibrePilot/flight/Bootloaders/OpenPilot
Stacey Sheldon dc4aa07a32 board_hw_defs: factor out board-specific hw config definitions
Board specific HW configuration is now collected in a single .c
file for each board.  This HW configuration is #include'd into
the FW, BL and BU builds for each board.

These new .c files are found in:
  flight/board_hw_defs/<board_name>/board_hw_defs.c

Parts of this information were previously duplicated between
the BL and FW builds.  This commit cleans up the duplication.

Using a #include on a .c file is a bit ugly but it allows us
to ensure that all of the symbols in the board_hw_defs.c file
are *ONLY* used in the PIOS_Board_Init() function for each
software build.
2012-01-22 19:41:41 -05:00
..
inc bootfault: make IAP usage depend on PiOS config 2012-01-15 18:16:49 -05:00
main.c leds: use boot-time config for PiOS LED layer 2012-01-22 18:22:59 -05:00
Makefile board_hw_defs: factor out board-specific hw config definitions 2012-01-22 19:41:41 -05:00
op_dfu.c usb: allow runtime selection of USB descriptors via hwsettings 2012-01-14 14:28:15 -05:00
pios_board.c board_hw_defs: factor out board-specific hw config definitions 2012-01-22 19:41:41 -05:00
pios_usb_board_data.c usb: allow runtime selection of USB descriptors via hwsettings 2012-01-14 14:28:15 -05:00
ssp_timer.c More cleaning, moved stopwatch files to library folder, code formatting. 2011-04-29 20:48:13 +01:00
ssp.c More cleaning, moved stopwatch files to library folder, code formatting. 2011-04-29 20:48:13 +01:00