Skip to content

Commit

Permalink
Experimenting code changes
Browse files Browse the repository at this point in the history
  • Loading branch information
josesimoes committed Jun 11, 2024
1 parent 6633aa4 commit 7dab551
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions targets/netcore/nanoFramework.nanoCLR/nanoCLR_native.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -99,23 +99,23 @@ void nanoCLR_Run(NANO_CLR_SETTINGS nanoClrSettings)
VERSION_REVISION);

// initialize nanoHAL
nanoHAL_Initialize();
//nanoHAL_Initialize();

// take care of block storage here as we are RAM based
BlockStorageList_Initialize();
BlockStorage_AddDevices();
BlockStorageList_InitializeDevices();
//// take care of block storage here as we are RAM based
//BlockStorageList_Initialize();
//BlockStorage_AddDevices();
//BlockStorageList_InitializeDevices();

CLR_SETTINGS clrSettings;
ZeroMemory(&clrSettings, sizeof(CLR_SETTINGS));
//CLR_SETTINGS clrSettings;
//ZeroMemory(&clrSettings, sizeof(CLR_SETTINGS));

clrSettings.MaxContextSwitches = nanoClrSettings.MaxContextSwitches;
clrSettings.WaitForDebugger = nanoClrSettings.WaitForDebugger;
clrSettings.EnterDebuggerLoopAfterExit = nanoClrSettings.EnterDebuggerLoopAfterExit;
clrSettings.PerformGarbageCollection = nanoClrSettings.PerformGarbageCollection;
clrSettings.PerformHeapCompaction = nanoClrSettings.PerformHeapCompaction;
//clrSettings.MaxContextSwitches = nanoClrSettings.MaxContextSwitches;
//clrSettings.WaitForDebugger = nanoClrSettings.WaitForDebugger;
//clrSettings.EnterDebuggerLoopAfterExit = nanoClrSettings.EnterDebuggerLoopAfterExit;
//clrSettings.PerformGarbageCollection = nanoClrSettings.PerformGarbageCollection;
//clrSettings.PerformHeapCompaction = nanoClrSettings.PerformHeapCompaction;

ClrStartup(clrSettings);
//ClrStartup(clrSettings);

#if !defined(BUILD_RTM)
CLR_Debug::Printf("Exiting.\r\n");
Expand Down

0 comments on commit 7dab551

Please sign in to comment.