62 Commits

Author SHA1 Message Date
Gordon Williams
c660ebe1bc Fixed assert fail when building non-release builds on many boards - #2376 2023-06-06 12:18:59 +01:00
Gordon Williams
4a7d30f4be Bangle.js: Add 'graphicsInternal' to make Graphics independent of JS vars. Terminal is now useful earlier, and can display softdevice errors 2022-01-31 16:35:38 +00:00
MaBecker
306242e255 remove hardcoded board name
replace PC_BOARD_ID with ESP_COMBINED_SIZE
2020-07-24 10:05:36 +02:00
MaBecker
2d50160436 support 1MB boards
- add make flags FLASH_1MB and NO_FOTA
- add SPI1 labels to ESP8266
- fix some compiler warnings
2020-02-10 10:19:13 +01:00
Mark Becker
3bc2904060
replace fixed value
160 can be replaced by CLOCK_SPEED_MHZ
2018-12-24 13:19:12 +01:00
MaBecker
c16ccac2e5 Remove HACK to get around SDK 1.4 bug (fix #1568) 2018-11-15 16:16:30 +01:00
Mark Becker
e03ab5ace8
release heap used by logDebug(true) (fix #1508) 2018-10-12 22:54:16 +02:00
Gordon Williams
6ddb231172 minor refactoring to allow differing JsVar sizes to be used at boot 2018-06-01 14:35:32 +01:00
MaBecker
6eba176637 rearange rf_cal_sector (fix #1294)
* sector map for last 5 sectors of flash: ABCCC
   A : rf cal
   B : rf init data
   C : sdk parameters
* change last FlashArea
* update ESP8266_BOARD
2018-05-10 17:35:40 +02:00
MaBecker
7893b46a76 rewrite wifi.save and restore to use the storage lib (imp #1380)
* use .wificfg to store wifi credentials
* free wifi save page and add to save_code
* remove flash page 0x77000 and add to flash_available
* move wifi restore after JavaScript environment is up and running
2018-05-08 02:55:18 +02:00
MaBecker
9d51800759 capsulate gdb with ifdef DEBUG (fix #1378) 2018-04-26 19:50:24 +02:00
MaBecker
ae3a89f31a ESP8266: Remove osprintf for RELEASE 2017-09-15 10:40:17 +02:00
MaBecker
b41210ba77 extend firmware size to max 896KB for ESP8266 4MB
shared by @pedro-es

* add FLASH_4MB_C1 : (1024KB+1024KB)
* add new esptool.py ET_FS format
* add ESP_FLASH_MAX and ET_DEFAULTS  for all ESP boards
2017-02-26 18:47:59 +01:00
MaBecker
03709a8afe add type cases to get ride of compiler warnings 2017-02-26 13:15:14 +01:00
Thorsten von Eicken
056d69acae esp8266: explicitly set the RF calibration at boot for SDK 1.5.4.1 2016-07-25 09:27:42 -07:00
Thorsten von Eicken
ed11f79662 ESP8266 SDK 1.5.4 patch 1 2016-07-08 19:09:31 -07:00
Gordon Williams (u36)
8d54bbb487 improvements now memoryArea is usable 2016-05-11 16:53:03 +01:00
Thorsten von Eicken
2c8c866f1b esp8266: exception code cleanup; jswsym code cleanup; eliminate compiler warnings 2016-04-17 09:46:32 -07:00
Thorsten von Eicken
30aae54c80 esp8266: add exception handler to print stack dump 2016-04-16 23:26:17 -07:00
Gordon Williams
9781bacee8 Remove Espruino's built-in strcpy/etc
Remove Espruino's built-in maths
            Add basic Taylor series sin and atan for when we're trying to save memory
2016-03-04 12:37:35 +00:00
Gordon Williams
9b508fb43f remove beta note 2016-02-25 14:29:40 +00:00
Gordon Williams
cb0232b70e Added remark about Pin() being deprecated
Added NodeMCU.Dx constants
Added Serial2 definition
Allowed Serial1.on('data'/etc - when console not on Serial1
Added software PWM (just use by default as no hardware)
2016-02-18 16:26:21 +00:00
Thorsten von Eicken
d8dec28a7c fix crash on exception #772; misc tweaks 2015-12-30 12:22:02 -08:00
Thorsten von Eicken
9aa07bc92d add sntp 2015-12-24 12:49:55 -08:00
Thorsten von Eicken
e5f9db8bd3 first cut at Wifi console 2015-12-19 18:39:12 -08:00
Thorsten von Eicken
9887c6e1e6 add in-memory debug log 2015-12-18 21:57:37 -08:00
Thorsten von Eicken
06c389ad45 tweak esp8266 wifi reset and saving 2015-12-05 08:58:39 -08:00
Thorsten von Eicken
6f23e1e818 added esp8266 network config save to flash; added crc32 function 2015-12-01 00:22:55 -08:00
Thorsten von Eicken
d089730ecb moved wrap_esp8266 stuff from networking to target 2015-11-29 09:49:30 -08:00
Thorsten von Eicken
89d8c09b7e esp8266: eliminate esp8266wifi class, refacor wifi class 2015-11-29 01:06:49 -08:00
Thorsten von Eicken
1be478dd32 esp8266: move lots of string constants to flash 2015-11-23 17:42:10 -08:00
Thorsten von Eicken
693a118a92 clean-up for PR 2015-11-20 22:57:44 -08:00
Thorsten von Eicken
60a16983ab switch to a single board build 2015-11-18 23:29:16 -08:00
Neil Kolban
36a898a528 #605 Removal of redundant source files. 2015-11-13 22:32:01 -06:00
Neil Kolban
f7929aa47a #702 - Design and implementation of default baud rate. 2015-11-11 16:42:30 -06:00
Neil Kolban
71d19752ee Changes requested for #606. 2015-11-10 10:56:17 -06:00
Neil Kolban
ba50c57e41 Merge remote-tracking branch 'refs/remotes/espruino/master' 2015-10-19 22:06:03 -05:00
Gordon Williams
d722eaf786 Merge branch 'master' of github.com:espruino/Espruino 2015-10-19 14:06:16 +01:00
Gordon Williams
5771a3fcb9 Store line numbers for functions (via Esc [ 1234 d escape code before decl) and use in debug + stack traces 2015-10-19 14:06:09 +01:00
Neil Kolban
b866ab37d1 Fix for #673. Assert through not freeing currentTxBuffer. 2015-10-18 17:45:44 -05:00
Thorsten von Eicken
512de5d5bb esp8266 uart clean-up 2015-10-15 22:02:08 -07:00
Thorsten von Eicken
b4086f4ddd fix esp8266 debug printfs 2015-10-15 12:47:46 -07:00
Thorsten von Eicken
34512a7223 merge master into tve/ota 2015-10-11 14:07:56 -07:00
Thorsten von Eicken
229097c520 add esp8266 OTA firmware update 2015-10-11 14:02:59 -07:00
Neil Kolban
da89887b29 Addition of copyright commentary. #632. 2015-10-08 12:51:21 -05:00
Neil Kolban
15248475cd Changed all tab characters to two spaces as per #600. 2015-10-06 17:46:11 -05:00
Neil Kolban
85f70a2930 Removal of debug messages that were being written periodically.
Debug messages had been left in the code that were being logged at a
time interval.  These have been commented out to make debug log more
consumable.
2015-10-06 08:29:37 -05:00
Neil Kolban
9774f7f544 Conversion to Unix EOL markers. Issue #600. 2015-10-05 23:49:31 -05:00
Neil Kolban
6dcfc779f8 Removed all the \brief additions. Issue #600. 2015-10-05 23:41:01 -05:00
Thorsten von Eicken
516ef3cef7 Fix merge issues;
Partially address #602, SDK1.4 is usable now;
2015-10-03 23:18:35 -07:00