Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
F
firmware
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
External wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
fleur
firmware
Commits
9d8ad3b3
Verified
Commit
9d8ad3b3
authored
5 years ago
by
rahix
Browse files
Options
Downloads
Patches
Plain Diff
chore: Update CHANGELOG and documentation
Signed-off-by:
Rahix
<
rahix@rahix.de
>
parent
23250a8e
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
CHANGELOG.md
+27
-0
27 additions, 0 deletions
CHANGELOG.md
Documentation/pycardium/bhi160.rst
+8
-2
8 additions, 2 deletions
Documentation/pycardium/bhi160.rst
Documentation/pycardium/utime.rst
+25
-0
25 additions, 0 deletions
Documentation/pycardium/utime.rst
with
60 additions
and
2 deletions
CHANGELOG.md
+
27
−
0
View file @
9d8ad3b3
...
...
@@ -4,6 +4,33 @@ All notable changes to this project will be documented in this file.
The format is based on
[
Keep a Changelog
](
https://keepachangelog.com/en/1.0.0/
)
.
## [Unreleased]
### Added
-
**USB Storage mode**
! You can now select 'USB Storage' in the menu and
access card10's filesystem via USB. No more rebooting into bootloader!
-
LED feedback on boot. If your display is broken, you can still see it doing
something now.
-
`./tools/pycard10.py --set-time`
to set card10's system time from your host.
-
4 new functions in
`utime`
modules:
*
`set_time_ms()`
*
`set_unix_time_ms()`
*
`unix_time()`
*
`unix_time_ms()`
### Changed
-
Updated BLE stack
-
Refactored gfx API for drawing images (internal).
-
Draw partially clipped primitives in all cases (Fixes menu scrolling
animation).
-
Fatal errors are now handled in a central 'panic' module.
### Fixed
-
Make BLE interrupts higher priority than anything else to hopefully increase
stability.
-
Turn off BLE encryption after closing a connection.
-
Fixed mainline bootloader being broken.
-
Fixed menu entries being ordered by path instead of name.
-
Fixed menu crashing without a message.
-
Fixed QSTR build-system.
## [v1.11] - 2019-09-24 - [Karotte]
...
...
This diff is collapsed.
Click to expand it.
Documentation/pycardium/bhi160.rst
+
8
−
2
View file @
9d8ad3b3
...
...
@@ -34,20 +34,26 @@ clockwise around their respective axis.
utime.sleep(0.25)
.. autoclass:: bhi160.BHI160
Orientation
-----------
.. autoclass:: bhi160.BHI160Orientation
:members:
:inherited-members:
Accelerometer
-------------
.. autoclass:: bhi160.BHI160Accelerometer
:members:
:inherited-members:
Gyroscope
---------
.. autoclass:: bhi160.BHI160Gyroscope
:members:
:inherited-members:
Magnetometer
------------
.. autoclass:: bhi160.BHI160Magnetometer
:members:
:inherited-members:
This diff is collapsed.
Click to expand it.
Documentation/pycardium/utime.rst
+
25
−
0
View file @
9d8ad3b3
...
...
@@ -45,6 +45,18 @@ alarm.
.. versionadded:: 1.11
.. py:function:: unix_time()
Return the current unix time as seconds since the epoch.
.. versionadded:: 1.12
.. py:function:: unix_time_ms()
Return the current unix time as milliseconds since the epoch.
.. versionadded:: 1.12
.. py:function:: set_time(secs)
Sets the time to ``secs`` seconds since 2000-01-01 00:00 in the local
...
...
@@ -54,6 +66,13 @@ alarm.
:py:func:`utime.set_time` previously applied a wrong timezone offset,
thus leading to wrong results.
.. py:function:: set_time_ms(msecs)
Set the time to ``msecs`` seconds since 2000-01-01 00:00 in the local
timezone.
.. versionadded:: 1.12
.. py:function:: set_unix_time(secs)
Sets the time to ``secs`` seconds since 1970-01-01 00:00 UTC.
...
...
@@ -61,6 +80,12 @@ alarm.
by running ``date +%s`` in a command line or ``int(time.time())``
in Python.
.. py:function:: set_unix_time_ms(msecs)
Set the time to ``msecs`` milliseconds since the unix epoch.
.. versionadded:: 1.12
.. py:function:: localtime([secs])
Return the current time as a timestruct tuple. If ``secs`` is given, return
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment