- Dec 06, 2019
-
-
rahix authored
Make the length parameter a `size_t` instead of a `intptr_t`. A signed value does not make any sense here and just leads to weird behavior if a negative value is given nonetheless. See issue card10/firmware#192 Signed-off-by:
Rahix <rahix@rahix.de>
-
rahix authored
Signed-off-by:
Rahix <rahix@rahix.de>
-
- Dec 05, 2019
-
-
schneider authored
-
- Nov 25, 2019
-
-
schneider authored
-
- Oct 05, 2019
-
-
Fix two bugs in the display/gfx module: 1. The animation of the simple_menu used in the main menu had the issue that there is a black line visible at the top. This is due the gfx_puts method ignoring lines, where the top pixel of the string is above the top of the screen. As gfx_puts uses gfx_setpixel which in turn ignores pixels outside of the screen, remove the check in gfx_puts. 2. X and Y coordinates were cast to unsigned-ints before being given to the gfx-library which means calls like circ(0, -10, 30) would be draw at coordinates like [0,65526]. Fix this by changing the data-type of all coordinates to signed-integers. Also remove the x and y ranges from the documentation of the individual python functions and instead add a general documentation about the screen and it's size/coordinate system.
-
- Sep 22, 2019
-
-
rahix authored
-
- Sep 21, 2019
-
-
Squashed commits: e94f7bf9 epicardium/rtc: add monotonic time e0691c6d pycardium/modules/utime.c: add bindings for monotonic time 756c13df epicardium/rtc: fix numerically unstable subsecond decoding the subsecond encoding function from epic_rtc_set_milliseconds and the corresponding decoding function from epic_rtc_get_milliseconds are not numerically stable. i.e., encoding 5 milliseconds to 20 subsecs and immediately afterwards decoding that yields 4 milliseconds. Adding a bias of 999 (0.24 milliseconds) to the decoding function makes it numerically stable, while never decoding any subsecond value to more than 999 milliseconds. e99e278b epicardium/rtc: only poll time once for calculating monotonic_offset 18936b7e pycardium/modules/utime.c: run clang-format 869ac617 epicardium/rtc: add explanation comment for numerically stable subsecond decode
-
- Sep 16, 2019
-
-
xiretza authored
-
- Sep 06, 2019
-
-
fleur authored
-
- Sep 05, 2019
-
-
rahix authored
Signed-off-by:
Rahix <rahix@rahix.de>
-
- Aug 31, 2019
-
- Aug 30, 2019
-
-
rahix authored
Signed-off-by:
Rahix <rahix@rahix.de>
-
rahix authored
Signed-off-by:
Rahix <rahix@rahix.de>
- Aug 28, 2019
-
- Aug 27, 2019
-
- Aug 26, 2019
-
-
rahix authored
Signed-off-by:
Rahix <rahix@rahix.de>
-
rahix authored
Signed-off-by:
Rahix <rahix@rahix.de>
-
- Aug 25, 2019
-
- Aug 24, 2019
-
-
usb/epc_usb ==== Contains device-independent USB implementation, services MAXUSB stack and is given the actual USB descriptors & callbacks on initialization. Handles USB events and configures/deconfigures the device accordingly during the USB setup procedure. usb/mass_storage & cdcacm ==== Contain device-specific implementations, service MAXUSB's device class APIs for cdcacm and mass storage. Here, mass storage is independent of the underlying storage device. modules/usb ==== Public apic_usb API, configuration and storage device management. Defines the actual USB device descriptors and services the upc_usb API. If we want to add SD card functionality, this would be the place to add it.
-
rahix authored
Signed-off-by:
Rahix <rahix@rahix.de>
-
- Aug 23, 2019
- Aug 22, 2019
-
-
schneider authored
-
Manuel Kasten authored
-
Hinerk authored
-
swym authored
-
Hinerk authored
-
swym authored
-
Stefan Haun authored
0x31 - battery_current 0x32 - chargein_voltage 0x33 - chargein_current 0x34 - system_voltage 0x35 - thermistor_voltage
-
rahix authored
-