вернула на исходную

This commit is contained in:
KLASSENTS 2025-05-30 11:45:05 +07:00
parent 8d9cca1503
commit 44faa66797
2 changed files with 0 additions and 12 deletions

View File

@ -8,9 +8,4 @@ extern volatile bool use_error_messages;
// function for init called after setup() // function for init called after setup()
void post_init(void); void post_init(void);
void updateCacheLimit(void);
#include "stdint.h"
uint32_t getCLimit(void);
#endif /* _BOARD_H_ */ #endif /* _BOARD_H_ */

View File

@ -7,16 +7,9 @@
void initVariant() __attribute__((weak)); void initVariant() __attribute__((weak));
void initVariant() { } void initVariant() { }
#include "xprintf.h"
extern "C" int main(void) __attribute__((weak)); extern "C" int main(void) __attribute__((weak));
int main() int main()
{ {
Serial.begin(9600);
xprintf("old_climit = 0x%08lX\n", getCLimit());
updateCacheLimit();
xprintf("new_climit = 0x%08lX\n", getCLimit());
initVariant(); // for freeRTOS initVariant(); // for freeRTOS
setup(); setup();
post_init(); post_init();