I hereby claim:
- I am andresv on github.
- I am andresv (https://keybase.io/andresv) on keybase.
- I have a public key whose fingerprint is 63CE D109 DA53 0973 CD04 5180 30A6 572C 6CA8 65C9
To claim this, I am signing this object:
| fn cpin_partial_response() { | |
| static mut RES_Q: BBBuffer<TEST_RES_CAPACITY> = BBBuffer::new(); | |
| let (res_p, mut res_c) = unsafe { RES_Q.try_split_framed().unwrap() }; | |
| static mut URC_Q: BBBuffer<TEST_URC_CAPACITY> = BBBuffer::new(); | |
| let (urc_p, _urc_c) = unsafe { URC_Q.try_split_framed().unwrap() }; | |
| static mut COM_Q: queues::ComQueue = Queue::new(); | |
| let (_com_p, com_c) = unsafe { COM_Q.split() }; |
| #![no_main] | |
| #![no_std] | |
| use rtic::rtic_monotonic::{embedded_time, Clock, Fraction, Instant, Monotonic}; | |
| use stm32l0xx_hal::pac::TIM21; | |
| use stm32l0xx_hal::timer::Timer; | |
| /// Extended TIM21/16 to 64 bits | |
| pub struct ExtendedMonotonicTimer<TIM> { | |
| _tim: Timer<TIM>, |
| use cortex_m::asm; | |
| use hal::stm32; | |
| use hal::prelude::*; | |
| use hal::analog::adc::{Precision, SampleTime}; | |
| use hal::timer::Timer; | |
| use hal::time::Hertz; | |
| pub type AdcBuf = [u16; 4]; | |
| pub fn init(adc_dma_buf: &AdcBuf) { |
| //! Using STM32G0 TIM2 as monotonic timer | |
| use core::u32; | |
| use core::{ | |
| cmp::Ordering, | |
| convert::{Infallible, TryInto}, | |
| ops, | |
| }; | |
| use defmt::Format; | |
| use hal::stm32; |
I hereby claim:
To claim this, I am signing this object:
| #!/usr/bin/env python | |
| """ | |
| Scale kicad_mod format footprint. | |
| $ scale_kicad_mod.py 0.3 < old.kicad_mod > new.kicad_mod | |
| The MIT License | |
| Copyright (c) 2013 David Siroky ([email protected]) |
| ### INSTALLATION NOTES ### | |
| # 1. Install Homebrew (https://github.com/mxcl/homebrew) | |
| # 2. brew install zsh | |
| # 3. Install OhMyZsh (https://github.com/robbyrussell/oh-my-zsh) | |
| # 4. brew install reattach-to-user-namespace --wrap-pbcopy-pbpaste && brew link reattach-to-user-namespace | |
| # 5. Install iTerm2 | |
| # 6. In iTerm2 preferences for your profile set: | |
| # Character Encoding: Unicode (UTF-8) | |
| # Report Terminal Type: xterm-256color | |
| # 7. Put itunesartist and itunestrack into PATH |
| import sys | |
| import time | |
| import datetime | |
| from math import * | |
| import ephem | |
| # taken from: http://celestrak.com/NORAD/elements/cubesat.txt | |
| ec1_tle = { "name": "ESTCUBE 1", \ |
| #ifndef CONFIGURATION_H | |
| #define CONFIGURATION_H | |
| // This configurtion file contains the basic settings. | |
| // Advanced settings can be found in Configuration_adv.h | |
| // BASIC SETTINGS: select your board type, temperature sensor type, axis scaling, and endstop configuration | |
| //User specified version info of this build to display in [Pronterface, etc] terminal window during startup. | |
| //Implementation of an idea by Prof Braino to inform user that any changes made | |
| //to this build by the user have been successfully uploaded into firmware. |
| #include "vpiftransfer.h" | |
| // this must be defined here otherwise there will be Uint32 etc redefine errors | |
| #define _TI_STD_TYPES | |
| #include <cslr/soc_C6748.h> | |
| #include <cslr/cslr_syscfg0_C6748.h> | |
| #include <vpif/include/Fvid.h> | |
| #include <vpif/include/Vpif.h> |