diff --git a/README.md b/README.md index 5235760c..234caeeb 100644 --- a/README.md +++ b/README.md @@ -13,21 +13,9 @@ bbs: [中文论坛Chinese bbs](http://bbs.nodemcu.com)
Tencent QQ group QQ群: 309957875
# Change log -2014-12-26
-fix a bug when readline from uart.
- -2014-12-22
-update to sdk 0.9.4
-opensource
-folder "pre_build" contain pre-build bin firmware.
-folder "lua_examples" contain some pure lua examples.
-folder "lua_modules" contain some pure lua lib based on NodeMCU.
- -2014-12-19
-**Important** Re-arrange GPIO MAP due to development kit.[New Gpio Map](#new_gpio_map)
-Add bitwise operation module.
-Modify net.socket:connect() api to accept domain name, auto DNS. - +2014-12-30
+modify uart.on api, when run_input set to 0, uart.on now can read raw data from uart.
+serial input now accept non-ascii chars [more change log](https://github.com/nodemcu/nodemcu-firmware/wiki/nodemcu_api_en#change_log)
[更多变更日志](https://github.com/nodemcu/nodemcu-firmware/wiki/nodemcu_api_cn#change_log) diff --git a/app/platform/pin_map.c b/app/platform/pin_map.c index a3f64859..21b35b8d 100644 --- a/app/platform/pin_map.c +++ b/app/platform/pin_map.c @@ -20,17 +20,17 @@ GPIO_INT_TYPE pin_int_type[GPIO_PIN_NUM] = { GPIO_PIN_INTR_DISABLE, GPIO_PIN_INTR_DISABLE, GPIO_PIN_INTR_DISABLE, GPIO_PIN_INTR_DISABLE}; #endif #else -uint32_t pin_mux[GPIO_PIN_NUM] = {PAD_XPD_DCDC_CONF, PERIPHS_IO_MUX_GPIO4_U, PERIPHS_IO_MUX_GPIO5_U, PERIPHS_IO_MUX_GPIO0_U, +uint32_t pin_mux[GPIO_PIN_NUM] = {PAD_XPD_DCDC_CONF, PERIPHS_IO_MUX_GPIO5_U, PERIPHS_IO_MUX_GPIO4_U, PERIPHS_IO_MUX_GPIO0_U, PERIPHS_IO_MUX_GPIO2_U, PERIPHS_IO_MUX_MTMS_U, PERIPHS_IO_MUX_MTDI_U, PERIPHS_IO_MUX_MTCK_U, PERIPHS_IO_MUX_MTDO_U, PERIPHS_IO_MUX_U0RXD_U, PERIPHS_IO_MUX_U0TXD_U, PERIPHS_IO_MUX_SD_DATA2_U, PERIPHS_IO_MUX_SD_DATA3_U }; -uint8_t pin_num[GPIO_PIN_NUM] = {16, 4, 5, 0, +uint8_t pin_num[GPIO_PIN_NUM] = {16, 5, 4, 0, 2, 14, 12, 13, 15, 3, 1, 9, 10}; -uint8_t pin_func[GPIO_PIN_NUM] = {0, FUNC_GPIO4, FUNC_GPIO5, FUNC_GPIO0, +uint8_t pin_func[GPIO_PIN_NUM] = {0, FUNC_GPIO5, FUNC_GPIO4, FUNC_GPIO0, FUNC_GPIO2, FUNC_GPIO14, FUNC_GPIO12, FUNC_GPIO13, FUNC_GPIO15, FUNC_GPIO3, FUNC_GPIO1, FUNC_GPIO9, FUNC_GPIO10}; diff --git a/pre_build/0.9.4/512k-flash/nodemcu_512k_20141226.bin b/pre_build/0.9.4/512k-flash/nodemcu_512k_20141226.bin new file mode 100644 index 00000000..1cd04c3f Binary files /dev/null and b/pre_build/0.9.4/512k-flash/nodemcu_512k_20141226.bin differ diff --git a/pre_build/0.9.4/512k-flash/nodemcu_512k_latest.bin b/pre_build/0.9.4/512k-flash/nodemcu_512k_latest.bin index 1cd04c3f..69f33a9c 100644 Binary files a/pre_build/0.9.4/512k-flash/nodemcu_512k_latest.bin and b/pre_build/0.9.4/512k-flash/nodemcu_512k_latest.bin differ diff --git a/pre_build/latest/nodemcu_512k_latest.bin b/pre_build/latest/nodemcu_512k_latest.bin index 1cd04c3f..69f33a9c 100644 Binary files a/pre_build/latest/nodemcu_512k_latest.bin and b/pre_build/latest/nodemcu_512k_latest.bin differ