Merge pull request #11 from japaric/stext
bump cortex-m-rt version to v0.2.3; document the _stext symbol
This commit is contained in:
12
.gdbinit
12
.gdbinit
@@ -2,16 +2,16 @@ target remote :3333
|
|||||||
|
|
||||||
monitor arm semihosting enable
|
monitor arm semihosting enable
|
||||||
|
|
||||||
## send captured ITM to the file itm.fifo
|
# # send captured ITM to the file itm.fifo
|
||||||
## (the microcontroller SWO pin must be connected to the programmer SWO pin)
|
# # (the microcontroller SWO pin must be connected to the programmer SWO pin)
|
||||||
## 8000000 must match the core clock frequency
|
# # 8000000 must match the core clock frequency
|
||||||
# monitor tpiu config internal itm.fifo uart off 8000000
|
# monitor tpiu config internal itm.fifo uart off 8000000
|
||||||
|
|
||||||
## OR: make the microcontroller SWO pin output compatible with UART (8N1)
|
# # OR: make the microcontroller SWO pin output compatible with UART (8N1)
|
||||||
## 2000000 is the frequency of the SWO pin
|
# # 2000000 is the frequency of the SWO pin
|
||||||
# monitor tpiu config external uart off 8000000 2000000
|
# monitor tpiu config external uart off 8000000 2000000
|
||||||
|
|
||||||
## enable ITM port 0
|
# # enable ITM port 0
|
||||||
# monitor itm port 0 on
|
# monitor itm port 0 on
|
||||||
|
|
||||||
load
|
load
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ version = "0.1.7"
|
|||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
cortex-m = "0.2.7"
|
cortex-m = "0.2.7"
|
||||||
cortex-m-rt = "0.2.2"
|
cortex-m-rt = "0.2.3"
|
||||||
|
|
||||||
[profile.release]
|
[profile.release]
|
||||||
lto = true
|
lto = true
|
||||||
|
|||||||
7
memory.x
7
memory.x
@@ -10,3 +10,10 @@ MEMORY
|
|||||||
/* The stack is of the full descending type. */
|
/* The stack is of the full descending type. */
|
||||||
/* NOTE Do NOT modify `_stack_start` unless you know what you are doing */
|
/* NOTE Do NOT modify `_stack_start` unless you know what you are doing */
|
||||||
_stack_start = ORIGIN(RAM) + LENGTH(RAM);
|
_stack_start = ORIGIN(RAM) + LENGTH(RAM);
|
||||||
|
|
||||||
|
/* You can use this symbol to customize the location of the .text section */
|
||||||
|
/* If omitted the .text section will be placed right after the .vector_table
|
||||||
|
section */
|
||||||
|
/* This is required only on some microcontrollers that store some configuration
|
||||||
|
right after the vector table */
|
||||||
|
/* _stext = ORIGIN(FLASH) + 0x400; */
|
||||||
|
|||||||
Reference in New Issue
Block a user