forked from j3d1/fiatlux
stash
This commit is contained in:
parent
09452ef7ab
commit
2816501b1c
2 changed files with 26 additions and 1 deletions
|
@ -10,6 +10,7 @@
|
|||
#include <spiflash.h>
|
||||
|
||||
#include <espressif/user_interface.h>
|
||||
#include <esp/uart.h>
|
||||
#include <espressif/esp_system.h>
|
||||
#include <rboot/rboot.h>
|
||||
#include <rboot-ota/rboot-api.h>
|
||||
|
@ -48,6 +49,20 @@ void system_init_config() {
|
|||
}
|
||||
}
|
||||
|
||||
int fputc(int ch, FILE *f)
|
||||
{
|
||||
uart_putc(0, '0');
|
||||
uart_putc(0, ch);
|
||||
return ch;
|
||||
}
|
||||
|
||||
int puts (const char *str)
|
||||
{
|
||||
char c;
|
||||
while((c=*str++))fputc(c,0);
|
||||
return str;
|
||||
}
|
||||
|
||||
#define MAX_IMAGE_SIZE 0x100000
|
||||
|
||||
struct {
|
||||
|
|
|
@ -304,3 +304,13 @@ extern "C" void httpd_task(void *pvParameters) {
|
|||
|
||||
vTaskDelete(nullptr);
|
||||
}
|
||||
|
||||
#include <stdio.h>
|
||||
#include <espressif/esp_common.h>
|
||||
|
||||
void test(){
|
||||
|
||||
printf("foo\n");
|
||||
printf("Warning: WiFi config, sysparam not initialized\n");
|
||||
printf("SDK version: %s\n", sdk_system_get_sdk_version());
|
||||
};
|
Loading…
Reference in a new issue