- 09 Sep, 2020 2 commits
- 18 Jul, 2020 1 commit
-
-
schneider authored
-
- 25 Jun, 2020 3 commits
- 13 Jun, 2020 1 commit
-
-
schneider authored
Adds an option to write a btsnoop compatible log file containing BLE traffic. A new file is created after each boot if BLE is activated and the `ble_log_enable` option is set in `card10.cfg`. The last 10 logs are kept via log rotation.
-
- 02 Jun, 2020 1 commit
-
-
Rahix authored
Signed-off-by:
Rahix <rahix@rahix.de>
-
- 02 Feb, 2020 1 commit
-
-
Get samples from FIFO by small junks due to a recommendation from Maxim not to read the entire FIFO, but rather a fixed number of samples. See https://os.mbed.com/users/laserdad/code/MAX86150_ECG_PPG//file/3c728f3d1f10/main.cpp/ Additional tuning for particular configuration of max86150 in card10. Co-Authored-by:
Arist <aristkojevnikov@gmail.com>
-
- 31 Jan, 2020 1 commit
-
-
schneider authored
-
- 20 Jan, 2020 1 commit
-
-
schneider authored
-
- 06 Dec, 2019 5 commits
-
-
Rahix authored
Signed-off-by:
Rahix <rahix@rahix.de>
-
Rahix authored
Signed-off-by:
Rahix <rahix@rahix.de>
-
Rahix authored
Disable the `unused-parameter` warning for the mpy-cross-wrapper to silence an error about `argc` being unused (which is ok). Signed-off-by:
Rahix <rahix@rahix.de>
-
Rahix authored
Fix the following warning: lib/sdk/Libraries/Boards/card10/Source/board.c: In function 'Board_Init': lib/sdk/Libraries/Boards/card10/Source/board.c:102:19: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 102 | for (i = 0; i < num_pins; i++) { | ^ Signed-off-by:
Rahix <rahix@rahix.de>
-
Rahix authored
As discussed in card10/firmware!357 , we should increase the number of enabled compiler warnings to catch a lot more silent bugs. Increase the meson-global warning level to 2, but excluding the `unused-parameter` and `old-style-declaration` warnings. Additionally, disable warnings for libraries as we cannot fix that code anyway. Signed-off-by:
Rahix <rahix@rahix.de>
-
- 18 Oct, 2019 2 commits
-
- 05 Oct, 2019 2 commits
-
-
Rahix authored
card10_reset() won't ever return to where it was called from. Telling the compiler this can help with program-flow analysis. Signed-off-by:
Rahix <rahix@rahix.de>
-
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.
-
- 04 Oct, 2019 1 commit
-
-
Rahix authored
Previously, we left out the dependency of the QSTR header on `modules.h`. This was done to prevent rebuilds of the entire MicroPython sources whenever a Pycardium module is changed. This leads to issues where QSTRs got out of sync and weird errors like the following could happen: import foo_module Exception: No module `abc_def` (a different string than expected) Attempt to fix this by only updating the QSTR header when the module-header actually changes. For this, a few workarounds are needed: - Replace symlinks with actual copied files so timestamps change on updates. - Add a hack so meson picks up on the dependency of the file in genhdr/ - Rename the outer file so older meson versions don't complain about multiple targets with the same name. Co-authored-by:
dx <dequis@dequis.org> Signed-off-by:
Rahix <rahix@rahix.de>
-
- 03 Oct, 2019 2 commits
-
-
Signed-off-by:
Mateusz Zalega <mateusz@appliedsourcery.com>
-
Rahix authored
When MXC_ASSERT is disabled, the portexpander_config() call is not compiled into the bootloader which leads to the portexpander not being setup correctly and thus neither the screen turns on nor does the button to switch into MSC mode work correctly (bootloader always goes into MSC mode). Fix this by moving the portexpander_config() call outside the MXC_ASSERT and only keep the return value check inside. Additionally fix the pull-up/pull-down selection in portexpander_config() not being set correctly. Ref #171 Signed-off-by:
Rahix <rahix@rahix.de>
-
- 01 Oct, 2019 4 commits
-
-
Tobias Schneider authored
-
schneider authored
-
schneider authored
-
schneider authored
-
- 14 Sep, 2019 1 commit
-
-
schneider authored
Also modifies the PMIC UI code to be more intuitive
-
- 07 Sep, 2019 1 commit
-
-
fleur authored
-
- 06 Sep, 2019 1 commit
-
-
Woazboat authored
-
- 05 Sep, 2019 4 commits
-
-
Modify PB callback interface to allow distinction between up/down events.
-
-
-
- Add portexpander interrupt handling - Prevent redundant interrupts between polling portexpander
-
- 31 Aug, 2019 1 commit
-
- 30 Aug, 2019 1 commit
-
- 28 Aug, 2019 1 commit
-
-
Jannis Rieger authored
-
- 27 Aug, 2019 2 commits
-
-
Hinerk authored
-
- 24 Aug, 2019 1 commit
-
-
dx authored
It only has 27 characters, which as far as I can tell are useless for actual chinese text. Copying the list of characters in the same order of font24CN.c into google trans gives out this almost meaningful message: > Hello, Microsoft Yahei, the corresponding dot matrix for this font is > Raspberry Pi Aabc Micro Snow Electronics
-