| Commit message (Collapse) | Author | Age |
... | |
| |
| |
| |
| |
| |
| | |
Should make it more obvious at compile time that you've done something wrong.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| |
| |
| |
| |
| |
| |
| | |
This replaces the ft230 with a stm32f04, saving a bit of BOM
and giving us control over the firmware.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| |
| |
| |
| |
| |
| |
| |
| | |
Using a state value means we can plot state changes along with the
rest of the graph. Raw speed (simple integrated acceleration) was
busted; mostly needing to skip the first accel sample.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
We had required a minimum altitude of 100m to transition from boost to
coast. With small motors in a heavy multi-staged rocket, this can fail
to detect coast in time to light the second motor.
Also, this would fail to deploy recovery systems if the flight failed
before reaching 100m.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| |
| |
| |
| |
| |
| |
| | |
This creates another IN endpoint which provides the contents of flash
for validation of the firmware load on the host.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| |
| |
| |
| |
| |
| |
| | |
At least make it compile. In this configuration, it's dumping out IN3
endpoint register values.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| |
| |
| |
| |
| |
| | |
This adds the code necessary to drive another IN endpoint.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| |
| |
| |
| |
| |
| |
| | |
This tells the hardware we're done writing data to the second input
buffer and allows it to be switched from NAK to VALID.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| |
| |
| |
| |
| |
| |
| | |
This adds the necessary descriptor information to support another IN
endpoint for applications.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|/
|
|
|
|
|
| |
These are putchar and flush functions that are used when sending data
to the additional IN2 and IN3 endpoints.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
|
|
|
|
|
| |
When DFU finishes loading firmware and jumps to the application, it
leaves the mapping of addresses starting at 0x0 set to System flash,
which prevents the boot loader from receiving interrupts and requires
a power cycle during flash & cal.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
|
|
| |
Trailing whitespace.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
|
|
| |
Were #ifdef, which meant that #define AO_BOOT_PIN 0 didn't work right.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
|
|
| |
Ensures that the radio is powered down while in the flash loader.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
|
|
| |
Products without a radio don't need this value.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| |
|
| |
|
|
|
|
| |
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
|
|
|
| |
This makes it possible to reflash the board without needing to disable
the watchdog.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
|
|
| |
Change ADC pin definitions to match new hardware.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
|
|
| |
Fix the library usage, use $(LIBS) instead of $(SAT_CLIB) -lgcc
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
| |
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
| |
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
| |
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
| |
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
|
|
| |
The M25 driver can also talk to the MRAM chip, with a few adjustments
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
|
|
| |
Runs at 25Hz, can be enabled and disabled via the command line
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
|
|
| |
Fox has two red and two green LEDs
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
| |
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
|
|
| |
Update to current schematic
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
| |
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
| |
It's Fox1IHU-v1 now
|
|
|
|
|
|
| |
Firmware capable of testing fox1ihu hardware
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
|
|
| |
This saves a bit of space, keeping the flash loader under 4k on fox
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
|
|
|
|
|
| |
Instead of checking just a single measurement to see if the
orientation is outside of the desired limits, use the maximum of 64
previous values to that rapidly changing orientation won't
accidentally enable a pyro channel if sampled at the 'wrong time'.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
|
|
|
| |
Remove unnecessary 'offset' param (was always passed zero). This also
makes some code conditional on that value no longer necessary.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| |
|
|
|
|
|
|
|
| |
Support for a failed TeleMetrum device that uses just the GPS receiver
and radio to create a TeleGPS-compatible device called 'tmgps'.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
|
|
|
| |
Don't try to disable packet slave mode when the product doesn't
support packet slave mode.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
| |
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
|
|
|
| |
This ensures that the beeps will work even before the configuration
has been loaded.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
|
|
|
| |
Flash the whole thing all at once to reduce the number of steps during
turnon.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
|
|
| |
This way it can be incorporated into multiple operating systems more easily.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
|
|
|
| |
This just passes any bytes with the high bit set through the system so
programs can include UTF-8 in strings and symbols. What the heck.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
|
|
| |
We've made things smaller, so there's (barely) space for this now.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
| |
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
|
|
|
| |
This lets us build a smaller lisp that is just missing some aliases
for existing functionality to save rom space.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
|
|
| |
Run tests on both tiny and full scheme test programs.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
|
|
|
| |
This improves the USB performance of ChaosKey so that it doesn't NAK
during data transfers at all.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
|
|
| |
This also allows us to stop shadowing USB rx buffers in system ram
Signed-off-by: Keith Packard <keithp@keithp.com>
|