-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
522ce21
commit fa874c8
Showing
731 changed files
with
128,334 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# The following lines of boilerplate have to be in your project's CMakeLists | ||
# in this exact order for cmake to work correctly | ||
cmake_minimum_required(VERSION 3.5) | ||
|
||
include($ENV{IDF_PATH}/tools/cmake/project.cmake) | ||
project(uart_async_rxtxtasks) |
Binary file added
BIN
+395 KB
CodeDB/LittlevGL.vgdbproj-Debug.0001/GlobalCache/000/DerivedRelations.dat
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
This file was last opened by PID 13668 |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
This file was last opened by PID 11340 |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
This file was last opened by PID 18348 |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
|
||
Microsoft Visual Studio Solution File, Format Version 12.00 | ||
# Visual Studio Version 16 | ||
VisualStudioVersion = 16.0.29509.3 | ||
MinimumVisualStudioVersion = 10.0.40219.1 | ||
Project("{803FD0C6-D64E-4E16-9DC3-1DAEC859A3D2}") = "LittlevGL", "LittlevGL.vgdbproj", "{7F2229F8-A3A4-4310-B990-D81A9F80E7B3}" | ||
EndProject | ||
Global | ||
GlobalSection(SolutionConfigurationPlatforms) = preSolution | ||
Debug|VisualGDB = Debug|VisualGDB | ||
MinSizeRel|VisualGDB = MinSizeRel|VisualGDB | ||
Release|VisualGDB = Release|VisualGDB | ||
RelWithDebInfo|VisualGDB = RelWithDebInfo|VisualGDB | ||
EndGlobalSection | ||
GlobalSection(ProjectConfigurationPlatforms) = postSolution | ||
{7F2229F8-A3A4-4310-B990-D81A9F80E7B3}.Debug|VisualGDB.ActiveCfg = Debug|VisualGDB | ||
{7F2229F8-A3A4-4310-B990-D81A9F80E7B3}.Debug|VisualGDB.Build.0 = Debug|VisualGDB | ||
{7F2229F8-A3A4-4310-B990-D81A9F80E7B3}.MinSizeRel|VisualGDB.ActiveCfg = MinSizeRel|VisualGDB | ||
{7F2229F8-A3A4-4310-B990-D81A9F80E7B3}.MinSizeRel|VisualGDB.Build.0 = MinSizeRel|VisualGDB | ||
{7F2229F8-A3A4-4310-B990-D81A9F80E7B3}.Release|VisualGDB.ActiveCfg = Release|VisualGDB | ||
{7F2229F8-A3A4-4310-B990-D81A9F80E7B3}.Release|VisualGDB.Build.0 = Release|VisualGDB | ||
{7F2229F8-A3A4-4310-B990-D81A9F80E7B3}.RelWithDebInfo|VisualGDB.ActiveCfg = RelWithDebInfo|VisualGDB | ||
{7F2229F8-A3A4-4310-B990-D81A9F80E7B3}.RelWithDebInfo|VisualGDB.Build.0 = RelWithDebInfo|VisualGDB | ||
EndGlobalSection | ||
GlobalSection(SolutionProperties) = preSolution | ||
HideSolutionNode = FALSE | ||
EndGlobalSection | ||
GlobalSection(ExtensibilityGlobals) = postSolution | ||
SolutionGuid = {311CB054-BB23-4B71-A20E-B6EA4A9AF20F} | ||
EndGlobalSection | ||
EndGlobal |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,189 @@ | ||
<?xml version="1.0"?> | ||
<VisualGDBProjectSettings2 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> | ||
<ConfigurationName>Debug</ConfigurationName> | ||
<Project xsi:type="com.visualgdb.project.external.esp-idf"> | ||
<CustomSourceDirectories> | ||
<Directories /> | ||
<PathStyle>Unknown</PathStyle> | ||
</CustomSourceDirectories> | ||
<ProjectModeSettings> | ||
<ProjectGUID>43249735-7ae1-4562-9062-503a7d1daf03</ProjectGUID> | ||
<GroupSourcesByTypes>true</GroupSourcesByTypes> | ||
<GroupSourcesByPaths>true</GroupSourcesByPaths> | ||
<HeaderScanMode>SourceDirs</HeaderScanMode> | ||
</ProjectModeSettings> | ||
</Project> | ||
<Build xsi:type="com.visualgdb.build.cmake"> | ||
<ToolchainID> | ||
<ID>com.visualgdb.xtensa-esp32-elf</ID> | ||
<Version> | ||
<GCC>5.2.0</GCC> | ||
<GDB>7.10</GDB> | ||
<Revision>16</Revision> | ||
</Version> | ||
</ToolchainID> | ||
<RelativeSourceDirectory /> | ||
<ConfigurationType>DEBUG</ConfigurationType> | ||
<BinaryDirectory>VisualGDB/$(ConfigurationName)</BinaryDirectory> | ||
<MakeCommandTemplate> | ||
<SkipWhenRunningCommandList>false</SkipWhenRunningCommandList> | ||
<Command>$(VISUALGDB_DIR)/ninja.exe</Command> | ||
<WorkingDirectory>$(BuildDir)</WorkingDirectory> | ||
<BackgroundMode xsi:nil="true" /> | ||
</MakeCommandTemplate> | ||
<CMakeCommand> | ||
<SkipWhenRunningCommandList>false</SkipWhenRunningCommandList> | ||
<Command>$(SYSPROGS_CMAKE_PATH)</Command> | ||
<BackgroundMode xsi:nil="true" /> | ||
</CMakeCommand> | ||
<UpdateSourcesInCMakeFile>true</UpdateSourcesInCMakeFile> | ||
<ExportCompileCommands>false</ExportCompileCommands> | ||
<DisableToolchainFile>false</DisableToolchainFile> | ||
<CMakeMakefileType>Ninja</CMakeMakefileType> | ||
<DeployAsRoot>false</DeployAsRoot> | ||
<CMakeCleanMode>RemoveBuildDirectory</CMakeCleanMode> | ||
<ProjectModeSettings> | ||
<ProjectItemSettings> | ||
<GroupSourcesByTypes>true</GroupSourcesByTypes> | ||
<GroupSourcesByPaths>true</GroupSourcesByPaths> | ||
<GroupTargetsByPaths>true</GroupTargetsByPaths> | ||
<AutoRefreshProject>true</AutoRefreshProject> | ||
<SortTargetsByName>true</SortTargetsByName> | ||
<UseCMakeUpToDateCheck>false</UseCMakeUpToDateCheck> | ||
<RedundantTargetMode>HideOuterProjectTargets</RedundantTargetMode> | ||
<SortSourcesByName>true</SortSourcesByName> | ||
<BuildAllTargetsInSubdir>false</BuildAllTargetsInSubdir> | ||
<FoldSingleItemPathLevels>true</FoldSingleItemPathLevels> | ||
</ProjectItemSettings> | ||
<TargetSpecificSettings /> | ||
<SetLDLibraryPathFromDependentArtifacts>true</SetLDLibraryPathFromDependentArtifacts> | ||
<ProjectGUID>7f2229f8-a3a4-4310-b990-d81a9f80e7b3</ProjectGUID> | ||
<VirtualFolders /> | ||
<ConfigurationNameCase>Upper</ConfigurationNameCase> | ||
<DefaultHeaderDiscoveryMode>HeaderDirectoryAndSubdirectories</DefaultHeaderDiscoveryMode> | ||
<ESPIDFExtension> | ||
<IDFCheckout> | ||
<Version>release/v3.2</Version> | ||
<Subdirectory>esp-idf/v3.2</Subdirectory> | ||
<Type>ESPIDF</Type> | ||
</IDFCheckout> | ||
</ESPIDFExtension> | ||
</ProjectModeSettings> | ||
</Build> | ||
<CustomBuild> | ||
<PreSyncActions /> | ||
<PreBuildActions /> | ||
<PostBuildActions /> | ||
<PreCleanActions /> | ||
<PostCleanActions /> | ||
</CustomBuild> | ||
<CustomDebug> | ||
<PreDebugActions /> | ||
<PostDebugActions /> | ||
<DebugStopActions /> | ||
<BreakMode>Default</BreakMode> | ||
</CustomDebug> | ||
<CustomShortcuts> | ||
<Shortcuts /> | ||
<ShowMessageAfterExecuting>true</ShowMessageAfterExecuting> | ||
</CustomShortcuts> | ||
<UserDefinedVariables /> | ||
<ImportedPropertySheets /> | ||
<CodeSense> | ||
<Enabled>Unknown</Enabled> | ||
<ExtraSettings> | ||
<HideErrorsInSystemHeaders>true</HideErrorsInSystemHeaders> | ||
<SupportLightweightReferenceAnalysis>true</SupportLightweightReferenceAnalysis> | ||
<CheckForClangFormatFiles>true</CheckForClangFormatFiles> | ||
<FormattingEngine xsi:nil="true" /> | ||
</ExtraSettings> | ||
<CodeAnalyzerSettings> | ||
<Enabled>false</Enabled> | ||
</CodeAnalyzerSettings> | ||
</CodeSense> | ||
<Configurations> | ||
<VisualGDBConfiguration> | ||
<Name>Debug</Name> | ||
<BuildSettingsExtension xsi:type="com.visualgdb.build.external.esp-idf.extension"> | ||
<OutputSubdirectory>Debug</OutputSubdirectory> | ||
<SDKConfigFile>sdkconfig-debug</SDKConfigFile> | ||
<EnableVerboseBuild>false</EnableVerboseBuild> | ||
</BuildSettingsExtension> | ||
</VisualGDBConfiguration> | ||
<VisualGDBConfiguration> | ||
<Name>Release</Name> | ||
<BuildSettingsExtension xsi:type="com.visualgdb.build.external.esp-idf.extension"> | ||
<OutputSubdirectory>Release</OutputSubdirectory> | ||
<SDKConfigFile>sdkconfig-release</SDKConfigFile> | ||
<EnableVerboseBuild>false</EnableVerboseBuild> | ||
</BuildSettingsExtension> | ||
</VisualGDBConfiguration> | ||
</Configurations> | ||
<ProgramArgumentsSuggestions /> | ||
<Debug xsi:type="com.visualgdb.debug.embedded"> | ||
<AdditionalStartupCommands /> | ||
<AdditionalGDBSettings> | ||
<Features> | ||
<DisableAutoDetection>false</DisableAutoDetection> | ||
<UseFrameParameter>false</UseFrameParameter> | ||
<SimpleValuesFlagSupported>false</SimpleValuesFlagSupported> | ||
<ListLocalsSupported>false</ListLocalsSupported> | ||
<ByteLevelMemoryCommandsAvailable>false</ByteLevelMemoryCommandsAvailable> | ||
<ThreadInfoSupported>false</ThreadInfoSupported> | ||
<PendingBreakpointsSupported>false</PendingBreakpointsSupported> | ||
<SupportTargetCommand>false</SupportTargetCommand> | ||
<ReliableBreakpointNotifications>false</ReliableBreakpointNotifications> | ||
</Features> | ||
<EnableSmartStepping>false</EnableSmartStepping> | ||
<FilterSpuriousStoppedNotifications>false</FilterSpuriousStoppedNotifications> | ||
<ForceSingleThreadedMode>false</ForceSingleThreadedMode> | ||
<UseAppleExtensions>false</UseAppleExtensions> | ||
<CanAcceptCommandsWhileRunning>false</CanAcceptCommandsWhileRunning> | ||
<MakeLogFile>false</MakeLogFile> | ||
<IgnoreModuleEventsWhileStepping>true</IgnoreModuleEventsWhileStepping> | ||
<UseRelativePathsOnly>false</UseRelativePathsOnly> | ||
<ExitAction>None</ExitAction> | ||
<DisableDisassembly>false</DisableDisassembly> | ||
<ExamineMemoryWithXCommand>false</ExamineMemoryWithXCommand> | ||
<StepIntoNewInstanceEntry>app_main</StepIntoNewInstanceEntry> | ||
<ExamineRegistersInRawFormat>true</ExamineRegistersInRawFormat> | ||
<DisableSignals>false</DisableSignals> | ||
<EnableAsyncExecutionMode>false</EnableAsyncExecutionMode> | ||
<EnableNonStopMode>false</EnableNonStopMode> | ||
<MaxBreakpointLimit>0</MaxBreakpointLimit> | ||
</AdditionalGDBSettings> | ||
<DebugMethod> | ||
<ID>gdbstub</ID> | ||
<InterfaceID>com.sysprogs.espxx.bootloader</InterfaceID> | ||
<InterfaceSerialNumber>0001</InterfaceSerialNumber> | ||
<Configuration xsi:type="com.visualgdb.edp.espxx.settings.gdbstub.esp32"> | ||
<COMPort>COM3</COMPort> | ||
<StubBaudRate>74880</StubBaudRate> | ||
<BootloaderBaudRate>115200</BootloaderBaudRate> | ||
<BootloaderResetDelay>50</BootloaderResetDelay> | ||
<BootloaderActivationSequence>!DTR;RTS;SLEEP;DTR;!RTS;SLEEP;!DTR;SLEEP</BootloaderActivationSequence> | ||
<ProgramMode>Enabled</ProgramMode> | ||
<SuppressResetConfirmation>false</SuppressResetConfirmation> | ||
<PatchBootloader>true</PatchBootloader> | ||
<FLASHSettings> | ||
<Size>size2MB</Size> | ||
<Frequency>freq40M</Frequency> | ||
<Mode>DIO</Mode> | ||
</FLASHSettings> | ||
</Configuration> | ||
</DebugMethod> | ||
<AutoDetectRTOS>true</AutoDetectRTOS> | ||
<SemihostingSupport>Auto</SemihostingSupport> | ||
<SemihostingPollingDelay>0</SemihostingPollingDelay> | ||
<StepIntoEntryPoint>false</StepIntoEntryPoint> | ||
<ReloadFirmwareOnReset>false</ReloadFirmwareOnReset> | ||
<ValidateEndOfStackAddress>true</ValidateEndOfStackAddress> | ||
<StopAtEntryPoint>false</StopAtEntryPoint> | ||
<EnableVirtualHalts>false</EnableVirtualHalts> | ||
<DynamicAnalysisSettings /> | ||
<EndOfStackSymbol>_estack</EndOfStackSymbol> | ||
<TimestampProviderTicksPerSecond>0</TimestampProviderTicksPerSecond> | ||
<KeepConsoleAfterExit>false</KeepConsoleAfterExit> | ||
<CheckInterfaceDrivers>true</CheckInterfaceDrivers> | ||
</Debug> | ||
</VisualGDBProjectSettings2> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# | ||
# This is a project Makefile. It is assumed the directory this Makefile resides in is a | ||
# project subdirectory. | ||
# | ||
|
||
PROJECT_NAME := uart_async_rxtxtasks | ||
|
||
include $(IDF_PATH)/make/project.mk |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
UART asynchronous example, that uses separate RX and TX tasks | ||
============================================================= | ||
|
||
Starts two FreeRTOS tasks: | ||
- One task for transmitting 'Hello world' via the UART. | ||
- One task for receiving from the UART. | ||
|
||
If you'd like to see your ESP32 receive something, simply short | ||
TXD_PIN and RXD_PIN. By doing this data transmitted on TXD_PIN will | ||
be received on RXD_PIN. See the definitions of TXD_PIN and RXD_PIN | ||
in ./main/uart_async_rxtxtasks_main.c. | ||
|
||
The output for such configuration will look as follows: | ||
|
||
``` | ||
I (3261) TX_TASK: Wrote 11 bytes | ||
I (4261) RX_TASK: Read 11 bytes: 'Hello world' | ||
I (4261) RX_TASK: 0x3ffb821c 48 65 6c 6c 6f 20 77 6f 72 6c 64 |Hello world| | ||
... | ||
``` | ||
The third line above prints received data in hex format, that comes handy to display non printable data bytes. |
Oops, something went wrong.