Skip to content

Commit 04abc91

Browse files
committed
Merge branch 'develop' into master
2 parents 65ecb65 + f0e1f98 commit 04abc91

193 files changed

Lines changed: 45848 additions & 1525 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitignore

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,28 @@
11
.idea/
2+
# CMake
23
cmake-build-*/
3-
**/CMakeCache.txt
44
CMakeFiles/
5+
**/CMakeCache.txt
6+
cmake_install.cmake
7+
Makefile
8+
9+
# Resulting binary files
10+
*.a
11+
*.so
12+
*.s
13+
*.hex
14+
*.bin
15+
!bootloader/bootloader-5.0.4.bin
16+
*.map
17+
*.out
18+
pinetime*.cbp
519

20+
# InfiniTime's files
621
core
722
sdk
823
src/Version.h
924
docker/post_build.sh
25+
Testing/Temporary/
1026

1127
# Linux
1228
**/.directory

.idea/codeStyles/Project.xml

Lines changed: 31 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
cmake_minimum_required(VERSION 3.10)
2-
project(pinetime VERSION 0.8.2 LANGUAGES C CXX ASM)
2+
project(pinetime VERSION 0.9.0 LANGUAGES C CXX ASM)
33

44
set(NRF_TARGET "nrf52")
55

66
if (NOT ARM_NONE_EABI_TOOLCHAIN_PATH)
7-
message(FATAL_ERROR "The path to the toolchain (arm-non-eabi) must be specified on the command line (add -DARM_NONE_EABI_TOOLCHAIN_PATH=<path>")
7+
message(FATAL_ERROR "The path to the toolchain (arm-none-eabi) must be specified on the command line (add -DARM_NONE_EABI_TOOLCHAIN_PATH=<path>")
88
endif ()
99

1010
if (NOT NRF5_SDK_PATH)

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,13 +45,14 @@ As of now, here is the list of achievements of this project:
4545
## Documentation
4646

4747
### Develop
48-
- [Generate the fonts and symbols](src/DisplayApp/Fonts/Readme.md)
48+
- [Generate the fonts and symbols](src/displayapp/fonts/Readme.md)
4949

5050
### Build, flash and debug
5151
- [Project branches](doc/branches.md)
5252
- [Versioning](doc/versioning.md)
5353
- [Files included in the release notes](doc/filesInReleaseNotes.md)
5454
- [Build the project](doc/buildAndProgram.md)
55+
- [Flash the firmware using OpenOCD and STLinkV2](doc/openOCD.md)
5556
- [Build the project with Docker](doc/buildWithDocker.md)
5657
- [Bootloader, OTA and DFU](./bootloader/README.md)
5758
- [Stub using NRF52-DK](./doc/PinetimeStubWithNrf52DK.md)

bootloader/ota-dfu-python/nrf_ble_dfu_controller.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ def _get_handles(self, uuid):
162162
self.ble_conn.sendline('characteristics')
163163

164164
try:
165-
self.ble_conn.expect([uuid], timeout=2)
165+
self.ble_conn.expect([uuid], timeout=10)
166166
handles = re.findall(b'.*handle: (0x....),.*char value handle: (0x....)', self.ble_conn.before)
167167
(handle, value_handle) = handles[-1]
168168
except pexpect.TIMEOUT as e:

doc/MemoryAnalysis.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Memory analysis
22
## FreeRTOS heap and task stack
3-
FreeRTOS statically allocate its own heap buffer in a global variable named `ucHeap`. This is an aray of *uint8_t*. Its size is specified by the definition `configTOTAL_HEAP_SIZE` in *FreeRTOSConfig.h*
3+
FreeRTOS statically allocate its own heap buffer in a global variable named `ucHeap`. This is an array of *uint8_t*. Its size is specified by the definition `configTOTAL_HEAP_SIZE` in *FreeRTOSConfig.h*
44
FreeRTOS uses this buffer to allocate memory for tasks stack and all the RTOS object created during runtime (timers, mutexes,...).
55

66
The function `xPortGetFreeHeapSize()` returns the amount of memory available in this *ucHeap* buffer. If this value reaches 0, FreeRTOS runs out of memory.
@@ -75,4 +75,4 @@ add_definitions(-D__STACK_SIZE=8192)
7575
*TODO*
7676

7777
#Tools
78-
- https://github.com/eliotstock/memory : display the memory usage (FLASH/RAM) using the .map file from GCC.
78+
- https://github.com/eliotstock/memory : display the memory usage (FLASH/RAM) using the .map file from GCC.

doc/buildAndProgram.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ CMake configures the project according to variables you specify the command line
1818

1919
Variable | Description | Example|
2020
----------|-------------|--------|
21-
**ARM_NONE_EABI_TOOLCHAIN_PATH**|path to the toolchain directory|`-DARM_NONE_EABI_TOOLCHAIN_PATH=/home/jf/nrf52/gcc-arm-none-eabi-9-2019-q4-major/`|
21+
**ARM_NONE_EABI_TOOLCHAIN_PATH**|path to the toolchain directory|`-DARM_NONE_EABI_TOOLCHAIN_PATH=/home/jf/nrf52/gcc-arm-none-eabi-9-2020-q2-update/`|
2222
**NRF5_SDK_PATH**|path to the NRF52 SDK|`-DNRF5_SDK_PATH=/home/jf/nrf52/Pinetime/sdk`|
2323
**USE_JLINK, USE_GDB_CLIENT and USE_OPENOCD**|Enable *JLink* mode, *GDB Client* (Black Magic Probe) mode or *OpenOCD* mode (set the one you want to use to `1`)|`-DUSE_JLINK=1`
2424
**CMAKE_BUILD_TYPE**| Build type (Release or Debug). Release is applied by default if this variable is not specified.|`-DCMAKE_BUILD_TYPE=Debug`
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)