Merge pull request #36 from darnel/fix-ld
JF002
2020-06-20 16:30:36 +02:00
3dfba0b90dUpdate BLE status when BLE is connected.
JF
2020-06-19 22:20:12 +02:00
b8f9d70667Use PRIMASK instead of BASEPRI for critical sections in FreeRTOS. This is needed by NimBLE to be able to mask radio interrupt (which has priority 0).
JF
2020-06-19 22:11:21 +02:00
a0b5cbbc1cDisable all logging
JF
2020-06-19 22:10:01 +02:00
34fd4c5cf3Fix link error because of missing file "nrf_common.ld"
Vojtěch Jirkovský
2020-06-17 23:32:56 +02:00
064e77f05aFix #include to relative paths
Vojtěch Jirkovský
2020-06-17 09:02:28 +02:00
3a49bbbae4Merge branch 'develop' of JF/PineTime into master
JF
2020-06-16 21:15:16 +02:00
9a89ff7f77Set version to 0.6.1
JF
2020-06-16 21:07:53 +02:00
73e6cbde79Fix builds that do not specify CMAKE_BUILD_TYPE during CMake generation. Apply Release by default.
JF
2020-06-16 21:02:03 +02:00
5faa68ba1aRemove reference to MERGEHEX as it's not needed anymore.
JF
2020-06-16 20:44:55 +02:00
f133d1e9eaFix #include that were pointing to my own FS instead of relative paths to the SDK.
JF
2020-06-16 20:44:11 +02:00
9898fed806Update to nimble 1.3.0 + WIP : debug BLE connection issue with android phones.
JF
2020-06-16 20:36:24 +02:00
fab220d0b9Fix idle timer bug that would prevent the screen from waking up.
JF
2020-06-13 17:33:49 +02:00
47851fb3b4Display BLE MAC address in sysinfo Screen.
JF
2020-06-08 21:51:34 +02:00
9115c49bbaFix reset reason (it returns the actual reset reason instead of hard coded 'hard reset' value).
JF
2020-06-07 20:31:13 +02:00
421af9625bAdd build date and time in sysinfo screen.
JF
2020-06-07 20:16:39 +02:00
81a0ad73d9Set idle timeout to 15s before going to sleep.
JF
2020-06-07 20:05:04 +02:00
e22c0609b5Add uptime counter in DateTimeController and display it in SystemInfo screen.
JF
2020-06-07 20:04:43 +02:00
baafb96f30Set version to 0.7.0
JF
2020-06-07 20:03:10 +02:00
a0e73f5c1aMerge branch 'develop' of JF/PineTime into master
JF
2020-06-07 14:17:45 +02:00
dbdb26ae1fDfuService : fix Magic number : incorrect values were written in memory.
JF
2020-06-07 14:10:17 +02:00
2170800d76Improve doc about bootloader & mcuboot.
JF
2020-06-07 14:09:44 +02:00
46b8bf9fc1Add new target (pinetime-graphics) that flash the bootloader logo into the spi flash memory.
JF
2020-06-06 19:28:01 +02:00
e7723598a6Automatically go to sleep after 5 sec of inactivity. Advertise for 3 minutes at startup and on wake-up. Disable automatic continuous StartAdvertising.
JF
2020-06-01 20:40:11 +02:00
de822cc3a2Encapsulate DFU Image buffering and writing into spi flash in DfuImage. Add some const in SPI driver.
JF
2020-06-01 18:32:46 +02:00
f6aa41c214Encapsulate notification send (sync/async) into DfuService::NotificationManager;
JF
2020-06-01 17:35:28 +02:00
07f74cee63DFU : add timeout detection : abort dfu procedure after 10s without any data from the host.
JF
2020-06-01 16:30:24 +02:00
b41a856b9dAdd python script to DFU from a linux PC to the Pinetime
JF
2020-06-01 15:21:58 +02:00
dca559aad5Improve DFU procedure : - correctly write all bytes to flash - check CRC - Fix bug in notification : they cannot be sent from the control point handler (because it seems you cannot send a notification and a write acknowledge at the same time) using a timer (quick'n'dirty implementation to be improved) - Improve dfu screen - Reset if dfu image is correctly copied into flash and crc is ok.
JF
2020-06-01 09:22:54 +02:00
4717cf0a1dAdd driver for writing into the internal flash. Write the OK flag for mcuboot using this driver.
JF
2020-05-24 20:30:06 +02:00
00451ef05bAdd example scripts to generate mcuboot image, dfu file and program them with openocd.
JF
2020-05-24 17:47:07 +02:00
4154dae01aFix race condition in SpiMaster.cpp.
JF
2020-05-24 17:46:43 +02:00
84b996bf3fTypo in file name. Set version to 0.6.0.
JF
2020-05-24 17:02:45 +02:00
82b4ddc25bMerge branch 'nimble-ota' of JF/PineTime into develop
JF
2020-05-24 16:58:29 +02:00
331481cd0cRefactor CMake files to allow building 2 binaries : one standalone and one compatible with mcuboot bootloader (the offset in memory is different).
JF
2020-05-24 16:36:04 +02:00
ce32863693Fix offset issues in OTA procedure. CRC verification : work in progress (not fully working for now).
JF
2020-05-20 18:39:25 +02:00
8a94750e30Merge branch 'develop' of JF/PineTime into master
JF
2020-05-17 10:29:13 +02:00
be1ad9b070Disable logging once again...
JF
2020-05-17 10:25:42 +02:00
79131f4fe3Improve SPI driver (use a mutex to prevent race conditions).
JF
2020-05-17 09:35:01 +02:00
9753967d8aUpdate LittleVGL from 6.1.1 to 6.1.2. It fixes a memory leak when a screen used 2 lv_img objects (occured in Clock).
JF
2020-05-17 09:27:36 +02:00
Merge pull request #30 from JF002/nimble
JF002
2020-05-16 16:15:38 +02:00
d6c6ac4cf5Remove reference to NRF Softdevice in CMake and documentation. Update documentation. Remove Asserts when starting advertising to prevent crash (known bug). Set version 0.5.0.
JF
2020-05-16 16:13:22 +02:00
56fba1c242Merge branch 'nimble' of git.proxmox3:JF/PineTime into nimble
JF
2020-05-16 15:30:54 +02:00
ee05577dd6Fix race conditions on SPI and integrate the SPI NOR Flash driver into DFUService (WIP)
JF
2020-05-11 18:50:37 +02:00
d564b3cf15Fix crash when the computer disconnect from the BLE connection.
JF
2020-04-04 17:41:21 +02:00
211e9795e0Update Readme, add section about BLE connection troubleshooting
JF
2020-03-29 15:19:39 +02:00
9ad1f05bc6Improved BLE logging Do not consider service discovery as error Remove dulicated BLE observer
JF
2020-03-29 13:58:06 +02:00
baca0fc3e5Encapsulate Notification management in NotificationManager. It implement a static array of notifications to avoid dynamic allocation.
JF
2020-03-28 19:05:28 +01:00
68240704c7Add support for BLE notification (ANS client). Work In Progress!!!
JF
2020-03-25 21:23:40 +01:00
7e9a7e4d5fFix bad memory alloaction in sysinfo screen.
JF
2020-03-22 12:14:38 +01:00
fb64ba8fb6Add new App : Sysinfo. It displays various info about the running system : version, date/time, battery, brightness and resetreason. It contains placeholder for future use (like mac address, uptime,...).
JF
2020-03-22 12:03:17 +01:00