Mathias Rasmussen
d4d7713c2a
chore: Update github issue template
4 years ago
Mathias Rasmussen
368744a353
refactor: Simplify bootloader check
4 years ago
Mathias Rasmussen
907c4726b7
feat: Improve arming safety check
Make sure RCP value has been for 300ms (10 times)
4 years ago
Mathias Rasmussen
95e7087f77
refactor: Optimize bidirectional direction decoding
4 years ago
Mathias Rasmussen
5b5ae55f09
style: Consistent timer 1 interupt labels
4 years ago
Mathias Rasmussen
dbadddf047
build: Check if latest commit changes hex output
4 years ago
Mathias Rasmussen
f03da82bcd
docs: Add and update code comments and notes
4 years ago
Mathias Rasmussen
da09ca0e6f
style: Change timer delay numbering format
Negative numbers to represent the actual delay
4 years ago
Mathias Rasmussen
be738dec45
style: Fix code style whitespace
4 years ago
Mathias Rasmussen
9a5ad149f8
chore(release): 0.13
4 years ago
Mathias Rasmussen
b3cf0f3bbc
chore: Update commitlint config
4 years ago
Mathias Rasmussen
be52fa6469
fix: Clear DShot command when RCP is zero
DShot commands must be counted consecutively and not allow zero rcp packets in between
4 years ago
Mathias Rasmussen
90ae235481
feat: Send telemetry for each DShot packet when off
Simplify RCP start check and DShot command handling
4 years ago
Mathias Rasmussen
512f8e6839
refactor: Optimize DShot command check
4 years ago
Mathias Rasmussen
754aaf992c
refactor: Routines for beep sequences
4 years ago
Mathias Rasmussen
128323c822
style: Rename beacon delay counter
4 years ago
Mathias Rasmussen
78de110ea9
fix: Switch power off earlier during signal detection
Ensure FETs are off when beeping
4 years ago
Mathias Rasmussen
bc95ca8c64
refactor: Use timer 2 to schedule beacon beep
4 years ago
Mathias Rasmussen
18745f1682
style: Rename init_start to motor_start
4 years ago
Mathias Rasmussen
4fd988fb55
refactor: Change stall and stop handling
4 years ago
Mathias Rasmussen
3b90c60855
style: Rename wait_for_power_on labels
4 years ago
Mathias Rasmussen
406ac2b048
refactor: Move initialization of initial run counter
4 years ago
Mathias Rasmussen
ecb70ea884
fix: Check RCP timeout in DShot command loop
Avoid getting stuck in loop on signal loss
4 years ago
Mathias Rasmussen
f7b88684e2
refactor: Change motor start RCP glitch check
4 years ago
Mathias Rasmussen
ebba0ce165
refactor: Set rcp stop flag on timeout
4 years ago
Mathias Rasmussen
7c3fbbed4d
refactor: Reorganize DShot command resets
4 years ago
Mathias Rasmussen
8c26ad604b
style: Update layout comments and style
4 years ago
crteensy
18524b24af
docs: Clarify layout overview table ( #23 )
* Clarify layout overview table
Since some of the the existing comments were confusing, the actual output setup was taken from the individual layout files and condensed into a table. Comments in parentheses could be removed, because they just refer to a different layout which is, well, different.
* style: spaces to tabs
* docs: Fix comments and S pinout
Co-authored-by: Mathias Rasmussen <mathiasvr@gmail.com>
4 years ago
Mathias Rasmussen
be845d6782
refactor: Simplify DShot command direction handling
4 years ago
Mathias Rasmussen
b82153c342
refactor: Only decode settings during startup
4 years ago
Mathias Rasmussen
44ac8e2c75
refactor: Make Flag_Motor_Dir_Rev a run time state flag
4 years ago
Mathias Rasmussen
62bcd1cae1
refactor: Rename Flag_Pgm_Bidir_Rev to Flag_Pgm_Dir_Rev
4 years ago
Mathias Rasmussen
f230095a71
refactor: Rename Flag_Pgm_Dir_Rev to Flag_Motor_Dir_Rev
4 years ago
Mathias Rasmussen
2b66e93d99
docs: Rename pwm phase macros
4 years ago
Mathias Rasmussen
4f87c40a43
docs: Rename comparator macros
4 years ago
Mathias Rasmussen
6f61646309
docs: Update commutation comments
4 years ago
Mathias Rasmussen
22996bdcee
style: Rename pins in ESC layouts
4 years ago
Mathias Rasmussen
9a6c8d0fa2
chore(release): 0.12
4 years ago
Mathias Rasmussen
fb804ea743
fix: Avoid entering bootloader during FC reboot
4 years ago
Mathias Rasmussen
bffd76eb83
fix: Increase bootloader signal duration
4 years ago
Mathias Rasmussen
0b15dc327f
fix: Port 2 was not skipped by crossbar
4 years ago
Dinesh Manajipet
e2c249bba2
fix: Change startup melody length from 64 to 62 notes ( #20 )
As the first 4 bytes are now holding metadata
4 years ago
Mathias Rasmussen
22555fd1d4
chore: Update version
4 years ago
Mathias Rasmussen
f50db15609
style: Fix minor whitespace
4 years ago
Dinesh Manajipet
3b355fb02a
feat: Make startup melody user configurable ( #8 )
* feat: Initial support for user configurable startup tunes
We now support startup tunes of length 64 notes*
Each note is a tuple of (number of pulses, pulse duration)
i.e (Temp4, Temp3) register values of beep subroutine
An array of 128 values is reserved at CSEG 1A70 for this feature
The array is configurable via. Bluejay configurator - which does
most of the heavy lifting
* feat: Add support for Rtttl metadata in startup tunes
Reserve the first 4 bytes of Eep_Pgm_Startup_Tune for metadata.
This reduces the maximum number of notes to 62, but will make editing
experience a lot more plesant as we no longer have to guess tempo to
reconstruct the Rtttl.
* refactor: Move beep melody code to routine
* style: Fix whitespace
* fix: Restore melody
* chore: Update default startup tune
* fix: Guard against invalid melody
Co-authored-by: Mathias Rasmussen <mathiasvr@gmail.com>
4 years ago
Mathias Rasmussen
3022574fc2
chore: Create FUNDING.yml
4 years ago
Mathias Rasmussen
e4d7d60387
chore(release): 0.11
4 years ago
Mathias Rasmussen
047c86b95c
feat: Store programmed PWM frequency for display
4 years ago
Mathias Rasmussen
68d375a3b7
docs: Add some interrupt and dead time comments
4 years ago
Mathias Rasmussen
781366fce2
style: Minor O layout fix
4 years ago