- 09 Jun, 2020 4 commits
-
-
galjonsfigur authored
Fixes #3089
-
Terry Ellison authored
- Lots of minor but nasty bugfixes to get all tests to run clean - core lua and test suite fixes to allow luac -F to run cleanly against test suite - next tranch to get LFS working - luac.cross -a options plus fixes from feedback - UART fixes and lua.c merge - commit of wip prior to rebaselining against current dev - more tweaks
-
Terry Ellison authored
-
Terry Ellison authored
-
- 21 Jul, 2019 1 commit
-
-
Johny Mattsson authored
The PR removed the bulk of non-newlib headers from the NodeMCU source base. app/libc has now been cut down to the bare minimum overrides to shadow the corresponding functions in the SDK's libc. The old c_xyz.h headerfiles have been nuked in favour of the standard <xyz.h> headers, with a few exceptions over in sdk-overrides. Again, shipping a libc.a without headers is a terrible thing to do. We're still living on a prayer that libc was configured the same was as a default-configured xtensa gcc toolchain assumes it is. That part I cannot do anything about, unfortunately, but it's no worse than it has been before. This enables our source files to compile successfully using the standard header files, and use the typical malloc()/calloc()/realloc()/free(), the strwhatever()s and memwhatever()s. These end up, through macro and linker magic, mapped to the appropriate SDK or ROM functions.
-
- 19 May, 2019 1 commit
-
-
Terry Ellison authored
Force libpp.a into iRAM, and backout redundant IRAM_DATA_ATTR changes
-
- 01 May, 2019 1 commit
-
-
Terry Ellison authored
1st Tranche of SDK 3.0 follow up changes
-
- 05 Apr, 2019 2 commits
-
-
Terry Ellison authored
* Rebaseline firmware to non-OS SDK version 3.0 * Note that SDK version 3.0 introduces the concept of a Flash Partition Table(PT). This is located at Flash offset 0x10000 in our firmware build. * The firmware is now PT aware with both LFS and SPIFFS taking their partition size and location from the PT * A new tool `tools/nodemcu-partition.py` is now used to initialise these data and can also download LFS and SPIFFS images to these partitions.
-
Natalia authored
I2C sw driver with support of multiple buses, Slow, Fast, FastPlus, and user-defined speed selection (#2465) * I2C driver speed-up, i2c.SLOW, i2c.FAST and user-defined speed selection * - Multiple buses (up to 10) with different speeds on each bus - Standard(Slow, 100kHz), Fast(400kHz) and FastPlus(1MHz) modes or an arbitrary clock speed - Sharing SDA line over multiple I²C buses to save available pins - GPIO16 pin can be used as SCL pin, but it does not support clock stretching and selected bus will be limited to FAST speed. * Dynamic memory allocation, error checks, simplification, timing tweaks. * Separated the code of old driver for better compatibility and simplicity * Change of driver interface * Add bus status check in setup(); simplify getDC(); remove unnesessary lines in ACK read/write * Fix for moved doc file and trailing whitespaces
-
- 17 Feb, 2019 1 commit
-
-
sergio authored
-
- 22 Jun, 2018 1 commit
-
-
TerryE authored
-
- 17 Mar, 2018 2 commits
- 28 Feb, 2018 1 commit
-
-
Philip Gladstone authored
-
- 23 Feb, 2018 1 commit
-
-
Philip Gladstone authored
* Fix some subtle timing issues with gpio.pulse * Add the pulse:update method * Allow getstate to work on stopped pulsers * Make gpio.mode(, gpio.OUTPUT) actually set the output mode * Added some more documentation
-
- 13 Feb, 2018 1 commit
-
-
Arnim Läuger authored
-
- 17 Dec, 2017 1 commit
-
-
Philip Gladstone authored
* Add support of counting of interrupts * Update the timestamp when interrupt happens during dispatch. Also clear out interrupts when setting up a new callback
-
- 01 Mar, 2017 1 commit
-
-
Marcel Stör authored
-
- 06 Feb, 2017 1 commit
-
-
Arnim Läuger authored
clean-up endianess handling in spi driver
-
- 10 Jan, 2017 1 commit
-
-
Marcel Stör authored
-
- 04 Jan, 2017 1 commit
-
-
Verne Roberts authored
* add 31250 baud rate for MIDI support * add bitrate to uart_bitrates array for the get operation
-
- 24 Dec, 2016 1 commit
-
-
Philip Gladstone authored
* Check the return code of the read function when doing crypto.fhash so that we don't pass negative lengths to the hashing functions * Fix various assert failures in the LVM arising from rotables. No functional change * Add the gpio interrupt time to the callback (and pass it from the interrupt handler) * Get the PC right in the perf module * Make the headers static in the websocket module * Fix the documentation
-
- 11 Dec, 2016 1 commit
-
-
Philip Gladstone authored
-
- 05 Sep, 2016 1 commit
-
-
Arnim Läuger authored
* Add FatFs * enable BUILD_FATFS for all-module build * push vfs into rest of firmware * align maximum filename length * increase timeout for acmd41 during card initialization * switch from DOS to Unix path semantics chdrive() is substituted by chdir() * update to fatfs R.012a incl. patches 1-6 * add callback for rtc provisioning in file * update docs
-
- 05 Jun, 2016 1 commit
-
-
Arnim Läuger authored
* Add pcm module. * Add network streaming example. * document hw_timer dependency with pwm * Add vu peak callback.
-
- 16 Mar, 2016 1 commit
-
-
devsaurus authored
-
- 02 Mar, 2016 1 commit
-
-
philip authored
-
- 01 Mar, 2016 1 commit
-
-
philip authored
Move get_pin_map() into platform_init
-
- 29 Feb, 2016 1 commit
-
-
philip authored
commit 2c7c3fc3985cc32866e8af496abea9971eaee90a Merge: 9179dae 41022c3b Author: philip <philip@gladstonefamily.net> Date: Sun Feb 28 14:47:47 2016 -0500 Merge remote-tracking branch 'upstream/dev' into rotary_2 commit 9179dae0824e6b35ad09e5113aacc26dc91692c0 Author: philip <philip@gladstonefamily.net> Date: Fri Feb 26 20:53:27 2016 -0500 Review comments commit 67741170e20ccb2b636e701f0664feff2aafbb4c Author: philip <philip@gladstonefamily.net> Date: Fri Feb 26 20:59:49 2016 -0500 Squashed commit of the following: commit 8c9a64731c4a8b9aedda18a399b433b173d2199f Merge: 085935f 19d3c1d5 Author: philip <philip@gladstonefamily.net> Date: Fri Feb 26 20:58:10 2016 -0500 Merge remote-tracking branch 'upstream/dev' into rotarymod Conflicts: app/platform/platform.c commit 085935fc56986d607ff5e05d1663970331959c34 Author: philip <philip@gladstonefamily.net> Date: Fri Feb 26 20:53:27 2016 -0500 Review comment commit 7732fd2d1044f28b8fcf5b0aa0f76d76fe80f449 Author: philip <philip@gladstonefamily.net> Date: Sat Feb 20 12:10:38 2016 -0500 Module to handle rotary decoders Eliminate ROTARY_DEBUG Remove unused file Eliminate a malloc call Cleaned up the register code. Now 0x114 bytes Fix bug with clearing bits in one case Fix the type in the #define name
-
- 25 Feb, 2016 1 commit
-
-
philip authored
Move the level trigger to be after the callback
-
- 18 Feb, 2016 2 commits
- 17 Feb, 2016 1 commit
-
-
TerryE authored
As with the last commit this rolls up the follwowing, but include the various review comments on the PR. - **Documentation changes**. I've added the taks FAQ as a stub new Extension developer FAQ, and split the old FAQ into a Lua Developer FAQ and a Hardware FAQ. - **Tasking I/F**. New `app/task/Makefile`, `app/task/task.c`, `app/include/task/task.h` and `app/Makefile` as per previous commit. Cascade changes to `app/driver/uart.c`, `app/include/driver/uart.h`, `app/user/user_main.c` and `app/modules/node.c` - **GPIO Rework** to `app/modules/gpio.c` and `pin_map.[hc]`, `platform.[hc]` in `app/platform` - **Other Optimisations** Move the `platform_*_exists()` from `app/platform/common.c` to static inline declarations in `platform.h` as this generates faster, smaller code. Move lgc.a routines out of iram0.
-
- 15 Feb, 2016 1 commit
-
-
devsaurus authored
-
- 09 Feb, 2016 1 commit
-
-
devsaurus authored
-
- 22 Jan, 2016 1 commit
-
-
devsaurus authored
-
- 20 Jan, 2016 1 commit
-
-
Johny Mattsson authored
Plus boat-load of fixes to actually make that build.
-
- 21 Dec, 2015 1 commit
-
-
devsaurus authored
-
- 12 Dec, 2015 2 commits
-
-
Johny Mattsson authored
-
Johny Mattsson authored
There was only one genuine use of this macro, all other places were using it only as a necessary compensation. While this was fine as long as it was the first meg of flash which was mapped, it became incorrect and quite dangerous whenever this assumption did not hold (such as when running from the second slot in an OTA scenario). The flash API now uses actual addresses, not translated/mapped addresses, and the users of this API have been adjusted accordingly. This makes the flash API work correctly regardless of what flash mapping is in use. The old macro is still available under the new name INTERNAL_FLASH_MAPPED_ADDRESS, and this is used to detect flash writes where the source is mapped flash (and thus has to be bounced), and to adjust the _flash_used_end linker symbol when used with flassh_find_sector() by the filesystem code. The latter usage is not OTA-proof, but in an OTA scenario the filesystem needs a fixed location anyway and thus would not use this code path.
-