mirror of
https://github.com/raspberrypi/pico-sdk.git
synced 2025-12-10 07:14:36 +01:00
flash_cs_force was ending up in flash on debug builds which is very bad!
This commit is contained in:
parent
a2bcca264f
commit
da63ddd6ef
1 changed files with 1 additions and 1 deletions
|
|
@ -115,7 +115,7 @@ void __no_inline_not_in_flash_func(flash_range_program)(uint32_t flash_offs, con
|
||||||
#if !PICO_NO_FLASH
|
#if !PICO_NO_FLASH
|
||||||
// Bitbanging the chip select using IO overrides, in case RAM-resident IRQs
|
// Bitbanging the chip select using IO overrides, in case RAM-resident IRQs
|
||||||
// are still running, and the FIFO bottoms out. (the bootrom does the same)
|
// are still running, and the FIFO bottoms out. (the bootrom does the same)
|
||||||
static void flash_cs_force(bool high) {
|
static void __no_inline_not_in_flash_func(flash_cs_force)(bool high) {
|
||||||
uint32_t field_val = high ?
|
uint32_t field_val = high ?
|
||||||
IO_QSPI_GPIO_QSPI_SS_CTRL_OUTOVER_VALUE_HIGH :
|
IO_QSPI_GPIO_QSPI_SS_CTRL_OUTOVER_VALUE_HIGH :
|
||||||
IO_QSPI_GPIO_QSPI_SS_CTRL_OUTOVER_VALUE_LOW;
|
IO_QSPI_GPIO_QSPI_SS_CTRL_OUTOVER_VALUE_LOW;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue