Commit graph

487 commits

Author SHA1 Message Date
JF002 45e65b66b1
Merge pull request #111 from JF002/fix-twi-hang
Workaround for TWI driver freeze
2020-10-27 19:48:39 +01:00
JF 8a8c8aa863 Handle error code when calling TwiMaster::Read(). 2020-10-27 19:46:51 +01:00
JF002 e888b92b1f
Merge pull request #112 from SteveAmor/patch-1
Update arm-gcc toolchain in example
2020-10-27 19:40:40 +01:00
JF 1bb2eb9dcd Disable sleep mode on the SPI NOR Flash when the version is unknown. This is because the current bootloader (which does not exposes its version) cannot initialize the chip when it's in sleep mode.
This feature will be re-enabled when the bootloader expses it's version.
2020-10-27 19:38:45 +01:00
Steveis cc7ba74790
Update arm-gcc toolchain in example
The difference in the example caused some confusion for at least one person.
2020-10-24 09:42:13 +01:00
JF 2f710d06f3 Workaround for bug https://github.com/JF002/Pinetime/issues/79 until a better fix is found.
When the driver is stuck in an infinite loop for more than ~2.5ms, the TWI device is re-init and the transaction is retried.

Read() and Write() return an error code.
2020-10-23 22:25:37 +02:00
JF002 ab7acd0f07
Merge pull request #110 from maidenone/patch-1
Update main.cpp - Fix include path.
2020-10-23 15:33:04 +02:00
Anton Fosselius ab36c6cd24
Update main.cpp
changed "include Logging" to "include logging", now compiles with RTT ;)
2020-10-23 11:25:46 +02:00
JF 5983e33b8d Notifications : Replace the label "notificationNr/notificationNb" by a grey border on the bottom that is displayed when there are other notifications to available. 2020-10-22 15:39:20 +02:00
JF 07b6812f61 Notifications : Fix copy when the messages is spread across multiple os_mbuf. 2020-10-22 10:43:42 +02:00
JF cabf1168d4 Notifications : Fix display of notification index/number. 2020-10-21 22:15:02 +02:00
JF 440ae412b9 Increase max size of notification message to 100 char.
Fix bug in message handling that would ignore the last character of the notification.
2020-10-21 17:31:56 +02:00
JF002 8884a77c06
Merge pull request #106 from Gottox/fix-build-on-linux
fix build on linux
2020-10-20 22:48:37 +02:00
JF ef5670c7e0 Integrate new notification UI with notifications coming from BLE 2020-10-20 20:57:39 +02:00
Enno Boland 8842259c7c fix build on linux
This commit fixes upper/lowercase issues in directory names that cause
the build to fail on case sensitive file systems like Linux uses.
2020-10-20 09:16:30 +02:00
JF 55427d83b8 [WIP] Add new notification UI that use HW scrolling effects. Both notification apps are available in the menu, we can compare them. 2020-10-19 21:46:41 +02:00
Enno Boland e5efd0514a
Update MemoryAnalysis.md
typo fix: aray -> array
2020-10-19 21:26:13 +02:00
JF002 3c5fd5ca8b
Merge pull request #93 from robertecurtin/master
Fix typo in SystemInfo app.
2020-10-18 17:50:20 +02:00
JF002 c655ec71f0
Merge pull request #99 from rafacouto/patch-1
Update SystemInfo.cpp - Show MAC bytes with left-zeroes
2020-10-18 17:46:22 +02:00
JF 28bc434419 [WIP] New notification app that uses software scrolling effect. 2020-10-18 17:35:36 +02:00
JF002 cb2216176c
Merge pull request #96 from Avamander/patch-1
Redesigned and improved the Music watchapp
2020-10-15 21:58:27 +02:00
Avamander 4b0a852053 Made sure to use right data type for a negative number 2020-10-15 22:52:53 +03:00
Avamander 174e5ccfe4 Removed weird parentheses from constexpr 2020-10-15 22:51:43 +03:00
Avamander 128a2ea226 Changed #define to constexpr in Music.cpp 2020-10-15 22:50:28 +03:00
Avamander 6f45c0f669 Unified MusicStatus enum constant capitalization with others 2020-10-15 22:45:53 +03:00
Avamander d4531d7bf3 Reordered the functions in Music.cpp correctly 2020-10-15 22:16:08 +03:00
Avamander 82126edf88 Added lv_img_set_src_arr that does better type checking when drawing images from arrays 2020-10-15 22:16:08 +03:00
Avamander 2b9906184b Refactored and improved the Music watchapp 2020-10-15 22:16:08 +03:00
Robert Curtin 2d5ddb88a7 Noticed this typo when booting my PineTime 2020-10-12 08:45:41 -04:00
Rafa Couto efb7a973a1
Update SystemInfo.cpp
Show MAC bytes with left-zeroes
2020-10-12 05:12:31 +02:00
JF002 da73938f4d
Merge pull request #82 from Avamander/patch-6
Minor formatting, diagnostic and documentation changes
2020-10-11 17:05:01 +02:00
Avamander fd110dabe8 Reformatted InfiniPaint again 2020-10-09 11:36:16 +03:00
Avamander 1c645b776a Improved code formatting rules 2020-10-09 11:36:16 +03:00
Avamander 189c5a83b2 Made sure to unsuppress the diagnostic check after the infinite loop declaration 2020-10-09 11:36:16 +03:00
Avamander f68c7b65b3 Minor formatting, diagnostic and documentation changes 2020-10-09 11:36:16 +03:00
JF002 bb72712d37
Merge pull request #85 from arteeh/patch-2
Fix typo
2020-10-08 21:04:11 +02:00
JF002 b3ef816471
Merge pull request #83 from Avamander/patch-7
Removed an incomplete message() call from CMakeLists.txt
2020-10-08 21:03:39 +02:00
JF002 0a8d8953f7
Merge pull request #80 from Avamander/patch-1
Switched from NULL to nullptr
2020-10-08 20:58:24 +02:00
JF002 9d43eff43a
Merge pull request #81 from Avamander/patch-4
Fixed a typo in SystemTask
2020-10-08 20:56:19 +02:00
incyi aa3735f5c8
Update README.md
Branch set to develop.
2020-10-07 18:02:09 +02:00
incyi 58c0f3ba25
Update README.md 2020-10-07 18:01:01 +02:00
Maarten de Jong c4599dbf90
Fix typo
GCC output file is .out instead of .bin
2020-10-06 21:10:51 +02:00
Avamander cc3a9f3c79 Removed an incomplete message() call from CMakeLists.txt 2020-10-04 18:46:34 +03:00
Avamander aba3d65e3a Merge remote-tracking branch 'origin-origin/patch-3'
# Conflicts:
#	src/systemtask/SystemTask.cpp
2020-10-04 16:23:13 +03:00
Avamander 77f4d5448b Fixed a small warning with Screen's constructor 2020-10-04 15:14:09 +03:00
Avamander 9b7ba7b5b8 Fixed a typo in SystemTask 2020-10-04 15:13:01 +03:00
Avamander 1d96758acd Minor #include improvements 2020-10-04 15:11:21 +03:00
Avamander e85d1ffc62 Replaced NULL with nullptr 2020-10-04 15:09:17 +03:00
Avamander 13da1e38f0 Switched from NULL to nullptr 2020-10-04 14:53:11 +03:00
JF e4f0a95af8 Add coding conventions in contribute.md 2020-10-04 12:52:48 +02:00