Skip to content
Snippets Groups Projects
Commit 22b40d7e authored by Aapo Torkkeli's avatar Aapo Torkkeli
Browse files

Ex4 more stuff.

parent 85fa9bd2
No related branches found
No related tags found
No related merge requests found
......@@ -169,4 +169,17 @@ int8_t sensor_config() {
}
int main(void) {
uint32_t err_code = spi_config();
if (err_code != NRF_SUCCESS)
{
// error check failed!
}
err_code = sensor_config();
if (err_code != NRF_SUCCESS)
{
// error check failed!
}
}
[BREAKPOINTS]
ForceImpTypeAny = 0
ShowInfoWin = 1
EnableFlashBP = 2
BPDuringExecution = 0
[CFI]
CFISize = 0x00
CFIAddr = 0x00
[CPU]
MonModeVTableAddr = 0xFFFFFFFF
MonModeDebug = 0
MaxNumAPs = 0
LowPowerHandlingMode = 0
OverrideMemMap = 0
AllowSimulation = 1
ScriptFile=""
[FLASH]
CacheExcludeSize = 0x00
CacheExcludeAddr = 0x00
MinNumBytesFlashDL = 0
SkipProgOnCRCMatch = 1
VerifyDownload = 1
AllowCaching = 1
EnableFlashDL = 2
Override = 0
Device="ARM7"
[GENERAL]
WorkRAMSize = 0x00
WorkRAMAddr = 0x00
RAMUsageLimit = 0x00
[SWO]
SWOLogFile=""
[MEM]
RdOverrideOrMask = 0x00
RdOverrideAndMask = 0xFFFFFFFF
RdOverrideAddr = 0xFFFFFFFF
WrOverrideOrMask = 0x00
WrOverrideAndMask = 0xFFFFFFFF
WrOverrideAddr = 0xFFFFFFFF
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment