mirror of
https://github.com/JasonYANG170/logicanalyzer.git
synced 2024-11-23 12:06:27 +00:00
New capture tail detection method
This commit is contained in:
parent
47130891ec
commit
5644715a59
Binary file not shown.
Binary file not shown.
|
@ -3,8 +3,6 @@
|
|||
|
||||
pull
|
||||
out x 32 ;read capture length
|
||||
pull
|
||||
out y 32 ;read end mark
|
||||
|
||||
.wrap_target
|
||||
|
||||
|
@ -18,8 +16,6 @@ POST_CAPTURE:
|
|||
in pins 32 ;read sample
|
||||
jmp x-- POST_CAPTURE ;loop if more samples needed
|
||||
|
||||
in Y 32 ;write end mark
|
||||
|
||||
irq 0 ;notify to the main program that we have finished capturing
|
||||
|
||||
LOCK:
|
||||
|
@ -33,8 +29,6 @@ LOCK:
|
|||
|
||||
pull
|
||||
out x 32 ;read capture length
|
||||
pull
|
||||
out y 32 ;read end mark
|
||||
|
||||
PRE_CAPTURE:
|
||||
|
||||
|
@ -46,8 +40,6 @@ POST_CAPTURE:
|
|||
in pins 32 ;read sample
|
||||
jmp x-- POST_CAPTURE ;loop if more samples needed
|
||||
|
||||
in Y 32 ;write end mark
|
||||
|
||||
irq 0 ;notify to the main program that we have finished capturing
|
||||
|
||||
LOCK:
|
||||
|
@ -61,8 +53,6 @@ LOCK:
|
|||
|
||||
pull
|
||||
out x 32 ;read capture length
|
||||
pull
|
||||
out y 32 ;read end mark
|
||||
|
||||
wait irq 7 ;wait for trigger program to be ready
|
||||
|
||||
|
@ -78,8 +68,6 @@ POST_CAPTURE:
|
|||
in pins 29 ;read sample
|
||||
jmp x-- POST_CAPTURE ;loop if more samples needed
|
||||
|
||||
in Y 32 ;write end mark
|
||||
|
||||
irq 0 ;notify to the main program that we have finished capturing
|
||||
|
||||
LOCK:
|
||||
|
@ -91,8 +79,6 @@ LOCK:
|
|||
|
||||
pull
|
||||
out x 32 ;read capture length
|
||||
pull
|
||||
out y 32 ;read end mark
|
||||
|
||||
.wrap_target
|
||||
|
||||
|
@ -106,8 +92,6 @@ POST_CAPTURE:
|
|||
in pins 29 ;read sample
|
||||
jmp x-- POST_CAPTURE ;loop if more samples needed
|
||||
|
||||
in Y 32 ;write end mark
|
||||
|
||||
irq 0 ;notify to the main program that we have finished capturing
|
||||
|
||||
LOCK:
|
||||
|
@ -176,6 +160,7 @@ static bool lastCaptureComplexFast;
|
|||
static uint8_t lastCaptureType;
|
||||
static uint8_t lastTriggerPinBase;
|
||||
static uint32_t lastTriggerPinCount;
|
||||
static uint32_t lastTail;
|
||||
|
||||
//Static information of the current capture
|
||||
static bool captureFinished;
|
||||
|
@ -249,6 +234,7 @@ static inline pio_sm_config FAST_TRIGGER_program_get_default_config(uint offset)
|
|||
return c;
|
||||
}
|
||||
|
||||
//Creates the fast trigger PIO program
|
||||
uint8_t create_fast_trigger_program(uint8_t pattern, uint8_t length)
|
||||
{
|
||||
//This creates a 32 instruction jump table. Each instruction is a MOV PC, PINS except for the addresses that
|
||||
|
@ -275,12 +261,67 @@ uint8_t create_fast_trigger_program(uint8_t pattern, uint8_t length)
|
|||
//--------------Fast trigger PIO program END-----------------------------------
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
//Find the last captured sample index
|
||||
uint32_t find_capture_tail()
|
||||
{
|
||||
//Add a delay in case the transfer is still in progress (just a safety measure, should not happen)
|
||||
//This is a massive delay in comparison to the needs of the DMA channel, but hey, 5ms is not going to be noticed anywhere :D
|
||||
busy_wait_ms(5);
|
||||
|
||||
uint32_t busy_channel = 0xFFFFFFFF;
|
||||
uint32_t busy_offset = 0xFFFFFFFF;
|
||||
|
||||
//First we need to determine which DMA channel is busy (in the middle of a transfer)
|
||||
if(dma_channel_is_busy(dmaPingPong0))
|
||||
{
|
||||
busy_channel = dmaPingPong0;
|
||||
busy_offset = 0;
|
||||
}
|
||||
|
||||
if(dma_channel_is_busy(dmaPingPong1))
|
||||
{
|
||||
busy_channel = dmaPingPong1;
|
||||
busy_offset = 8192;
|
||||
}
|
||||
|
||||
if(dma_channel_is_busy(dmaPingPong2))
|
||||
{
|
||||
busy_channel = dmaPingPong2;
|
||||
busy_offset = 16384;
|
||||
}
|
||||
|
||||
if(dma_channel_is_busy(dmaPingPong3))
|
||||
{
|
||||
busy_channel = dmaPingPong3;
|
||||
busy_offset = 24576;
|
||||
}
|
||||
|
||||
//No channel busy?? WTF???
|
||||
if(busy_channel == 0xFFFFFFFF)
|
||||
return 0xFFFFFFFF;
|
||||
|
||||
//Ok, now we need to know at which transfer the DMA is. The value equals to MAX_TRANSFERS - TRANSFERS_LEFT.
|
||||
int32_t transfer = 8192 - dma_channel_hw_addr(busy_channel)->transfer_count;
|
||||
|
||||
//Now compute the last capture position
|
||||
transfer = (transfer + busy_offset) - 1;
|
||||
|
||||
//Wrap around?
|
||||
if(transfer < 0)
|
||||
transfer = 32767;
|
||||
|
||||
//Our capture absolute last position
|
||||
return (uint32_t)transfer;
|
||||
}
|
||||
|
||||
//Triggered when a fast capture ends
|
||||
void fast_capture_completed()
|
||||
{
|
||||
//Mark the capture as finished
|
||||
captureFinished = true;
|
||||
|
||||
lastTail = find_capture_tail();
|
||||
|
||||
//Abort DMA channels
|
||||
dma_channel_abort(dmaPingPong0);
|
||||
dma_channel_abort(dmaPingPong1);
|
||||
|
@ -328,11 +369,14 @@ void fast_capture_completed()
|
|||
pio_remove_program(triggerPIO, &FAST_TRIGGER_program, triggerOffset);
|
||||
}
|
||||
|
||||
//Triggered when a complex capture ends
|
||||
void complex_capture_completed()
|
||||
{
|
||||
//Mark the capture as finished
|
||||
captureFinished = true;
|
||||
|
||||
lastTail = find_capture_tail();
|
||||
|
||||
//Abort DMA channels
|
||||
dma_channel_abort(dmaPingPong0);
|
||||
dma_channel_abort(dmaPingPong1);
|
||||
|
@ -381,11 +425,14 @@ void complex_capture_completed()
|
|||
|
||||
}
|
||||
|
||||
//Triggered when a simple capture ends
|
||||
void simple_capture_completed()
|
||||
{
|
||||
//Mark the capture as finished
|
||||
captureFinished = true;
|
||||
|
||||
lastTail = find_capture_tail();
|
||||
|
||||
//Abort DMA channels
|
||||
dma_channel_abort(dmaPingPong0);
|
||||
dma_channel_abort(dmaPingPong1);
|
||||
|
@ -430,6 +477,7 @@ void simple_capture_completed()
|
|||
|
||||
}
|
||||
|
||||
//Configure the four DMA channels
|
||||
void configureCaptureDMAs()
|
||||
{
|
||||
//Claim four DMA channels, each channel writes to 32Kb of the buffer (8192 samples) as that's the maximum ring size supported
|
||||
|
@ -443,7 +491,7 @@ void configureCaptureDMAs()
|
|||
channel_config_set_read_increment(&dmaPingPong0Config, false); //Do not increment read address
|
||||
channel_config_set_write_increment(&dmaPingPong0Config, true); //Increment write address
|
||||
channel_config_set_transfer_data_size(&dmaPingPong0Config, DMA_SIZE_32); //Transfer 32 bits each time
|
||||
channel_config_set_chain_to(&dmaPingPong0Config, dmaPingPong1); //Chain to the second pre-trigger dma channel
|
||||
channel_config_set_chain_to(&dmaPingPong0Config, dmaPingPong1); //Chain to the second dma channel
|
||||
channel_config_set_dreq(&dmaPingPong0Config, pio_get_dreq(capturePIO, sm_Capture, false)); //Set DREQ as RX FIFO
|
||||
channel_config_set_ring(&dmaPingPong0Config, true, 15); //Ring at 32768 bytes
|
||||
|
||||
|
@ -452,7 +500,7 @@ void configureCaptureDMAs()
|
|||
channel_config_set_read_increment(&dmaPingPong1Config, false); //Do not increment read address
|
||||
channel_config_set_write_increment(&dmaPingPong1Config, true); //Increment write address
|
||||
channel_config_set_transfer_data_size(&dmaPingPong1Config, DMA_SIZE_32); //Transfer 32 bits each time
|
||||
channel_config_set_chain_to(&dmaPingPong1Config, dmaPingPong2); //Chain to the third pre-trigger dma channel
|
||||
channel_config_set_chain_to(&dmaPingPong1Config, dmaPingPong2); //Chain to the third dma channel
|
||||
channel_config_set_dreq(&dmaPingPong1Config, pio_get_dreq(capturePIO, sm_Capture, false)); //Set DREQ as RX FIFO
|
||||
channel_config_set_ring(&dmaPingPong1Config, true, 15); //Ring at 32768 bytes
|
||||
|
||||
|
@ -461,7 +509,7 @@ void configureCaptureDMAs()
|
|||
channel_config_set_read_increment(&dmaPingPong2Config, false); //Do not increment read address
|
||||
channel_config_set_write_increment(&dmaPingPong2Config, true); //Increment write address
|
||||
channel_config_set_transfer_data_size(&dmaPingPong2Config, DMA_SIZE_32); //Transfer 32 bits each time
|
||||
channel_config_set_chain_to(&dmaPingPong2Config, dmaPingPong3); //Chain to the fourth pre-trigger dma channel
|
||||
channel_config_set_chain_to(&dmaPingPong2Config, dmaPingPong3); //Chain to the fourth dma channel
|
||||
channel_config_set_dreq(&dmaPingPong2Config, pio_get_dreq(capturePIO, sm_Capture, false)); //Set DREQ as RX FIFO
|
||||
channel_config_set_ring(&dmaPingPong2Config, true, 15); //Ring at 32768 bytes
|
||||
|
||||
|
@ -470,7 +518,7 @@ void configureCaptureDMAs()
|
|||
channel_config_set_read_increment(&dmaPingPong3Config, false); //Do not increment read address
|
||||
channel_config_set_write_increment(&dmaPingPong3Config, true); //Increment write address
|
||||
channel_config_set_transfer_data_size(&dmaPingPong3Config, DMA_SIZE_32); //Transfer 32 bits each time
|
||||
channel_config_set_chain_to(&dmaPingPong3Config, dmaPingPong0); //Chain to the first pre-trigger dma channel
|
||||
channel_config_set_chain_to(&dmaPingPong3Config, dmaPingPong0); //Chain to the first dma channel
|
||||
channel_config_set_dreq(&dmaPingPong3Config, pio_get_dreq(capturePIO, sm_Capture, false)); //Set DREQ as RX FIFO
|
||||
channel_config_set_ring(&dmaPingPong3Config, true, 15); //Ring at 32768 bytes
|
||||
|
||||
|
@ -634,7 +682,7 @@ bool startCaptureFast(uint32_t freq, uint32_t preLength, uint32_t postLength, co
|
|||
pio_sm_put_blocking(capturePIO, sm_Capture, postLength - 1);
|
||||
|
||||
//Write capture end mark to post program
|
||||
pio_sm_put_blocking(capturePIO, sm_Capture, 0xFFFFFFFF);
|
||||
//pio_sm_put_blocking(capturePIO, sm_Capture, 0xFFFFFFFF);
|
||||
|
||||
//Initialize trigger state machine
|
||||
pio_sm_init(triggerPIO, sm_Trigger, triggerOffset, &smConfig);
|
||||
|
@ -733,7 +781,6 @@ bool startCaptureComplex(uint32_t freq, uint32_t preLength, uint32_t postLength,
|
|||
//Input pins start at pin 2, 29 pins are captured
|
||||
pio_sm_set_consecutive_pindirs(capturePIO, sm_Capture, 2, 29, false);
|
||||
|
||||
|
||||
//Configure state machines
|
||||
pio_sm_config smConfig = COMPLEX_CAPTURE_program_get_default_config(captureOffset);
|
||||
|
||||
|
@ -794,7 +841,7 @@ bool startCaptureComplex(uint32_t freq, uint32_t preLength, uint32_t postLength,
|
|||
pio_sm_put_blocking(capturePIO, sm_Capture, postLength - 1);
|
||||
|
||||
//Write capture end mark to post program
|
||||
pio_sm_put_blocking(capturePIO, sm_Capture, 0xFFFFFFFF);
|
||||
//pio_sm_put_blocking(capturePIO, sm_Capture, 0xFFFFFFFF);
|
||||
|
||||
//Enable trigger state machine
|
||||
pio_sm_set_enabled(capturePIO, sm_Trigger, true);
|
||||
|
@ -910,7 +957,7 @@ bool startCaptureSimple(uint32_t freq, uint32_t preLength, uint32_t postLength,
|
|||
pio_sm_put_blocking(capturePIO, sm_Capture, postLength - 1);
|
||||
|
||||
//Write capture end mark to start capture
|
||||
pio_sm_put_blocking(capturePIO, sm_Capture, 0xFFFFFFFF);
|
||||
//pio_sm_put_blocking(capturePIO, sm_Capture, 0xFFFFFFFF);
|
||||
|
||||
//Finally clear capture status, process flags and capture type
|
||||
captureFinished = false;
|
||||
|
@ -932,34 +979,17 @@ uint32_t* GetBuffer(uint32_t* bufferSize, uint32_t* firstSample)
|
|||
//If we don't have processed the buffer...
|
||||
if(!captureProcessed)
|
||||
{
|
||||
|
||||
//Find capture end mark
|
||||
int32_t lastCapture = 0;
|
||||
|
||||
for(int buc = 0; buc < 32768; buc++)
|
||||
{
|
||||
if(captureBuffer[buc] == 0xFFFFFFFF)
|
||||
{
|
||||
lastCapture = buc - 1;
|
||||
|
||||
if(lastCapture < 0)
|
||||
lastCapture = 32767;
|
||||
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
//Calculate the first sample index
|
||||
if(lastCapture < lastPreSize + lastPostSize - 1)
|
||||
lastStartPosition = 32768 - ((lastPreSize + lastPostSize) - (lastCapture - 1));
|
||||
|
||||
//Calculate start position
|
||||
if(lastTail < lastPreSize + lastPostSize - 1)
|
||||
lastStartPosition = 32768 - ((lastPreSize + lastPostSize) - (lastTail - 1));
|
||||
else
|
||||
lastStartPosition = lastCapture - (lastPreSize + lastPostSize) + 1;
|
||||
lastStartPosition = lastTail - (lastPreSize + lastPostSize) + 1;
|
||||
|
||||
uint32_t oldValue;
|
||||
uint32_t newValue;
|
||||
uint32_t currentPos = lastStartPosition;
|
||||
|
||||
|
||||
//Sort channels
|
||||
//(reorder captured bits based on the channels requested)
|
||||
if(lastCaptureComplexFast) //Was this a fast/complex capture?
|
||||
|
|
|
@ -295,10 +295,10 @@
|
|||
},
|
||||
{
|
||||
"name" : "HELPSTRING",
|
||||
"value" : "CXX compiler"
|
||||
"value" : "No help, variable specified on the command line."
|
||||
}
|
||||
],
|
||||
"type" : "STRING",
|
||||
"type" : "FILEPATH",
|
||||
"value" : "C:/Program Files (x86)/GNU Arm Embedded Toolchain/10 2021.10/bin/arm-none-eabi-g++.exe"
|
||||
},
|
||||
{
|
||||
|
@ -423,10 +423,10 @@
|
|||
},
|
||||
{
|
||||
"name" : "HELPSTRING",
|
||||
"value" : "C compiler"
|
||||
"value" : "No help, variable specified on the command line."
|
||||
}
|
||||
],
|
||||
"type" : "STRING",
|
||||
"type" : "FILEPATH",
|
||||
"value" : "C:/Program Files (x86)/GNU Arm Embedded Toolchain/10 2021.10/bin/arm-none-eabi-gcc.exe"
|
||||
},
|
||||
{
|
||||
|
@ -1515,7 +1515,7 @@
|
|||
}
|
||||
],
|
||||
"type" : "INTERNAL",
|
||||
"value" : " F:/PicoSDK/Pico/pico-sdk/src/rp2_common/cmsis F:/PicoSDK/Pico/pico-sdk/src/rp2040/hardware_regs"
|
||||
"value" : " F:/PicoSDK/Pico/pico-sdk/src/rp2_common/cmsis F:/PicoSDK/Pico/pico-sdk/src/rp2040/hardware_regs F:/PicoSDK/Pico/pico-sdk/src/rp2_common/cmsis F:/PicoSDK/Pico/pico-sdk/src/rp2040/hardware_regs F:/PicoSDK/Pico/pico-sdk/src/rp2_common/cmsis F:/PicoSDK/Pico/pico-sdk/src/rp2040/hardware_regs F:/PicoSDK/Pico/pico-sdk/src/rp2_common/cmsis F:/PicoSDK/Pico/pico-sdk/src/rp2040/hardware_regs F:/PicoSDK/Pico/pico-sdk/src/rp2_common/cmsis F:/PicoSDK/Pico/pico-sdk/src/rp2040/hardware_regs"
|
||||
},
|
||||
{
|
||||
"name" : "PICO_DOXYGEN_PATHS",
|
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1,625 @@
|
|||
{
|
||||
"inputs" :
|
||||
[
|
||||
{
|
||||
"path" : "CMakeLists.txt"
|
||||
},
|
||||
{
|
||||
"path" : "pico_sdk_import.cmake"
|
||||
},
|
||||
{
|
||||
"isExternal" : true,
|
||||
"path" : "F:/PicoSDK/Pico/pico-sdk/pico_sdk_init.cmake"
|
||||
},
|
||||
{
|
||||
"isExternal" : true,
|
||||
"path" : "F:/PicoSDK/Pico/pico-sdk/pico_sdk_version.cmake"
|
||||
},
|
||||
{
|
||||
"isExternal" : true,
|
||||
"path" : "F:/PicoSDK/Pico/pico-sdk/cmake/pico_utils.cmake"
|
||||
},
|
||||
{
|
||||
"isExternal" : true,
|
||||
"path" : "F:/PicoSDK/Pico/pico-sdk/cmake/pico_pre_load_platform.cmake"
|
||||
},
|
||||
{
|
||||
"isExternal" : true,
|
||||
"path" : "F:/PicoSDK/Pico/pico-sdk/cmake/preload/platforms/rp2040.cmake"
|
||||
},
|
||||
{
|
||||
"isExternal" : true,
|
||||
"path" : "F:/PicoSDK/Pico/pico-sdk/cmake/preload/platforms/pico/pico.cmake"
|
||||
},
|
||||
{
|
||||
"isExternal" : true,
|
||||
"path" : "F:/PicoSDK/Pico/pico-sdk/cmake/pico_pre_load_toolchain.cmake"
|
||||
},
|
||||
{
|
||||
"isGenerated" : true,
|
||||
"path" : "build/CMakeFiles/3.24.2/CMakeSystem.cmake"
|
||||
},
|
||||
{
|
||||
"isExternal" : true,
|
||||
"path" : "F:/PicoSDK/Pico/pico-sdk/cmake/preload/toolchains/pico_arm_gcc.cmake"
|
||||
},
|
||||
{
|
||||
"isExternal" : true,
|
||||
"path" : "F:/PicoSDK/Pico/pico-sdk/cmake/preload/toolchains/find_compiler.cmake"
|
||||
},
|
||||
{
|
||||
"isCMake" : true,
|
||||
"isExternal" : true,
|
||||
"path" : "F:/RPico/CMake/share/cmake-3.24/Modules/CMakeSystemSpecificInitialize.cmake"
|
||||
},
|
||||
{
|
||||
"isGenerated" : true,
|
||||
"path" : "build/CMakeFiles/3.24.2/CMakeCCompiler.cmake"
|
||||
},
|
||||
{
|
||||
"isGenerated" : true,
|
||||
"path" : "build/CMakeFiles/3.24.2/CMakeCXXCompiler.cmake"
|
||||
},
|
||||
{
|
||||
"isGenerated" : true,
|
||||
"path" : "build/CMakeFiles/3.24.2/CMakeASMCompiler.cmake"
|
||||
},
|
||||
{
|
||||
"isCMake" : true,
|
||||
"isExternal" : true,
|
||||
"path" : "F:/RPico/CMake/share/cmake-3.24/Modules/CMakeSystemSpecificInformation.cmake"
|
||||
},
|
||||
{
|
||||
"isCMake" : true,
|
||||
"isExternal" : true,
|
||||
"path" : "F:/RPico/CMake/share/cmake-3.24/Modules/CMakeGenericSystem.cmake"
|
||||
},
|
||||
{
|
||||
"isCMake" : true,
|
||||
"isExternal" : true,
|
||||
"path" : "F:/RPico/CMake/share/cmake-3.24/Modules/CMakeInitializeConfigs.cmake"
|
||||
},
|
||||
{
|
||||
"isExternal" : true,
|
||||
"path" : "F:/PicoSDK/Pico/pico-sdk/cmake/Platform/PICO.cmake"
|
||||
},
|
||||
{
|
||||
"isCMake" : true,
|
||||
"isExternal" : true,
|
||||
"path" : "F:/RPico/CMake/share/cmake-3.24/Modules/CMakeCInformation.cmake"
|
||||
},
|
||||
{
|
||||
"isCMake" : true,
|
||||
"isExternal" : true,
|
||||
"path" : "F:/RPico/CMake/share/cmake-3.24/Modules/CMakeLanguageInformation.cmake"
|
||||
},
|
||||
{
|
||||
"isCMake" : true,
|
||||
"isExternal" : true,
|
||||
"path" : "F:/RPico/CMake/share/cmake-3.24/Modules/Compiler/GNU-C.cmake"
|
||||
},
|
||||
{
|
||||
"isCMake" : true,
|
||||
"isExternal" : true,
|
||||
"path" : "F:/RPico/CMake/share/cmake-3.24/Modules/Compiler/GNU.cmake"
|
||||
},
|
||||
{
|
||||
"isCMake" : true,
|
||||
"isExternal" : true,
|
||||
"path" : "F:/RPico/CMake/share/cmake-3.24/Modules/Compiler/CMakeCommonCompilerMacros.cmake"
|
||||
},
|
||||
{
|
||||
"isExternal" : true,
|
||||
"path" : "F:/PicoSDK/Pico/pico-sdk/cmake/Platform/PICO.cmake"
|
||||
},
|
||||
{
|
||||
"isCMake" : true,
|
||||
"isExternal" : true,
|
||||
"path" : "F:/RPico/CMake/share/cmake-3.24/Modules/CMakeCommonLanguageInclude.cmake"
|
||||
},
|
||||
{
|
||||
"isCMake" : true,
|
||||
"isExternal" : true,
|
||||
"path" : "F:/RPico/CMake/share/cmake-3.24/Modules/CMakeCXXInformation.cmake"
|
||||
},
|
||||
{
|
||||
"isCMake" : true,
|
||||
"isExternal" : true,
|
||||
"path" : "F:/RPico/CMake/share/cmake-3.24/Modules/CMakeLanguageInformation.cmake"
|
||||
},
|
||||
{
|
||||
"isCMake" : true,
|
||||
"isExternal" : true,
|
||||
"path" : "F:/RPico/CMake/share/cmake-3.24/Modules/Compiler/GNU-CXX.cmake"
|
||||
},
|
||||
{
|
||||
"isCMake" : true,
|
||||
"isExternal" : true,
|
||||
"path" : "F:/RPico/CMake/share/cmake-3.24/Modules/Compiler/GNU.cmake"
|
||||
},
|
||||
{
|
||||
"isExternal" : true,
|
||||
"path" : "F:/PicoSDK/Pico/pico-sdk/cmake/Platform/PICO.cmake"
|
||||
},
|
||||
{
|
||||
"isCMake" : true,
|
||||
"isExternal" : true,
|
||||
"path" : "F:/RPico/CMake/share/cmake-3.24/Modules/CMakeCommonLanguageInclude.cmake"
|
||||
},
|
||||
{
|
||||
"isCMake" : true,
|
||||
"isExternal" : true,
|
||||
"path" : "F:/RPico/CMake/share/cmake-3.24/Modules/CMakeASMInformation.cmake"
|
||||
},
|
||||
{
|
||||
"isCMake" : true,
|
||||
"isExternal" : true,
|
||||
"path" : "F:/RPico/CMake/share/cmake-3.24/Modules/Compiler/GNU-ASM.cmake"
|
||||
},
|
||||
{
|
||||
"isCMake" : true,
|
||||
"isExternal" : true,
|
||||
"path" : "F:/RPico/CMake/share/cmake-3.24/Modules/Compiler/GNU.cmake"
|
||||
},
|
||||
{
|
||||
"isExternal" : true,
|
||||
"path" : "F:/PicoSDK/Pico/pico-sdk/tools/FindPioasm.cmake"
|
||||
},
|
||||
{
|
||||
"isCMake" : true,
|
||||
"isExternal" : true,
|
||||
"path" : "F:/RPico/CMake/share/cmake-3.24/Modules/ExternalProject.cmake"
|
||||
},
|
||||
{
|
||||
"isCMake" : true,
|
||||
"isExternal" : true,
|
||||
"path" : "F:/RPico/CMake/share/cmake-3.24/Modules/ExternalProject/mkdirs.cmake.in"
|
||||
},
|
||||
{
|
||||
"isGenerated" : true,
|
||||
"path" : "build/pioasm/tmp/PioasmBuild-mkdirs.cmake"
|
||||
},
|
||||
{
|
||||
"isCMake" : true,
|
||||
"isExternal" : true,
|
||||
"path" : "F:/RPico/CMake/share/cmake-3.24/Modules/ExternalProject/RepositoryInfo.txt.in"
|
||||
},
|
||||
{
|
||||
"isCMake" : true,
|
||||
"isExternal" : true,
|
||||
"path" : "F:/RPico/CMake/share/cmake-3.24/Modules/ExternalProject/cfgcmd.txt.in"
|
||||
},
|
||||
{
|
||||
"isExternal" : true,
|
||||
"path" : "F:/PicoSDK/Pico/pico-sdk/tools/FindELF2UF2.cmake"
|
||||
},
|
||||
{
|
||||
"isCMake" : true,
|
||||
"isExternal" : true,
|
||||
"path" : "F:/RPico/CMake/share/cmake-3.24/Modules/ExternalProject.cmake"
|
||||
},
|
||||
{
|
||||
"isCMake" : true,
|
||||
"isExternal" : true,
|
||||
"path" : "F:/RPico/CMake/share/cmake-3.24/Modules/ExternalProject/mkdirs.cmake.in"
|
||||
},
|
||||
{
|
||||
"isGenerated" : true,
|
||||
"path" : "build/elf2uf2/tmp/ELF2UF2Build-mkdirs.cmake"
|
||||
},
|
||||
{
|
||||
"isCMake" : true,
|
||||
"isExternal" : true,
|
||||
"path" : "F:/RPico/CMake/share/cmake-3.24/Modules/ExternalProject/RepositoryInfo.txt.in"
|
||||
},
|
||||
{
|
||||
"isCMake" : true,
|
||||
"isExternal" : true,
|
||||
"path" : "F:/RPico/CMake/share/cmake-3.24/Modules/ExternalProject/cfgcmd.txt.in"
|
||||
},
|
||||
{
|
||||
"isExternal" : true,
|
||||
"path" : "F:/PicoSDK/Pico/pico-sdk/CMakeLists.txt"
|
||||
},
|
||||
{
|
||||
"isExternal" : true,
|
||||
"path" : "F:/PicoSDK/Pico/pico-sdk/pico_sdk_init.cmake"
|
||||
},
|
||||
{
|
||||
"isCMake" : true,
|
||||
"isExternal" : true,
|
||||
"path" : "F:/RPico/CMake/share/cmake-3.24/Modules/CMakeASMInformation.cmake"
|
||||
},
|
||||
{
|
||||
"isCMake" : true,
|
||||
"isExternal" : true,
|
||||
"path" : "F:/RPico/CMake/share/cmake-3.24/Modules/Compiler/GNU-ASM.cmake"
|
||||
},
|
||||
{
|
||||
"isCMake" : true,
|
||||
"isExternal" : true,
|
||||
"path" : "F:/RPico/CMake/share/cmake-3.24/Modules/Compiler/GNU.cmake"
|
||||
},
|
||||
{
|
||||
"isExternal" : true,
|
||||
"path" : "F:/PicoSDK/Pico/pico-sdk/src/common/pico_base/generate_config_header.cmake"
|
||||
},
|
||||
{
|
||||
"isExternal" : true,
|
||||
"path" : "F:/PicoSDK/Pico/pico-sdk/src/common/pico_base/include/pico/version.h.in"
|
||||
},
|
||||
{
|
||||
"isExternal" : true,
|
||||
"path" : "F:/PicoSDK/Pico/pico-sdk/tools/CMakeLists.txt"
|
||||
},
|
||||
{
|
||||
"isExternal" : true,
|
||||
"path" : "F:/PicoSDK/Pico/pico-sdk/src/CMakeLists.txt"
|
||||
},
|
||||
{
|
||||
"isExternal" : true,
|
||||
"path" : "F:/PicoSDK/Pico/pico-sdk/src/board_setup.cmake"
|
||||
},
|
||||
{
|
||||
"isExternal" : true,
|
||||
"path" : "F:/PicoSDK/Pico/pico-sdk/src/boards/generic_board.cmake"
|
||||
},
|
||||
{
|
||||
"isExternal" : true,
|
||||
"path" : "F:/PicoSDK/Pico/pico-sdk/src/rp2040.cmake"
|
||||
},
|
||||
{
|
||||
"isExternal" : true,
|
||||
"path" : "F:/PicoSDK/Pico/pico-sdk/src/rp2_common.cmake"
|
||||
},
|
||||
{
|
||||
"isCMake" : true,
|
||||
"isExternal" : true,
|
||||
"path" : "F:/RPico/CMake/share/cmake-3.24/Modules/CMakeASMInformation.cmake"
|
||||
},
|
||||
{
|
||||
"isCMake" : true,
|
||||
"isExternal" : true,
|
||||
"path" : "F:/RPico/CMake/share/cmake-3.24/Modules/Compiler/GNU-ASM.cmake"
|
||||
},
|
||||
{
|
||||
"isCMake" : true,
|
||||
"isExternal" : true,
|
||||
"path" : "F:/RPico/CMake/share/cmake-3.24/Modules/Compiler/GNU.cmake"
|
||||
},
|
||||
{
|
||||
"isExternal" : true,
|
||||
"path" : "F:/PicoSDK/Pico/pico-sdk/src/common/CMakeLists.txt"
|
||||
},
|
||||
{
|
||||
"isExternal" : true,
|
||||
"path" : "F:/PicoSDK/Pico/pico-sdk/src/common/boot_picoboot/CMakeLists.txt"
|
||||
},
|
||||
{
|
||||
"isExternal" : true,
|
||||
"path" : "F:/PicoSDK/Pico/pico-sdk/src/common/boot_uf2/CMakeLists.txt"
|
||||
},
|
||||
{
|
||||
"isExternal" : true,
|
||||
"path" : "F:/PicoSDK/Pico/pico-sdk/src/common/pico_base/CMakeLists.txt"
|
||||
},
|
||||
{
|
||||
"isExternal" : true,
|
||||
"path" : "F:/PicoSDK/Pico/pico-sdk/src/common/pico_usb_reset_interface/CMakeLists.txt"
|
||||
},
|
||||
{
|
||||
"isExternal" : true,
|
||||
"path" : "F:/PicoSDK/Pico/pico-sdk/src/common/pico_bit_ops/CMakeLists.txt"
|
||||
},
|
||||
{
|
||||
"isExternal" : true,
|
||||
"path" : "F:/PicoSDK/Pico/pico-sdk/src/common/pico_binary_info/CMakeLists.txt"
|
||||
},
|
||||
{
|
||||
"isExternal" : true,
|
||||
"path" : "F:/PicoSDK/Pico/pico-sdk/src/common/pico_divider/CMakeLists.txt"
|
||||
},
|
||||
{
|
||||
"isExternal" : true,
|
||||
"path" : "F:/PicoSDK/Pico/pico-sdk/src/common/pico_sync/CMakeLists.txt"
|
||||
},
|
||||
{
|
||||
"isExternal" : true,
|
||||
"path" : "F:/PicoSDK/Pico/pico-sdk/src/common/pico_time/CMakeLists.txt"
|
||||
},
|
||||
{
|
||||
"isExternal" : true,
|
||||
"path" : "F:/PicoSDK/Pico/pico-sdk/src/common/pico_util/CMakeLists.txt"
|
||||
},
|
||||
{
|
||||
"isExternal" : true,
|
||||
"path" : "F:/PicoSDK/Pico/pico-sdk/src/common/pico_stdlib/CMakeLists.txt"
|
||||
},
|
||||
{
|
||||
"isExternal" : true,
|
||||
"path" : "F:/PicoSDK/Pico/pico-sdk/src/rp2_common/CMakeLists.txt"
|
||||
},
|
||||
{
|
||||
"isExternal" : true,
|
||||
"path" : "F:/PicoSDK/Pico/pico-sdk/src/rp2_common/hardware_base/CMakeLists.txt"
|
||||
},
|
||||
{
|
||||
"isExternal" : true,
|
||||
"path" : "F:/PicoSDK/Pico/pico-sdk/src/rp2_common/hardware_claim/CMakeLists.txt"
|
||||
},
|
||||
{
|
||||
"isExternal" : true,
|
||||
"path" : "F:/PicoSDK/Pico/pico-sdk/src/rp2_common/hardware_adc/CMakeLists.txt"
|
||||
},
|
||||
{
|
||||
"isExternal" : true,
|
||||
"path" : "F:/PicoSDK/Pico/pico-sdk/src/rp2_common/hardware_clocks/CMakeLists.txt"
|
||||
},
|
||||
{
|
||||
"isExternal" : true,
|
||||
"path" : "F:/PicoSDK/Pico/pico-sdk/src/rp2_common/hardware_dma/CMakeLists.txt"
|
||||
},
|
||||
{
|
||||
"isExternal" : true,
|
||||
"path" : "F:/PicoSDK/Pico/pico-sdk/src/rp2_common/hardware_divider/CMakeLists.txt"
|
||||
},
|
||||
{
|
||||
"isExternal" : true,
|
||||
"path" : "F:/PicoSDK/Pico/pico-sdk/src/rp2_common/hardware_exception/CMakeLists.txt"
|
||||
},
|
||||
{
|
||||
"isExternal" : true,
|
||||
"path" : "F:/PicoSDK/Pico/pico-sdk/src/rp2_common/hardware_flash/CMakeLists.txt"
|
||||
},
|
||||
{
|
||||
"isExternal" : true,
|
||||
"path" : "F:/PicoSDK/Pico/pico-sdk/src/rp2_common/hardware_gpio/CMakeLists.txt"
|
||||
},
|
||||
{
|
||||
"isExternal" : true,
|
||||
"path" : "F:/PicoSDK/Pico/pico-sdk/src/rp2_common/hardware_i2c/CMakeLists.txt"
|
||||
},
|
||||
{
|
||||
"isExternal" : true,
|
||||
"path" : "F:/PicoSDK/Pico/pico-sdk/src/rp2_common/hardware_interp/CMakeLists.txt"
|
||||
},
|
||||
{
|
||||
"isExternal" : true,
|
||||
"path" : "F:/PicoSDK/Pico/pico-sdk/src/rp2_common/hardware_irq/CMakeLists.txt"
|
||||
},
|
||||
{
|
||||
"isExternal" : true,
|
||||
"path" : "F:/PicoSDK/Pico/pico-sdk/src/rp2_common/hardware_pio/CMakeLists.txt"
|
||||
},
|
||||
{
|
||||
"isExternal" : true,
|
||||
"path" : "F:/PicoSDK/Pico/pico-sdk/src/rp2_common/hardware_pll/CMakeLists.txt"
|
||||
},
|
||||
{
|
||||
"isExternal" : true,
|
||||
"path" : "F:/PicoSDK/Pico/pico-sdk/src/rp2_common/hardware_pwm/CMakeLists.txt"
|
||||
},
|
||||
{
|
||||
"isExternal" : true,
|
||||
"path" : "F:/PicoSDK/Pico/pico-sdk/src/rp2_common/hardware_resets/CMakeLists.txt"
|
||||
},
|
||||
{
|
||||
"isExternal" : true,
|
||||
"path" : "F:/PicoSDK/Pico/pico-sdk/src/rp2_common/hardware_rtc/CMakeLists.txt"
|
||||
},
|
||||
{
|
||||
"isExternal" : true,
|
||||
"path" : "F:/PicoSDK/Pico/pico-sdk/src/rp2_common/hardware_spi/CMakeLists.txt"
|
||||
},
|
||||
{
|
||||
"isExternal" : true,
|
||||
"path" : "F:/PicoSDK/Pico/pico-sdk/src/rp2_common/hardware_sync/CMakeLists.txt"
|
||||
},
|
||||
{
|
||||
"isExternal" : true,
|
||||
"path" : "F:/PicoSDK/Pico/pico-sdk/src/rp2_common/hardware_timer/CMakeLists.txt"
|
||||
},
|
||||
{
|
||||
"isExternal" : true,
|
||||
"path" : "F:/PicoSDK/Pico/pico-sdk/src/rp2_common/hardware_uart/CMakeLists.txt"
|
||||
},
|
||||
{
|
||||
"isExternal" : true,
|
||||
"path" : "F:/PicoSDK/Pico/pico-sdk/src/rp2_common/hardware_vreg/CMakeLists.txt"
|
||||
},
|
||||
{
|
||||
"isExternal" : true,
|
||||
"path" : "F:/PicoSDK/Pico/pico-sdk/src/rp2_common/hardware_watchdog/CMakeLists.txt"
|
||||
},
|
||||
{
|
||||
"isExternal" : true,
|
||||
"path" : "F:/PicoSDK/Pico/pico-sdk/src/rp2_common/hardware_xosc/CMakeLists.txt"
|
||||
},
|
||||
{
|
||||
"isExternal" : true,
|
||||
"path" : "F:/PicoSDK/Pico/pico-sdk/src/rp2_common/pico_bootrom/CMakeLists.txt"
|
||||
},
|
||||
{
|
||||
"isExternal" : true,
|
||||
"path" : "F:/PicoSDK/Pico/pico-sdk/src/rp2_common/pico_platform/CMakeLists.txt"
|
||||
},
|
||||
{
|
||||
"isExternal" : true,
|
||||
"path" : "F:/PicoSDK/Pico/pico-sdk/src/rp2_common/boot_stage2/CMakeLists.txt"
|
||||
},
|
||||
{
|
||||
"isCMake" : true,
|
||||
"isExternal" : true,
|
||||
"path" : "F:/RPico/CMake/share/cmake-3.24/Modules/FindPython3.cmake"
|
||||
},
|
||||
{
|
||||
"isCMake" : true,
|
||||
"isExternal" : true,
|
||||
"path" : "F:/RPico/CMake/share/cmake-3.24/Modules/FindPython/Support.cmake"
|
||||
},
|
||||
{
|
||||
"isCMake" : true,
|
||||
"isExternal" : true,
|
||||
"path" : "F:/RPico/CMake/share/cmake-3.24/Modules/FindPackageHandleStandardArgs.cmake"
|
||||
},
|
||||
{
|
||||
"isCMake" : true,
|
||||
"isExternal" : true,
|
||||
"path" : "F:/RPico/CMake/share/cmake-3.24/Modules/FindPackageMessage.cmake"
|
||||
},
|
||||
{
|
||||
"isExternal" : true,
|
||||
"path" : "F:/PicoSDK/Pico/pico-sdk/src/rp2_common/pico_bootsel_via_double_reset/CMakeLists.txt"
|
||||
},
|
||||
{
|
||||
"isExternal" : true,
|
||||
"path" : "F:/PicoSDK/Pico/pico-sdk/src/rp2_common/pico_multicore/CMakeLists.txt"
|
||||
},
|
||||
{
|
||||
"isExternal" : true,
|
||||
"path" : "F:/PicoSDK/Pico/pico-sdk/src/rp2_common/pico_unique_id/CMakeLists.txt"
|
||||
},
|
||||
{
|
||||
"isExternal" : true,
|
||||
"path" : "F:/PicoSDK/Pico/pico-sdk/src/rp2_common/pico_bit_ops/CMakeLists.txt"
|
||||
},
|
||||
{
|
||||
"isExternal" : true,
|
||||
"path" : "F:/PicoSDK/Pico/pico-sdk/src/rp2_common/pico_divider/CMakeLists.txt"
|
||||
},
|
||||
{
|
||||
"isExternal" : true,
|
||||
"path" : "F:/PicoSDK/Pico/pico-sdk/src/rp2_common/pico_double/CMakeLists.txt"
|
||||
},
|
||||
{
|
||||
"isExternal" : true,
|
||||
"path" : "F:/PicoSDK/Pico/pico-sdk/src/rp2_common/pico_int64_ops/CMakeLists.txt"
|
||||
},
|
||||
{
|
||||
"isExternal" : true,
|
||||
"path" : "F:/PicoSDK/Pico/pico-sdk/src/rp2_common/pico_float/CMakeLists.txt"
|
||||
},
|
||||
{
|
||||
"isExternal" : true,
|
||||
"path" : "F:/PicoSDK/Pico/pico-sdk/src/rp2_common/pico_mem_ops/CMakeLists.txt"
|
||||
},
|
||||
{
|
||||
"isExternal" : true,
|
||||
"path" : "F:/PicoSDK/Pico/pico-sdk/src/rp2_common/pico_malloc/CMakeLists.txt"
|
||||
},
|
||||
{
|
||||
"isExternal" : true,
|
||||
"path" : "F:/PicoSDK/Pico/pico-sdk/src/rp2_common/pico_printf/CMakeLists.txt"
|
||||
},
|
||||
{
|
||||
"isExternal" : true,
|
||||
"path" : "F:/PicoSDK/Pico/pico-sdk/src/rp2_common/pico_stdio/CMakeLists.txt"
|
||||
},
|
||||
{
|
||||
"isExternal" : true,
|
||||
"path" : "F:/PicoSDK/Pico/pico-sdk/src/rp2_common/pico_stdio_semihosting/CMakeLists.txt"
|
||||
},
|
||||
{
|
||||
"isExternal" : true,
|
||||
"path" : "F:/PicoSDK/Pico/pico-sdk/src/rp2_common/pico_stdio_uart/CMakeLists.txt"
|
||||
},
|
||||
{
|
||||
"isExternal" : true,
|
||||
"path" : "F:/PicoSDK/Pico/pico-sdk/src/rp2_common/cmsis/CMakeLists.txt"
|
||||
},
|
||||
{
|
||||
"isExternal" : true,
|
||||
"path" : "F:/PicoSDK/Pico/pico-sdk/src/rp2_common/tinyusb/CMakeLists.txt"
|
||||
},
|
||||
{
|
||||
"isExternal" : true,
|
||||
"path" : "F:/PicoSDK/Pico/pico-sdk/lib/tinyusb/hw/bsp/family_support.cmake"
|
||||
},
|
||||
{
|
||||
"isExternal" : true,
|
||||
"path" : "F:/PicoSDK/Pico/pico-sdk/lib/tinyusb/hw/bsp/rp2040/family.cmake"
|
||||
},
|
||||
{
|
||||
"isExternal" : true,
|
||||
"path" : "F:/PicoSDK/Pico/pico-sdk/lib/tinyusb/hw/bsp/rp2040/pico_sdk_import.cmake"
|
||||
},
|
||||
{
|
||||
"isExternal" : true,
|
||||
"path" : "F:/PicoSDK/Pico/pico-sdk/pico_sdk_init.cmake"
|
||||
},
|
||||
{
|
||||
"isExternal" : true,
|
||||
"path" : "F:/PicoSDK/Pico/pico-sdk/lib/tinyusb/hw/bsp/rp2040/boards/pico_sdk/board.cmake"
|
||||
},
|
||||
{
|
||||
"isExternal" : true,
|
||||
"path" : "F:/PicoSDK/Pico/pico-sdk/src/rp2_common/pico_stdio_usb/CMakeLists.txt"
|
||||
},
|
||||
{
|
||||
"isExternal" : true,
|
||||
"path" : "F:/PicoSDK/Pico/pico-sdk/src/rp2_common/pico_stdlib/CMakeLists.txt"
|
||||
},
|
||||
{
|
||||
"isExternal" : true,
|
||||
"path" : "F:/PicoSDK/Pico/pico-sdk/src/rp2_common/pico_cxx_options/CMakeLists.txt"
|
||||
},
|
||||
{
|
||||
"isExternal" : true,
|
||||
"path" : "F:/PicoSDK/Pico/pico-sdk/src/rp2_common/pico_standard_link/CMakeLists.txt"
|
||||
},
|
||||
{
|
||||
"isExternal" : true,
|
||||
"path" : "F:/PicoSDK/Pico/pico-sdk/src/rp2_common/pico_fix/CMakeLists.txt"
|
||||
},
|
||||
{
|
||||
"isExternal" : true,
|
||||
"path" : "F:/PicoSDK/Pico/pico-sdk/src/rp2_common/pico_fix/rp2040_usb_device_enumeration/CMakeLists.txt"
|
||||
},
|
||||
{
|
||||
"isExternal" : true,
|
||||
"path" : "F:/PicoSDK/Pico/pico-sdk/src/rp2_common/pico_runtime/CMakeLists.txt"
|
||||
},
|
||||
{
|
||||
"isExternal" : true,
|
||||
"path" : "F:/PicoSDK/Pico/pico-sdk/src/rp2040/CMakeLists.txt"
|
||||
},
|
||||
{
|
||||
"isExternal" : true,
|
||||
"path" : "F:/PicoSDK/Pico/pico-sdk/src/rp2040/hardware_regs/CMakeLists.txt"
|
||||
},
|
||||
{
|
||||
"isExternal" : true,
|
||||
"path" : "F:/PicoSDK/Pico/pico-sdk/src/rp2040/hardware_structs/CMakeLists.txt"
|
||||
},
|
||||
{
|
||||
"isExternal" : true,
|
||||
"path" : "F:/PicoSDK/Pico/pico-sdk/docs/CMakeLists.txt"
|
||||
},
|
||||
{
|
||||
"isCMake" : true,
|
||||
"isExternal" : true,
|
||||
"path" : "F:/RPico/CMake/share/cmake-3.24/Modules/FindDoxygen.cmake"
|
||||
},
|
||||
{
|
||||
"isCMake" : true,
|
||||
"isExternal" : true,
|
||||
"path" : "F:/RPico/CMake/share/cmake-3.24/Modules/FindPackageHandleStandardArgs.cmake"
|
||||
},
|
||||
{
|
||||
"isCMake" : true,
|
||||
"isExternal" : true,
|
||||
"path" : "F:/RPico/CMake/share/cmake-3.24/Modules/FindPackageMessage.cmake"
|
||||
}
|
||||
],
|
||||
"kind" : "cmakeFiles",
|
||||
"paths" :
|
||||
{
|
||||
"build" : "F:/PicoSDK/Projects/LogicAnalyzer/build",
|
||||
"source" : "F:/PicoSDK/Projects/LogicAnalyzer"
|
||||
},
|
||||
"version" :
|
||||
{
|
||||
"major" : 1,
|
||||
"minor" : 0
|
||||
}
|
||||
}
|
|
@ -35,7 +35,7 @@
|
|||
}
|
||||
},
|
||||
{
|
||||
"jsonFile" : "cache-v2-e4c34b437f8bf935f419.json",
|
||||
"jsonFile" : "cache-v2-4e4246af90c32001645a.json",
|
||||
"kind" : "cache",
|
||||
"version" :
|
||||
{
|
||||
|
@ -44,7 +44,7 @@
|
|||
}
|
||||
},
|
||||
{
|
||||
"jsonFile" : "cmakeFiles-v1-e43068dcd0ee522a4ce0.json",
|
||||
"jsonFile" : "cmakeFiles-v1-fac6cc7a27c17d4661b2.json",
|
||||
"kind" : "cmakeFiles",
|
||||
"version" :
|
||||
{
|
||||
|
@ -90,7 +90,7 @@
|
|||
"responses" :
|
||||
[
|
||||
{
|
||||
"jsonFile" : "cache-v2-e4c34b437f8bf935f419.json",
|
||||
"jsonFile" : "cache-v2-4e4246af90c32001645a.json",
|
||||
"kind" : "cache",
|
||||
"version" :
|
||||
{
|
||||
|
@ -117,7 +117,7 @@
|
|||
}
|
||||
},
|
||||
{
|
||||
"jsonFile" : "cmakeFiles-v1-e43068dcd0ee522a4ce0.json",
|
||||
"jsonFile" : "cmakeFiles-v1-fac6cc7a27c17d4661b2.json",
|
||||
"kind" : "cmakeFiles",
|
||||
"version" :
|
||||
{
|
|
@ -52,8 +52,8 @@ CMAKE_BUILD_TYPE:STRING=Debug
|
|||
//Enable/Disable color output during build.
|
||||
CMAKE_COLOR_MAKEFILE:BOOL=ON
|
||||
|
||||
//CXX compiler
|
||||
CMAKE_CXX_COMPILER:STRING=C:/Program Files (x86)/GNU Arm Embedded Toolchain/10 2021.10/bin/arm-none-eabi-g++.exe
|
||||
//No help, variable specified on the command line.
|
||||
CMAKE_CXX_COMPILER:FILEPATH=C:/Program Files (x86)/GNU Arm Embedded Toolchain/10 2021.10/bin/arm-none-eabi-g++.exe
|
||||
|
||||
//A wrapper around 'ar' adding the appropriate '--plugin' option
|
||||
// for the GCC compiler
|
||||
|
@ -78,8 +78,8 @@ CMAKE_CXX_FLAGS_RELEASE:STRING=-O3 -DNDEBUG
|
|||
//Flags used by the CXX compiler during RELWITHDEBINFO builds.
|
||||
CMAKE_CXX_FLAGS_RELWITHDEBINFO:STRING=-O2 -g -DNDEBUG
|
||||
|
||||
//C compiler
|
||||
CMAKE_C_COMPILER:STRING=C:/Program Files (x86)/GNU Arm Embedded Toolchain/10 2021.10/bin/arm-none-eabi-gcc.exe
|
||||
//No help, variable specified on the command line.
|
||||
CMAKE_C_COMPILER:FILEPATH=C:/Program Files (x86)/GNU Arm Embedded Toolchain/10 2021.10/bin/arm-none-eabi-gcc.exe
|
||||
|
||||
//A wrapper around 'ar' adding the appropriate '--plugin' option
|
||||
// for the GCC compiler
|
||||
|
@ -485,7 +485,7 @@ PICO_BOOT_STAGE2_DIR:INTERNAL=F:/PicoSDK/Pico/pico-sdk/src/rp2_common/boot_stage
|
|||
PICO_CMAKE_PRELOAD_PLATFORM_DIR:INTERNAL=F:/PicoSDK/Pico/pico-sdk/cmake/preload/platforms
|
||||
PICO_CMAKE_PRELOAD_PLATFORM_FILE:INTERNAL=F:/PicoSDK/Pico/pico-sdk/cmake/preload/platforms/rp2040.cmake
|
||||
PICO_COMPILER_ASM:INTERNAL=C:/Program Files (x86)/GNU Arm Embedded Toolchain/10 2021.10/bin/arm-none-eabi-gcc.exe
|
||||
PICO_DOXYGEN_EXCLUDE_PATHS:INTERNAL= F:/PicoSDK/Pico/pico-sdk/src/rp2_common/cmsis F:/PicoSDK/Pico/pico-sdk/src/rp2040/hardware_regs
|
||||
PICO_DOXYGEN_EXCLUDE_PATHS:INTERNAL= F:/PicoSDK/Pico/pico-sdk/src/rp2_common/cmsis F:/PicoSDK/Pico/pico-sdk/src/rp2040/hardware_regs F:/PicoSDK/Pico/pico-sdk/src/rp2_common/cmsis F:/PicoSDK/Pico/pico-sdk/src/rp2040/hardware_regs F:/PicoSDK/Pico/pico-sdk/src/rp2_common/cmsis F:/PicoSDK/Pico/pico-sdk/src/rp2040/hardware_regs F:/PicoSDK/Pico/pico-sdk/src/rp2_common/cmsis F:/PicoSDK/Pico/pico-sdk/src/rp2040/hardware_regs F:/PicoSDK/Pico/pico-sdk/src/rp2_common/cmsis F:/PicoSDK/Pico/pico-sdk/src/rp2040/hardware_regs
|
||||
PICO_DOXYGEN_PATHS:INTERNAL= F:/PicoSDK/Pico/pico-sdk/src/common F:/PicoSDK/Pico/pico-sdk/src/rp2_common F:/PicoSDK/Pico/pico-sdk/src/rp2040
|
||||
PICO_NO_HARDWARE:INTERNAL=0
|
||||
PICO_ON_DEVICE:INTERNAL=1
|
||||
|
|
Binary file not shown.
Binary file not shown.
|
@ -107,87 +107,20 @@ set(CMAKE_MAKEFILE_DEPENDS
|
|||
"elf2uf2/tmp/ELF2UF2Build-mkdirs.cmake"
|
||||
"pioasm/tmp/PioasmBuild-mkdirs.cmake"
|
||||
"F:/PicoSDK/Projects/LogicAnalyzer/pico_sdk_import.cmake"
|
||||
"F:/RPico/CMake/share/cmake-3.24/Modules/CMakeASMCompiler.cmake.in"
|
||||
"F:/RPico/CMake/share/cmake-3.24/Modules/CMakeASMInformation.cmake"
|
||||
"F:/RPico/CMake/share/cmake-3.24/Modules/CMakeCCompiler.cmake.in"
|
||||
"F:/RPico/CMake/share/cmake-3.24/Modules/CMakeCInformation.cmake"
|
||||
"F:/RPico/CMake/share/cmake-3.24/Modules/CMakeCXXCompiler.cmake.in"
|
||||
"F:/RPico/CMake/share/cmake-3.24/Modules/CMakeCXXInformation.cmake"
|
||||
"F:/RPico/CMake/share/cmake-3.24/Modules/CMakeCommonLanguageInclude.cmake"
|
||||
"F:/RPico/CMake/share/cmake-3.24/Modules/CMakeCompilerIdDetection.cmake"
|
||||
"F:/RPico/CMake/share/cmake-3.24/Modules/CMakeDetermineASMCompiler.cmake"
|
||||
"F:/RPico/CMake/share/cmake-3.24/Modules/CMakeDetermineCCompiler.cmake"
|
||||
"F:/RPico/CMake/share/cmake-3.24/Modules/CMakeDetermineCXXCompiler.cmake"
|
||||
"F:/RPico/CMake/share/cmake-3.24/Modules/CMakeDetermineCompiler.cmake"
|
||||
"F:/RPico/CMake/share/cmake-3.24/Modules/CMakeDetermineCompilerId.cmake"
|
||||
"F:/RPico/CMake/share/cmake-3.24/Modules/CMakeDetermineSystem.cmake"
|
||||
"F:/RPico/CMake/share/cmake-3.24/Modules/CMakeFindBinUtils.cmake"
|
||||
"F:/RPico/CMake/share/cmake-3.24/Modules/CMakeGenericSystem.cmake"
|
||||
"F:/RPico/CMake/share/cmake-3.24/Modules/CMakeInitializeConfigs.cmake"
|
||||
"F:/RPico/CMake/share/cmake-3.24/Modules/CMakeLanguageInformation.cmake"
|
||||
"F:/RPico/CMake/share/cmake-3.24/Modules/CMakeNMakeFindMake.cmake"
|
||||
"F:/RPico/CMake/share/cmake-3.24/Modules/CMakeSystem.cmake.in"
|
||||
"F:/RPico/CMake/share/cmake-3.24/Modules/CMakeSystemSpecificInformation.cmake"
|
||||
"F:/RPico/CMake/share/cmake-3.24/Modules/CMakeSystemSpecificInitialize.cmake"
|
||||
"F:/RPico/CMake/share/cmake-3.24/Modules/CMakeTestASMCompiler.cmake"
|
||||
"F:/RPico/CMake/share/cmake-3.24/Modules/CMakeTestCCompiler.cmake"
|
||||
"F:/RPico/CMake/share/cmake-3.24/Modules/CMakeTestCXXCompiler.cmake"
|
||||
"F:/RPico/CMake/share/cmake-3.24/Modules/Compiler/ADSP-DetermineCompiler.cmake"
|
||||
"F:/RPico/CMake/share/cmake-3.24/Modules/Compiler/ARMCC-DetermineCompiler.cmake"
|
||||
"F:/RPico/CMake/share/cmake-3.24/Modules/Compiler/ARMClang-DetermineCompiler.cmake"
|
||||
"F:/RPico/CMake/share/cmake-3.24/Modules/Compiler/AppleClang-DetermineCompiler.cmake"
|
||||
"F:/RPico/CMake/share/cmake-3.24/Modules/Compiler/Borland-DetermineCompiler.cmake"
|
||||
"F:/RPico/CMake/share/cmake-3.24/Modules/Compiler/Bruce-C-DetermineCompiler.cmake"
|
||||
"F:/RPico/CMake/share/cmake-3.24/Modules/Compiler/CMakeCommonCompilerMacros.cmake"
|
||||
"F:/RPico/CMake/share/cmake-3.24/Modules/Compiler/Clang-DetermineCompiler.cmake"
|
||||
"F:/RPico/CMake/share/cmake-3.24/Modules/Compiler/Clang-DetermineCompilerInternal.cmake"
|
||||
"F:/RPico/CMake/share/cmake-3.24/Modules/Compiler/Comeau-CXX-DetermineCompiler.cmake"
|
||||
"F:/RPico/CMake/share/cmake-3.24/Modules/Compiler/Compaq-C-DetermineCompiler.cmake"
|
||||
"F:/RPico/CMake/share/cmake-3.24/Modules/Compiler/Compaq-CXX-DetermineCompiler.cmake"
|
||||
"F:/RPico/CMake/share/cmake-3.24/Modules/Compiler/Cray-DetermineCompiler.cmake"
|
||||
"F:/RPico/CMake/share/cmake-3.24/Modules/Compiler/Embarcadero-DetermineCompiler.cmake"
|
||||
"F:/RPico/CMake/share/cmake-3.24/Modules/Compiler/Fujitsu-DetermineCompiler.cmake"
|
||||
"F:/RPico/CMake/share/cmake-3.24/Modules/Compiler/FujitsuClang-DetermineCompiler.cmake"
|
||||
"F:/RPico/CMake/share/cmake-3.24/Modules/Compiler/GHS-DetermineCompiler.cmake"
|
||||
"F:/RPico/CMake/share/cmake-3.24/Modules/Compiler/GNU-ASM.cmake"
|
||||
"F:/RPico/CMake/share/cmake-3.24/Modules/Compiler/GNU-C-DetermineCompiler.cmake"
|
||||
"F:/RPico/CMake/share/cmake-3.24/Modules/Compiler/GNU-C.cmake"
|
||||
"F:/RPico/CMake/share/cmake-3.24/Modules/Compiler/GNU-CXX-DetermineCompiler.cmake"
|
||||
"F:/RPico/CMake/share/cmake-3.24/Modules/Compiler/GNU-CXX.cmake"
|
||||
"F:/RPico/CMake/share/cmake-3.24/Modules/Compiler/GNU-FindBinUtils.cmake"
|
||||
"F:/RPico/CMake/share/cmake-3.24/Modules/Compiler/GNU.cmake"
|
||||
"F:/RPico/CMake/share/cmake-3.24/Modules/Compiler/HP-C-DetermineCompiler.cmake"
|
||||
"F:/RPico/CMake/share/cmake-3.24/Modules/Compiler/HP-CXX-DetermineCompiler.cmake"
|
||||
"F:/RPico/CMake/share/cmake-3.24/Modules/Compiler/IAR-DetermineCompiler.cmake"
|
||||
"F:/RPico/CMake/share/cmake-3.24/Modules/Compiler/IBMCPP-C-DetermineVersionInternal.cmake"
|
||||
"F:/RPico/CMake/share/cmake-3.24/Modules/Compiler/IBMCPP-CXX-DetermineVersionInternal.cmake"
|
||||
"F:/RPico/CMake/share/cmake-3.24/Modules/Compiler/IBMClang-C-DetermineCompiler.cmake"
|
||||
"F:/RPico/CMake/share/cmake-3.24/Modules/Compiler/IBMClang-CXX-DetermineCompiler.cmake"
|
||||
"F:/RPico/CMake/share/cmake-3.24/Modules/Compiler/Intel-DetermineCompiler.cmake"
|
||||
"F:/RPico/CMake/share/cmake-3.24/Modules/Compiler/IntelLLVM-DetermineCompiler.cmake"
|
||||
"F:/RPico/CMake/share/cmake-3.24/Modules/Compiler/LCC-C-DetermineCompiler.cmake"
|
||||
"F:/RPico/CMake/share/cmake-3.24/Modules/Compiler/LCC-CXX-DetermineCompiler.cmake"
|
||||
"F:/RPico/CMake/share/cmake-3.24/Modules/Compiler/MSVC-DetermineCompiler.cmake"
|
||||
"F:/RPico/CMake/share/cmake-3.24/Modules/Compiler/NVHPC-DetermineCompiler.cmake"
|
||||
"F:/RPico/CMake/share/cmake-3.24/Modules/Compiler/NVIDIA-DetermineCompiler.cmake"
|
||||
"F:/RPico/CMake/share/cmake-3.24/Modules/Compiler/OpenWatcom-DetermineCompiler.cmake"
|
||||
"F:/RPico/CMake/share/cmake-3.24/Modules/Compiler/PGI-DetermineCompiler.cmake"
|
||||
"F:/RPico/CMake/share/cmake-3.24/Modules/Compiler/PathScale-DetermineCompiler.cmake"
|
||||
"F:/RPico/CMake/share/cmake-3.24/Modules/Compiler/SCO-DetermineCompiler.cmake"
|
||||
"F:/RPico/CMake/share/cmake-3.24/Modules/Compiler/SDCC-C-DetermineCompiler.cmake"
|
||||
"F:/RPico/CMake/share/cmake-3.24/Modules/Compiler/SunPro-C-DetermineCompiler.cmake"
|
||||
"F:/RPico/CMake/share/cmake-3.24/Modules/Compiler/SunPro-CXX-DetermineCompiler.cmake"
|
||||
"F:/RPico/CMake/share/cmake-3.24/Modules/Compiler/TI-DetermineCompiler.cmake"
|
||||
"F:/RPico/CMake/share/cmake-3.24/Modules/Compiler/TinyCC-C-DetermineCompiler.cmake"
|
||||
"F:/RPico/CMake/share/cmake-3.24/Modules/Compiler/VisualAge-C-DetermineCompiler.cmake"
|
||||
"F:/RPico/CMake/share/cmake-3.24/Modules/Compiler/VisualAge-CXX-DetermineCompiler.cmake"
|
||||
"F:/RPico/CMake/share/cmake-3.24/Modules/Compiler/Watcom-DetermineCompiler.cmake"
|
||||
"F:/RPico/CMake/share/cmake-3.24/Modules/Compiler/XL-C-DetermineCompiler.cmake"
|
||||
"F:/RPico/CMake/share/cmake-3.24/Modules/Compiler/XL-CXX-DetermineCompiler.cmake"
|
||||
"F:/RPico/CMake/share/cmake-3.24/Modules/Compiler/XLClang-C-DetermineCompiler.cmake"
|
||||
"F:/RPico/CMake/share/cmake-3.24/Modules/Compiler/XLClang-CXX-DetermineCompiler.cmake"
|
||||
"F:/RPico/CMake/share/cmake-3.24/Modules/Compiler/zOS-C-DetermineCompiler.cmake"
|
||||
"F:/RPico/CMake/share/cmake-3.24/Modules/Compiler/zOS-CXX-DetermineCompiler.cmake"
|
||||
"F:/RPico/CMake/share/cmake-3.24/Modules/ExternalProject.cmake"
|
||||
"F:/RPico/CMake/share/cmake-3.24/Modules/ExternalProject/RepositoryInfo.txt.in"
|
||||
"F:/RPico/CMake/share/cmake-3.24/Modules/ExternalProject/cfgcmd.txt.in"
|
||||
|
@ -207,10 +140,6 @@ set(CMAKE_MAKEFILE_OUTPUTS
|
|||
|
||||
# Byproducts of CMake generate step:
|
||||
set(CMAKE_MAKEFILE_PRODUCTS
|
||||
"CMakeFiles/3.24.2/CMakeSystem.cmake"
|
||||
"CMakeFiles/3.24.2/CMakeCCompiler.cmake"
|
||||
"CMakeFiles/3.24.2/CMakeCXXCompiler.cmake"
|
||||
"CMakeFiles/3.24.2/CMakeASMCompiler.cmake"
|
||||
"pioasm/tmp/PioasmBuild-mkdirs.cmake"
|
||||
"pioasm/src/PioasmBuild-stamp/PioasmBuild-source_dirinfo.txt"
|
||||
"pioasm/tmp/PioasmBuild-cfgcmd.txt"
|
||||
|
|
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Binary file not shown.
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
|
@ -12,29 +12,26 @@
|
|||
// POSITIVE_CAPTURE //
|
||||
// ---------------- //
|
||||
|
||||
#define POSITIVE_CAPTURE_wrap_target 4
|
||||
#define POSITIVE_CAPTURE_wrap 5
|
||||
#define POSITIVE_CAPTURE_wrap_target 2
|
||||
#define POSITIVE_CAPTURE_wrap 3
|
||||
|
||||
static const uint16_t POSITIVE_CAPTURE_program_instructions[] = {
|
||||
0x80a0, // 0: pull block
|
||||
0x6020, // 1: out x, 32
|
||||
0x80a0, // 2: pull block
|
||||
0x6040, // 3: out y, 32
|
||||
// .wrap_target
|
||||
0x4000, // 4: in pins, 32
|
||||
0x00c6, // 5: jmp pin, 6
|
||||
0x4000, // 2: in pins, 32
|
||||
0x00c4, // 3: jmp pin, 4
|
||||
// .wrap
|
||||
0x4000, // 6: in pins, 32
|
||||
0x0046, // 7: jmp x--, 6
|
||||
0x4040, // 8: in y, 32
|
||||
0xc000, // 9: irq nowait 0
|
||||
0x000a, // 10: jmp 10
|
||||
0x4000, // 4: in pins, 32
|
||||
0x0044, // 5: jmp x--, 4
|
||||
0xc000, // 6: irq nowait 0
|
||||
0x0007, // 7: jmp 7
|
||||
};
|
||||
|
||||
#if !PICO_NO_HARDWARE
|
||||
static const struct pio_program POSITIVE_CAPTURE_program = {
|
||||
.instructions = POSITIVE_CAPTURE_program_instructions,
|
||||
.length = 11,
|
||||
.length = 8,
|
||||
.origin = -1,
|
||||
};
|
||||
|
||||
|
@ -50,28 +47,25 @@ static inline pio_sm_config POSITIVE_CAPTURE_program_get_default_config(uint off
|
|||
// ---------------- //
|
||||
|
||||
#define NEGATIVE_CAPTURE_wrap_target 0
|
||||
#define NEGATIVE_CAPTURE_wrap 10
|
||||
#define NEGATIVE_CAPTURE_wrap 7
|
||||
|
||||
static const uint16_t NEGATIVE_CAPTURE_program_instructions[] = {
|
||||
// .wrap_target
|
||||
0x80a0, // 0: pull block
|
||||
0x6020, // 1: out x, 32
|
||||
0x80a0, // 2: pull block
|
||||
0x6040, // 3: out y, 32
|
||||
0x4000, // 2: in pins, 32
|
||||
0x00c2, // 3: jmp pin, 2
|
||||
0x4000, // 4: in pins, 32
|
||||
0x00c4, // 5: jmp pin, 4
|
||||
0x4000, // 6: in pins, 32
|
||||
0x0046, // 7: jmp x--, 6
|
||||
0x4040, // 8: in y, 32
|
||||
0xc000, // 9: irq nowait 0
|
||||
0x000a, // 10: jmp 10
|
||||
0x0044, // 5: jmp x--, 4
|
||||
0xc000, // 6: irq nowait 0
|
||||
0x0007, // 7: jmp 7
|
||||
// .wrap
|
||||
};
|
||||
|
||||
#if !PICO_NO_HARDWARE
|
||||
static const struct pio_program NEGATIVE_CAPTURE_program = {
|
||||
.instructions = NEGATIVE_CAPTURE_program_instructions,
|
||||
.length = 11,
|
||||
.length = 8,
|
||||
.origin = -1,
|
||||
};
|
||||
|
||||
|
@ -86,30 +80,27 @@ static inline pio_sm_config NEGATIVE_CAPTURE_program_get_default_config(uint off
|
|||
// COMPLEX_CAPTURE //
|
||||
// --------------- //
|
||||
|
||||
#define COMPLEX_CAPTURE_wrap_target 5
|
||||
#define COMPLEX_CAPTURE_wrap 6
|
||||
#define COMPLEX_CAPTURE_wrap_target 3
|
||||
#define COMPLEX_CAPTURE_wrap 4
|
||||
|
||||
static const uint16_t COMPLEX_CAPTURE_program_instructions[] = {
|
||||
0x80a0, // 0: pull block
|
||||
0x6020, // 1: out x, 32
|
||||
0x80a0, // 2: pull block
|
||||
0x6040, // 3: out y, 32
|
||||
0x20c7, // 4: wait 1 irq, 7
|
||||
0x20c7, // 2: wait 1 irq, 7
|
||||
// .wrap_target
|
||||
0x401d, // 5: in pins, 29
|
||||
0x00c7, // 6: jmp pin, 7
|
||||
0x401d, // 3: in pins, 29
|
||||
0x00c5, // 4: jmp pin, 5
|
||||
// .wrap
|
||||
0x401d, // 7: in pins, 29
|
||||
0x0047, // 8: jmp x--, 7
|
||||
0x4040, // 9: in y, 32
|
||||
0xc000, // 10: irq nowait 0
|
||||
0x000b, // 11: jmp 11
|
||||
0x401d, // 5: in pins, 29
|
||||
0x0045, // 6: jmp x--, 5
|
||||
0xc000, // 7: irq nowait 0
|
||||
0x0008, // 8: jmp 8
|
||||
};
|
||||
|
||||
#if !PICO_NO_HARDWARE
|
||||
static const struct pio_program COMPLEX_CAPTURE_program = {
|
||||
.instructions = COMPLEX_CAPTURE_program_instructions,
|
||||
.length = 12,
|
||||
.length = 9,
|
||||
.origin = -1,
|
||||
};
|
||||
|
||||
|
@ -124,29 +115,26 @@ static inline pio_sm_config COMPLEX_CAPTURE_program_get_default_config(uint offs
|
|||
// FAST_CAPTURE //
|
||||
// ------------ //
|
||||
|
||||
#define FAST_CAPTURE_wrap_target 4
|
||||
#define FAST_CAPTURE_wrap 5
|
||||
#define FAST_CAPTURE_wrap_target 2
|
||||
#define FAST_CAPTURE_wrap 3
|
||||
|
||||
static const uint16_t FAST_CAPTURE_program_instructions[] = {
|
||||
0x80a0, // 0: pull block
|
||||
0x6020, // 1: out x, 32
|
||||
0x80a0, // 2: pull block
|
||||
0x6040, // 3: out y, 32
|
||||
// .wrap_target
|
||||
0x401d, // 4: in pins, 29
|
||||
0x00c6, // 5: jmp pin, 6
|
||||
0x401d, // 2: in pins, 29
|
||||
0x00c4, // 3: jmp pin, 4
|
||||
// .wrap
|
||||
0x401d, // 6: in pins, 29
|
||||
0x0046, // 7: jmp x--, 6
|
||||
0x4040, // 8: in y, 32
|
||||
0xc000, // 9: irq nowait 0
|
||||
0x000a, // 10: jmp 10
|
||||
0x401d, // 4: in pins, 29
|
||||
0x0044, // 5: jmp x--, 4
|
||||
0xc000, // 6: irq nowait 0
|
||||
0x0007, // 7: jmp 7
|
||||
};
|
||||
|
||||
#if !PICO_NO_HARDWARE
|
||||
static const struct pio_program FAST_CAPTURE_program = {
|
||||
.instructions = FAST_CAPTURE_program_instructions,
|
||||
.length = 11,
|
||||
.length = 8,
|
||||
.origin = -1,
|
||||
};
|
||||
|
||||
|
@ -186,6 +174,7 @@ static bool lastCaptureComplexFast;
|
|||
static uint8_t lastCaptureType;
|
||||
static uint8_t lastTriggerPinBase;
|
||||
static uint32_t lastTriggerPinCount;
|
||||
static uint32_t lastTail;
|
||||
//Static information of the current capture
|
||||
static bool captureFinished;
|
||||
static bool captureProcessed;
|
||||
|
@ -245,6 +234,7 @@ static inline pio_sm_config FAST_TRIGGER_program_get_default_config(uint offset)
|
|||
sm_config_set_sideset(&c, 1, false, false);
|
||||
return c;
|
||||
}
|
||||
//Creates the fast trigger PIO program
|
||||
uint8_t create_fast_trigger_program(uint8_t pattern, uint8_t length)
|
||||
{
|
||||
//This creates a 32 instruction jump table. Each instruction is a MOV PC, PINS except for the addresses that
|
||||
|
@ -267,10 +257,54 @@ uint8_t create_fast_trigger_program(uint8_t pattern, uint8_t length)
|
|||
//-----------------------------------------------------------------------------
|
||||
//--------------Fast trigger PIO program END-----------------------------------
|
||||
//-----------------------------------------------------------------------------
|
||||
//Find the last captured sample index
|
||||
uint32_t find_capture_tail()
|
||||
{
|
||||
//Add a delay in case the transfer is still in progress (just a safety measure, should not happen)
|
||||
//This is a massive delay in comparison to the needs of the DMA channel, but hey, 5ms is not going to be noticed anywhere :D
|
||||
busy_wait_ms(5);
|
||||
uint32_t busy_channel = 0xFFFFFFFF;
|
||||
uint32_t busy_offset = 0xFFFFFFFF;
|
||||
//First we need to determine which DMA channel is busy (in the middle of a transfer)
|
||||
if(dma_channel_is_busy(dmaPingPong0))
|
||||
{
|
||||
busy_channel = dmaPingPong0;
|
||||
busy_offset = 0;
|
||||
}
|
||||
if(dma_channel_is_busy(dmaPingPong1))
|
||||
{
|
||||
busy_channel = dmaPingPong1;
|
||||
busy_offset = 8192;
|
||||
}
|
||||
if(dma_channel_is_busy(dmaPingPong2))
|
||||
{
|
||||
busy_channel = dmaPingPong2;
|
||||
busy_offset = 16384;
|
||||
}
|
||||
if(dma_channel_is_busy(dmaPingPong3))
|
||||
{
|
||||
busy_channel = dmaPingPong3;
|
||||
busy_offset = 24576;
|
||||
}
|
||||
//No channel busy?? WTF???
|
||||
if(busy_channel == 0xFFFFFFFF)
|
||||
return 0xFFFFFFFF;
|
||||
//Ok, now we need to know at which transfer the DMA is. The value equals to MAX_TRANSFERS - TRANSFERS_LEFT.
|
||||
int32_t transfer = 8192 - dma_channel_hw_addr(busy_channel)->transfer_count;
|
||||
//Now compute the last capture position
|
||||
transfer = (transfer + busy_offset) - 1;
|
||||
//Wrap around?
|
||||
if(transfer < 0)
|
||||
transfer = 32767;
|
||||
//Our capture absolute last position
|
||||
return (uint32_t)transfer;
|
||||
}
|
||||
//Triggered when a fast capture ends
|
||||
void fast_capture_completed()
|
||||
{
|
||||
//Mark the capture as finished
|
||||
captureFinished = true;
|
||||
lastTail = find_capture_tail();
|
||||
//Abort DMA channels
|
||||
dma_channel_abort(dmaPingPong0);
|
||||
dma_channel_abort(dmaPingPong1);
|
||||
|
@ -308,10 +342,12 @@ void fast_capture_completed()
|
|||
pio_sm_unclaim(triggerPIO, sm_Trigger);
|
||||
pio_remove_program(triggerPIO, &FAST_TRIGGER_program, triggerOffset);
|
||||
}
|
||||
//Triggered when a complex capture ends
|
||||
void complex_capture_completed()
|
||||
{
|
||||
//Mark the capture as finished
|
||||
captureFinished = true;
|
||||
lastTail = find_capture_tail();
|
||||
//Abort DMA channels
|
||||
dma_channel_abort(dmaPingPong0);
|
||||
dma_channel_abort(dmaPingPong1);
|
||||
|
@ -349,10 +385,12 @@ void complex_capture_completed()
|
|||
pio_sm_unclaim(capturePIO, sm_Trigger);
|
||||
pio_remove_program(capturePIO, &COMPLEX_TRIGGER_program, triggerOffset);
|
||||
}
|
||||
//Triggered when a simple capture ends
|
||||
void simple_capture_completed()
|
||||
{
|
||||
//Mark the capture as finished
|
||||
captureFinished = true;
|
||||
lastTail = find_capture_tail();
|
||||
//Abort DMA channels
|
||||
dma_channel_abort(dmaPingPong0);
|
||||
dma_channel_abort(dmaPingPong1);
|
||||
|
@ -388,6 +426,7 @@ void simple_capture_completed()
|
|||
else
|
||||
pio_remove_program(capturePIO, &NEGATIVE_CAPTURE_program, captureOffset);
|
||||
}
|
||||
//Configure the four DMA channels
|
||||
void configureCaptureDMAs()
|
||||
{
|
||||
//Claim four DMA channels, each channel writes to 32Kb of the buffer (8192 samples) as that's the maximum ring size supported
|
||||
|
@ -400,7 +439,7 @@ void configureCaptureDMAs()
|
|||
channel_config_set_read_increment(&dmaPingPong0Config, false); //Do not increment read address
|
||||
channel_config_set_write_increment(&dmaPingPong0Config, true); //Increment write address
|
||||
channel_config_set_transfer_data_size(&dmaPingPong0Config, DMA_SIZE_32); //Transfer 32 bits each time
|
||||
channel_config_set_chain_to(&dmaPingPong0Config, dmaPingPong1); //Chain to the second pre-trigger dma channel
|
||||
channel_config_set_chain_to(&dmaPingPong0Config, dmaPingPong1); //Chain to the second dma channel
|
||||
channel_config_set_dreq(&dmaPingPong0Config, pio_get_dreq(capturePIO, sm_Capture, false)); //Set DREQ as RX FIFO
|
||||
channel_config_set_ring(&dmaPingPong0Config, true, 15); //Ring at 32768 bytes
|
||||
//Configure second capture DMA
|
||||
|
@ -408,7 +447,7 @@ void configureCaptureDMAs()
|
|||
channel_config_set_read_increment(&dmaPingPong1Config, false); //Do not increment read address
|
||||
channel_config_set_write_increment(&dmaPingPong1Config, true); //Increment write address
|
||||
channel_config_set_transfer_data_size(&dmaPingPong1Config, DMA_SIZE_32); //Transfer 32 bits each time
|
||||
channel_config_set_chain_to(&dmaPingPong1Config, dmaPingPong2); //Chain to the third pre-trigger dma channel
|
||||
channel_config_set_chain_to(&dmaPingPong1Config, dmaPingPong2); //Chain to the third dma channel
|
||||
channel_config_set_dreq(&dmaPingPong1Config, pio_get_dreq(capturePIO, sm_Capture, false)); //Set DREQ as RX FIFO
|
||||
channel_config_set_ring(&dmaPingPong1Config, true, 15); //Ring at 32768 bytes
|
||||
//Configure third capture DMA
|
||||
|
@ -416,7 +455,7 @@ void configureCaptureDMAs()
|
|||
channel_config_set_read_increment(&dmaPingPong2Config, false); //Do not increment read address
|
||||
channel_config_set_write_increment(&dmaPingPong2Config, true); //Increment write address
|
||||
channel_config_set_transfer_data_size(&dmaPingPong2Config, DMA_SIZE_32); //Transfer 32 bits each time
|
||||
channel_config_set_chain_to(&dmaPingPong2Config, dmaPingPong3); //Chain to the fourth pre-trigger dma channel
|
||||
channel_config_set_chain_to(&dmaPingPong2Config, dmaPingPong3); //Chain to the fourth dma channel
|
||||
channel_config_set_dreq(&dmaPingPong2Config, pio_get_dreq(capturePIO, sm_Capture, false)); //Set DREQ as RX FIFO
|
||||
channel_config_set_ring(&dmaPingPong2Config, true, 15); //Ring at 32768 bytes
|
||||
//Configure fourth capture DMA
|
||||
|
@ -424,7 +463,7 @@ void configureCaptureDMAs()
|
|||
channel_config_set_read_increment(&dmaPingPong3Config, false); //Do not increment read address
|
||||
channel_config_set_write_increment(&dmaPingPong3Config, true); //Increment write address
|
||||
channel_config_set_transfer_data_size(&dmaPingPong3Config, DMA_SIZE_32); //Transfer 32 bits each time
|
||||
channel_config_set_chain_to(&dmaPingPong3Config, dmaPingPong0); //Chain to the first pre-trigger dma channel
|
||||
channel_config_set_chain_to(&dmaPingPong3Config, dmaPingPong0); //Chain to the first dma channel
|
||||
channel_config_set_dreq(&dmaPingPong3Config, pio_get_dreq(capturePIO, sm_Capture, false)); //Set DREQ as RX FIFO
|
||||
channel_config_set_ring(&dmaPingPong3Config, true, 15); //Ring at 32768 bytes
|
||||
//Configure the DMA channels
|
||||
|
@ -550,7 +589,7 @@ bool startCaptureFast(uint32_t freq, uint32_t preLength, uint32_t postLength, co
|
|||
//Write capture length to post program
|
||||
pio_sm_put_blocking(capturePIO, sm_Capture, postLength - 1);
|
||||
//Write capture end mark to post program
|
||||
pio_sm_put_blocking(capturePIO, sm_Capture, 0xFFFFFFFF);
|
||||
//pio_sm_put_blocking(capturePIO, sm_Capture, 0xFFFFFFFF);
|
||||
//Initialize trigger state machine
|
||||
pio_sm_init(triggerPIO, sm_Trigger, triggerOffset, &smConfig);
|
||||
//Enable trigger state machine
|
||||
|
@ -671,7 +710,7 @@ bool startCaptureComplex(uint32_t freq, uint32_t preLength, uint32_t postLength,
|
|||
//Write capture length to post program
|
||||
pio_sm_put_blocking(capturePIO, sm_Capture, postLength - 1);
|
||||
//Write capture end mark to post program
|
||||
pio_sm_put_blocking(capturePIO, sm_Capture, 0xFFFFFFFF);
|
||||
//pio_sm_put_blocking(capturePIO, sm_Capture, 0xFFFFFFFF);
|
||||
//Enable trigger state machine
|
||||
pio_sm_set_enabled(capturePIO, sm_Trigger, true);
|
||||
//Write trigger value to trigger program
|
||||
|
@ -756,7 +795,7 @@ bool startCaptureSimple(uint32_t freq, uint32_t preLength, uint32_t postLength,
|
|||
//Write capture length to post program to start the capture process
|
||||
pio_sm_put_blocking(capturePIO, sm_Capture, postLength - 1);
|
||||
//Write capture end mark to start capture
|
||||
pio_sm_put_blocking(capturePIO, sm_Capture, 0xFFFFFFFF);
|
||||
//pio_sm_put_blocking(capturePIO, sm_Capture, 0xFFFFFFFF);
|
||||
//Finally clear capture status, process flags and capture type
|
||||
captureFinished = false;
|
||||
captureProcessed = false;
|
||||
|
@ -774,23 +813,11 @@ uint32_t* GetBuffer(uint32_t* bufferSize, uint32_t* firstSample)
|
|||
//If we don't have processed the buffer...
|
||||
if(!captureProcessed)
|
||||
{
|
||||
//Find capture end mark
|
||||
int32_t lastCapture = 0;
|
||||
for(int buc = 0; buc < 32768; buc++)
|
||||
{
|
||||
if(captureBuffer[buc] == 0xFFFFFFFF)
|
||||
{
|
||||
lastCapture = buc - 1;
|
||||
if(lastCapture < 0)
|
||||
lastCapture = 32767;
|
||||
break;
|
||||
}
|
||||
}
|
||||
//Calculate the first sample index
|
||||
if(lastCapture < lastPreSize + lastPostSize - 1)
|
||||
lastStartPosition = 32768 - ((lastPreSize + lastPostSize) - (lastCapture - 1));
|
||||
//Calculate start position
|
||||
if(lastTail < lastPreSize + lastPostSize - 1)
|
||||
lastStartPosition = 32768 - ((lastPreSize + lastPostSize) - (lastTail - 1));
|
||||
else
|
||||
lastStartPosition = lastCapture - (lastPreSize + lastPostSize) + 1;
|
||||
lastStartPosition = lastTail - (lastPreSize + lastPostSize) + 1;
|
||||
uint32_t oldValue;
|
||||
uint32_t newValue;
|
||||
uint32_t currentPos = lastStartPosition;
|
||||
|
|
Binary file not shown.
|
@ -11,75 +11,17 @@ set(CMAKE_MAKEFILE_DEPENDS
|
|||
"CMakeFiles/3.24.2/CMakeCXXCompiler.cmake"
|
||||
"CMakeFiles/3.24.2/CMakeRCCompiler.cmake"
|
||||
"CMakeFiles/3.24.2/CMakeSystem.cmake"
|
||||
"F:/RPico/CMake/share/cmake-3.24/Modules/CMakeCXXCompiler.cmake.in"
|
||||
"F:/RPico/CMake/share/cmake-3.24/Modules/CMakeCXXCompilerABI.cpp"
|
||||
"F:/RPico/CMake/share/cmake-3.24/Modules/CMakeCXXInformation.cmake"
|
||||
"F:/RPico/CMake/share/cmake-3.24/Modules/CMakeCommonLanguageInclude.cmake"
|
||||
"F:/RPico/CMake/share/cmake-3.24/Modules/CMakeCompilerIdDetection.cmake"
|
||||
"F:/RPico/CMake/share/cmake-3.24/Modules/CMakeDetermineCXXCompiler.cmake"
|
||||
"F:/RPico/CMake/share/cmake-3.24/Modules/CMakeDetermineCompileFeatures.cmake"
|
||||
"F:/RPico/CMake/share/cmake-3.24/Modules/CMakeDetermineCompiler.cmake"
|
||||
"F:/RPico/CMake/share/cmake-3.24/Modules/CMakeDetermineCompilerABI.cmake"
|
||||
"F:/RPico/CMake/share/cmake-3.24/Modules/CMakeDetermineCompilerId.cmake"
|
||||
"F:/RPico/CMake/share/cmake-3.24/Modules/CMakeDetermineRCCompiler.cmake"
|
||||
"F:/RPico/CMake/share/cmake-3.24/Modules/CMakeDetermineSystem.cmake"
|
||||
"F:/RPico/CMake/share/cmake-3.24/Modules/CMakeFindBinUtils.cmake"
|
||||
"F:/RPico/CMake/share/cmake-3.24/Modules/CMakeGenericSystem.cmake"
|
||||
"F:/RPico/CMake/share/cmake-3.24/Modules/CMakeInitializeConfigs.cmake"
|
||||
"F:/RPico/CMake/share/cmake-3.24/Modules/CMakeLanguageInformation.cmake"
|
||||
"F:/RPico/CMake/share/cmake-3.24/Modules/CMakeNMakeFindMake.cmake"
|
||||
"F:/RPico/CMake/share/cmake-3.24/Modules/CMakeParseImplicitIncludeInfo.cmake"
|
||||
"F:/RPico/CMake/share/cmake-3.24/Modules/CMakeParseImplicitLinkInfo.cmake"
|
||||
"F:/RPico/CMake/share/cmake-3.24/Modules/CMakeParseLibraryArchitecture.cmake"
|
||||
"F:/RPico/CMake/share/cmake-3.24/Modules/CMakeRCCompiler.cmake.in"
|
||||
"F:/RPico/CMake/share/cmake-3.24/Modules/CMakeRCInformation.cmake"
|
||||
"F:/RPico/CMake/share/cmake-3.24/Modules/CMakeSystem.cmake.in"
|
||||
"F:/RPico/CMake/share/cmake-3.24/Modules/CMakeSystemSpecificInformation.cmake"
|
||||
"F:/RPico/CMake/share/cmake-3.24/Modules/CMakeSystemSpecificInitialize.cmake"
|
||||
"F:/RPico/CMake/share/cmake-3.24/Modules/CMakeTestCXXCompiler.cmake"
|
||||
"F:/RPico/CMake/share/cmake-3.24/Modules/CMakeTestCompilerCommon.cmake"
|
||||
"F:/RPico/CMake/share/cmake-3.24/Modules/CMakeTestRCCompiler.cmake"
|
||||
"F:/RPico/CMake/share/cmake-3.24/Modules/Compiler/ADSP-DetermineCompiler.cmake"
|
||||
"F:/RPico/CMake/share/cmake-3.24/Modules/Compiler/ARMCC-DetermineCompiler.cmake"
|
||||
"F:/RPico/CMake/share/cmake-3.24/Modules/Compiler/ARMClang-DetermineCompiler.cmake"
|
||||
"F:/RPico/CMake/share/cmake-3.24/Modules/Compiler/AppleClang-DetermineCompiler.cmake"
|
||||
"F:/RPico/CMake/share/cmake-3.24/Modules/Compiler/Borland-DetermineCompiler.cmake"
|
||||
"F:/RPico/CMake/share/cmake-3.24/Modules/Compiler/CMakeCommonCompilerMacros.cmake"
|
||||
"F:/RPico/CMake/share/cmake-3.24/Modules/Compiler/Clang-DetermineCompiler.cmake"
|
||||
"F:/RPico/CMake/share/cmake-3.24/Modules/Compiler/Clang-DetermineCompilerInternal.cmake"
|
||||
"F:/RPico/CMake/share/cmake-3.24/Modules/Compiler/Comeau-CXX-DetermineCompiler.cmake"
|
||||
"F:/RPico/CMake/share/cmake-3.24/Modules/Compiler/Compaq-CXX-DetermineCompiler.cmake"
|
||||
"F:/RPico/CMake/share/cmake-3.24/Modules/Compiler/Cray-DetermineCompiler.cmake"
|
||||
"F:/RPico/CMake/share/cmake-3.24/Modules/Compiler/Embarcadero-DetermineCompiler.cmake"
|
||||
"F:/RPico/CMake/share/cmake-3.24/Modules/Compiler/Fujitsu-DetermineCompiler.cmake"
|
||||
"F:/RPico/CMake/share/cmake-3.24/Modules/Compiler/FujitsuClang-DetermineCompiler.cmake"
|
||||
"F:/RPico/CMake/share/cmake-3.24/Modules/Compiler/GHS-DetermineCompiler.cmake"
|
||||
"F:/RPico/CMake/share/cmake-3.24/Modules/Compiler/GNU-CXX-DetermineCompiler.cmake"
|
||||
"F:/RPico/CMake/share/cmake-3.24/Modules/Compiler/HP-CXX-DetermineCompiler.cmake"
|
||||
"F:/RPico/CMake/share/cmake-3.24/Modules/Compiler/IAR-DetermineCompiler.cmake"
|
||||
"F:/RPico/CMake/share/cmake-3.24/Modules/Compiler/IBMCPP-CXX-DetermineVersionInternal.cmake"
|
||||
"F:/RPico/CMake/share/cmake-3.24/Modules/Compiler/IBMClang-CXX-DetermineCompiler.cmake"
|
||||
"F:/RPico/CMake/share/cmake-3.24/Modules/Compiler/Intel-DetermineCompiler.cmake"
|
||||
"F:/RPico/CMake/share/cmake-3.24/Modules/Compiler/IntelLLVM-DetermineCompiler.cmake"
|
||||
"F:/RPico/CMake/share/cmake-3.24/Modules/Compiler/LCC-CXX-DetermineCompiler.cmake"
|
||||
"F:/RPico/CMake/share/cmake-3.24/Modules/Compiler/MSVC-CXX.cmake"
|
||||
"F:/RPico/CMake/share/cmake-3.24/Modules/Compiler/MSVC-DetermineCompiler.cmake"
|
||||
"F:/RPico/CMake/share/cmake-3.24/Modules/Compiler/MSVC.cmake"
|
||||
"F:/RPico/CMake/share/cmake-3.24/Modules/Compiler/NVHPC-DetermineCompiler.cmake"
|
||||
"F:/RPico/CMake/share/cmake-3.24/Modules/Compiler/NVIDIA-DetermineCompiler.cmake"
|
||||
"F:/RPico/CMake/share/cmake-3.24/Modules/Compiler/OpenWatcom-DetermineCompiler.cmake"
|
||||
"F:/RPico/CMake/share/cmake-3.24/Modules/Compiler/PGI-DetermineCompiler.cmake"
|
||||
"F:/RPico/CMake/share/cmake-3.24/Modules/Compiler/PathScale-DetermineCompiler.cmake"
|
||||
"F:/RPico/CMake/share/cmake-3.24/Modules/Compiler/SCO-DetermineCompiler.cmake"
|
||||
"F:/RPico/CMake/share/cmake-3.24/Modules/Compiler/SunPro-CXX-DetermineCompiler.cmake"
|
||||
"F:/RPico/CMake/share/cmake-3.24/Modules/Compiler/TI-DetermineCompiler.cmake"
|
||||
"F:/RPico/CMake/share/cmake-3.24/Modules/Compiler/VisualAge-CXX-DetermineCompiler.cmake"
|
||||
"F:/RPico/CMake/share/cmake-3.24/Modules/Compiler/Watcom-DetermineCompiler.cmake"
|
||||
"F:/RPico/CMake/share/cmake-3.24/Modules/Compiler/XL-CXX-DetermineCompiler.cmake"
|
||||
"F:/RPico/CMake/share/cmake-3.24/Modules/Compiler/XLClang-CXX-DetermineCompiler.cmake"
|
||||
"F:/RPico/CMake/share/cmake-3.24/Modules/Compiler/zOS-CXX-DetermineCompiler.cmake"
|
||||
"F:/RPico/CMake/share/cmake-3.24/Modules/Internal/FeatureTesting.cmake"
|
||||
"F:/RPico/CMake/share/cmake-3.24/Modules/Platform/Windows-Determine-CXX.cmake"
|
||||
"F:/RPico/CMake/share/cmake-3.24/Modules/Platform/Windows-MSVC-CXX.cmake"
|
||||
"F:/RPico/CMake/share/cmake-3.24/Modules/Platform/Windows-MSVC.cmake"
|
||||
"F:/RPico/CMake/share/cmake-3.24/Modules/Platform/Windows.cmake"
|
||||
|
@ -94,10 +36,6 @@ set(CMAKE_MAKEFILE_OUTPUTS
|
|||
|
||||
# Byproducts of CMake generate step:
|
||||
set(CMAKE_MAKEFILE_PRODUCTS
|
||||
"CMakeFiles/3.24.2/CMakeSystem.cmake"
|
||||
"CMakeFiles/3.24.2/CMakeCXXCompiler.cmake"
|
||||
"CMakeFiles/3.24.2/CMakeRCCompiler.cmake"
|
||||
"CMakeFiles/3.24.2/CMakeCXXCompiler.cmake"
|
||||
"CMakeFiles/CMakeDirectoryInformation.cmake"
|
||||
)
|
||||
|
||||
|
|
|
@ -0,0 +1,2 @@
|
|||
|
||||
set(PIOASM_EXTRA_SOURCE_FILES "" CACHE STRING "Initial cache" FORCE)
|
Loading…
Reference in New Issue
Block a user