Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add SPRO-SPRACINGH7NANO.config #12576

Conversation

theojalba
Copy link
Contributor

@theojalba theojalba commented Mar 26, 2023

Add back SPRACING H7NANO board which was removed in Betaflight 4.4.

The starting point for this configuration is the existing SPRACING H7EXTREME config in BF 4.4, and I applied hardware changes based on the previous H7NANO config in BF 4.3.

These are the changes for the 4.4-maintenance branch.

There are 2 additional pull requests:
#12575
betaflight/unified-targets#963

@theojalba
Copy link
Contributor Author

I tested this branch locally by adding the options below into common_pre.h. I confirmed that all the components on my build (CRSF Nano, Vista, GPS, motors) are working. I also did a quick indoors hover test.

#define CLOUD_BUILD
#define USE_SERIALRX
#define USE_SERIALRX_CRSF
#define USE_SERIALRX_GHST
#define USE_SERIALRX_SBUS
#define USE_SERIALRX_SRXL2
#define USE_SERIALRX_SPEKTRUM
#define USE_TELEMETRY_CRSF
#define USE_TELEMETRY_GHST
#define USE_TELEMETRY_HOTT
#define USE_TELEMETRY_MAVLINK
#define USE_TELEMETRY_SMARTPORT
#define USE_BARO
#define USE_GPS
#define USE_GPS_UBLOX
#define USE_GPS_NMEA
#define USE_GPS_RESCUE
#define USE_SERVOS
#define USE_LED_STRIP
#define USE_OSD
#define USE_OSD_SD
#define USE_OSD_HD
#define USE_PINIO
#define USE_PINIOBOX
#define USE_VTX
#define USE_DSHOT
#define USE_DSHOT_TELEMETRY
#define USE_ESC_SENSOR
#define USE_PWM
#define USE_PWM_OUTPUT
#define USE_RX_PPM
#define USE_RX_PWM
#define USE_TRANSPONDER
#define USE_MAG
#define USE_DASHBOARD
#define USE_BATTERY_CONTINUE
#define USE_CAMERA_CONTROL
#define USE_ACRO_TRAINER
#define USE_AKK_SMARTAUDIO

@theojalba
Copy link
Contributor Author

Recompiled with make SPRACINGH7NANO EXTRA_FLAGS="-D'BUILD_KEY=afb536a7b9178b11617c47f161899c93' -D'RELEASE_NAME=4.4.0-zulu' -DCLOUD_BUILD -DUSE_DSHOT -DUSE_GPS -DUSE_GPS_PLUS_CODES -DUSE_LED_STRIP -DUSE_OSD -DUSE_OSD_HD -DUSE_OSD_SD -DUSE_PINIO -DUSE_SERIALRX -DUSE_SERIALRX_CRSF -DUSE_TELEMETRY -DUSE_TELEMETRY_CRSF -DUSE_VTX".

Reflashed, retested, passed. 🎉

@theojalba
Copy link
Contributor Author

@hydra: As requested, here are the resource show, timer show, dma show, dump and diff outputs for this build post flashing. With 4.4 after flashing the board starts beeping. These are the outputs in that beeping state.

bf 4.4 resources.txt
bf 4.4 timers.txt
bf 4.4 dmas.txt
bf 4.4 dump.txt
bf 4.4 diff.txt

@theojalba
Copy link
Contributor Author

Will skip adding this config to 4.4-maintenance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant