MCPcopy Create free account
hub / github.com/MCUdude/MiniCore / check_writable

Method check_writable

avr/libraries/Flash/src/Flash.cpp:59–62  ·  view source on GitHub ↗

* @brief Checks if the microcontroller contains a bootloader that has flash * writing capabilities. It does so by checking if a spesific number is placed * at the very end of the flash memory * * @return true if compatible bootloader is present * @return false if incompatible or no bootloader is present */

Source from the content-addressed store, hash-verified

57 * @return false if incompatible or no bootloader is present
58 */
59bool Flash::check_writable()
60{
61 return ispgmwritepage076_ur();
62}
63
64/**
65 * @brief Clears the RAM buffer

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected