More module decomposition.

Needs much more on device testing.
This commit is contained in:
Brad Nelson
2023-07-05 22:58:03 -07:00
parent ea1217a162
commit 7b74cddf2d
19 changed files with 420 additions and 231 deletions

View File

@ -22,6 +22,11 @@
#define SIM_HEAP_SIZE (100 * 1024 + 1024 * 1024)
#define OPTIONAL_OLED_VOCABULARY
#define OPTIONAL_CAMERA_VOCABULARY
#define OPTIONAL_BLUETOOTH_VOCABULARY
#define OPTIONAL_SPI_FLASH_VOCABULARY
static cell_t *simulated(cell_t *sp, const char *op);
#define PLATFORM_OPCODE_LIST \
@ -157,9 +162,6 @@ static cell_t *simulated(cell_t *sp, const char *op) {
} else if (op == STR_getMaxAllocHeap) {
*++sp = 80 * 1024;
return sp;
} else if (op == STR_esp_partition_t_size) {
*++sp = 64;
return sp;
} else if (op == STR_IS_XTENSA) {
*++sp = -1;
return sp;