1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-14 20:10:18 +03:00
betaflight/make
jflyper 4e9923569a NUCLEOF103RG target
NUCLEOF103RG is a target for Nucleo-F103RG (Nucleo-F103RB transplanted
with STM32F103RG which has 1MB of FLASH).
Such hardware with this target comes in handy when a firmware that
doesn't fit in smaller FLASH variant when compiled with DEBUG option.

The target definition files are straight copy of NAZE, except LED0_PIN
has been redefined to use Nucleo's LD2 (User LED).

It is also easy to convert exisiting F1 targets to be built to run on
the Nucleo-F103RG board:

- Add
    #define FLASH_PAGE_SIZE 0x800
    to target.h

- Also add
    #undef USE_DSHOT
    #undef USE_LED_STRIP
    #undef USE_TRANSPONDER
    #undef USE_CAMERA_CONTROL
    to target.h to avoid non-F1 compatible code from getting in.

- Add
FLASH_SIZE  = 1024
    to target.mk
2019-09-23 23:58:03 +09:00
..
mcu DMA bit banging Dshot, first cut 2019-09-04 16:06:48 +12:00
build_verbosity.mk remove not needed whitespaces 2017-08-24 11:33:39 +02:00
checks.mk Fixed checks and added target for all checks. 2019-09-16 23:29:28 +12:00
linux.mk include the make arm_sdk_install target, for easy building 2016-09-02 19:56:15 -07:00
macosx.mk include the make arm_sdk_install target, for easy building 2016-09-02 19:56:15 -07:00
openocd.mk remove not needed whitespaces 2017-08-24 11:33:39 +02:00
source.mk add pull_up to names, change pg config to array of elements, use correct DEFs 2019-08-15 18:59:28 +02:00
system-id.mk include the make arm_sdk_install target, for easy building 2016-09-02 19:56:15 -07:00
targets.mk Support compilation of EXST (EXTERNAL STORAGE) targets 2019-06-07 09:14:49 +12:00
targets_list.mk NUCLEOF103RG target 2019-09-23 23:58:03 +09:00
tools.mk update gcc 2018-07-21 11:46:10 +02:00
windows.mk include the make arm_sdk_install target, for easy building 2016-09-02 19:56:15 -07:00