sealhat / sealhat_firmware Goto Github PK
View Code? Open in Web Editor NEWFirmware for the Seal Heartrate And Tracking device.
License: MIT License
Firmware for the Seal Heartrate And Tracking device.
License: MIT License
USB should not be active when not plugged in. there should be a interrupt that triggers off of VBUS (refer to schematic for pin) and enables the USB module and associated clocks. The device should go back to the original mode once USB is unplugged.
applies to GPS, but should verify later
the idle task has been re-implemented to put the processor to sleep but in IDLE. systick must be connected to a clock that goes to sleep in STANDBY mode since if we use STANDBY mode in the idle task the processor never wakes up.
This is already written for simple debugging. We should make it actually recover and log an error to FLASH.
use Atmel smart to add the hardware instances for our custom boards.
the RTC is a 32 bit counter tracking seconds since epoch. Our timestamps use this value, but the START calendar driver uses a struct of actual date values. Hopefully we can pull the function that does this out from the depths of START somewhere.
A function is needed to set the RTC counter value and therefor the current time. Preferably from gps?
We are not usign the START driver for our timestamps but maybe they could be used here?
see: /tasks/seal_CTRL.*
Function to set the epoch, the calendar module can have a custom epoch year.
seal_IMU.c has consecutive function calls that return errors and the errors are not checked. These need to either be checked before continuing or documented as not capable of returning an error with the given parameters.
Our processor has EEPROM NVM module in the chip we can use for persistent settings. This requires setting the proper fuse to set the EEPROM size to 256 Bytes and also drivers in Atmel start.
currently if a task fails to start the system goes into a while(1) loop and dies. The system should instead log the failure and continue on with the remaining sensors. the only show-stopper task is the control/logging task.
Implement a counter that keeps track of fixes without the "valid" flag and compare to a VALID_TIMEOUT define. If the fixes consistently not valid then the conditions are poor and the device should sleep for a while.
Also, consider logging the satellite information (quality, number) if this occurs.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.