Compare commits
2 commits
stable
...
jedi/dev/s
Author | SHA1 | Date | |
---|---|---|---|
d5e316e0a2 | |||
2816501b1c |
3 changed files with 1168437 additions and 1 deletions
1168411
firmware/livc.s
Normal file
1168411
firmware/livc.s
Normal file
File diff suppressed because it is too large
Load diff
|
@ -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