Compare commits

...

2 commits

Author SHA1 Message Date
d5e316e0a2 stash 2021-09-03 21:05:15 +02:00
2816501b1c stash 2021-09-03 21:05:12 +02:00
3 changed files with 1168437 additions and 1 deletions

1168411
firmware/livc.s Normal file

File diff suppressed because it is too large Load diff

View file

@ -10,6 +10,7 @@
#include <spiflash.h> #include <spiflash.h>
#include <espressif/user_interface.h> #include <espressif/user_interface.h>
#include <esp/uart.h>
#include <espressif/esp_system.h> #include <espressif/esp_system.h>
#include <rboot/rboot.h> #include <rboot/rboot.h>
#include <rboot-ota/rboot-api.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 #define MAX_IMAGE_SIZE 0x100000
struct { struct {

View file

@ -303,4 +303,14 @@ extern "C" void httpd_task(void *pvParameters) {
httpd_init(); httpd_init();
vTaskDelete(nullptr); 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());
};